diff options
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/yt/ChangeLog | 9 | ||||
-rw-r--r-- | sci-visualization/yt/Manifest | 25 | ||||
-rw-r--r-- | sci-visualization/yt/files/yt-3.0-missing_package.patch | 12 | ||||
-rw-r--r-- | sci-visualization/yt/metadata.xml | 15 | ||||
-rw-r--r-- | sci-visualization/yt/yt-3.0.ebuild | 50 |
5 files changed, 111 insertions, 0 deletions
diff --git a/sci-visualization/yt/ChangeLog b/sci-visualization/yt/ChangeLog new file mode 100644 index 000000000000..073737b61355 --- /dev/null +++ b/sci-visualization/yt/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-visualization/yt +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/ChangeLog,v 1.1 2014/08/26 21:34:51 xarthisius Exp $ + +*yt-3.0 (26 Aug 2014) + + 26 Aug 2014; Kacper Kowalik <xarthisius@gentoo.org> + +files/yt-3.0-missing_package.patch, +metadata.xml, +yt-3.0.ebuild: + Initial import, ebuild written by me diff --git a/sci-visualization/yt/Manifest b/sci-visualization/yt/Manifest new file mode 100644 index 000000000000..025354f32ebd --- /dev/null +++ b/sci-visualization/yt/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX yt-3.0-missing_package.patch 579 SHA256 3f7c71c6ea3d489f19c936f69edfb4be1f98696f54a72578fa31f75852599960 SHA512 febc01696b9595b1fa4c36787d0e08536054ddc9264ec8787ef016257bf135a5c5a92f702211419f99c27dffefdd2d631ec592d65970496e1e8e5e303f487d48 WHIRLPOOL ead10ab610ac48ace3eac33ff9b16d3178d6f5e5f124a243da6d4355b7b9d3cbbf3ff85c946454af9181a7990406554c4ecdbc4dab652e773423d6d122e75e6f +DIST yt-3.0.tar.gz 4067018 SHA256 0aa5ff7ced028b39bf3db823a9f706fdb4084175a2f6680786befff677ea3915 SHA512 c859587642d39b10ae533e5fcaf337d15a8eeb09a7f2833bb77878ff7f4926448496fca80d6574591f9ddfe75032e9afbc7e6357443c3db6e12d2e9cd6ad87b2 WHIRLPOOL f57a7d0de1265b9ac97ad63fcb198827b89dc5326a512d6178ebfed4a00ae333648e3aadb35f4c23ce242c0efb1b5e6e4ba611b8414ade0d80de317f96a7470f +EBUILD yt-3.0.ebuild 1379 SHA256 5403b39e6c308872bf355d44cdf3dd9a5864064074079e8cd25c59b82f55fdb0 SHA512 a2b39b179721e6c89b06a81d57d349e96da709ab645eef888eaf125b6f185fd8ca31fa4d5795e3902091f6e66d273270740f84d1d05d06f9ee273945c37c39f6 WHIRLPOOL cb5da02e4628a4d8696e72ea5f8dd24da6e077742378b976ffc01223aa20de30be07fea7be353ffefc9134d1e6c1b27b81bac51c39ac1483b231e43bcbac452b +MISC ChangeLog 403 SHA256 6f95af39d4798cf85b95f7a7a1db88543440c9cc8057138ee72ca8a161aa9ce8 SHA512 acce8b5e20f3abd597000d1fc419c21d76d1b6d89be5166e53816e267dcc06c24fa9d98c7e4f7e92e8a2b9d322260a78c7dd1b1ba9b93336a931e06694db13a8 WHIRLPOOL 71f65b59d3374393b512bb962c11881f1932697db0e73a382ab5fc803c8b43605b8957467e993b380b13488c0eaef7259a77baa19bbfce1eacaa676cd500966a +MISC metadata.xml 632 SHA256 4d2fc30f4e43dc82c67627cf2e9af0227e0d04172f01b4579fcce32179e640c6 SHA512 2612a06fa439939658c1ab95fe6e96cd843cd1b71ed4fe92efadb93ff15e356348396cdc55a5a62d46f763efcb9850e23c092304709f8236eceb67e7b4ddd22e WHIRLPOOL a8e1d77fc158ba7c5162584abe85255ad828685a91dbbce7461de1bfb45bbf882283a64996573f6886eca057900e075a60127a09a4fe7ad1a22b2ce83e9bc830 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJT/Pz4AAoJEF0huFKJUZL5l5IP+wXXg+DLiectzHPWVUI9lFY+ +Xsbf8vdFCaBjeFBSdQg9JZL8SvBKXT9cB06ycJcz7knyQ4NuXpbtCN49GxxCZz/p +jFUzM8asNmrxxuACiQ+A+XUGFndvST5MKa8b5U1MDMqokSU0Qn7AJ5DsjbGkI+Fp +29JWUnHkTZstDJoC1/7i1HzGSUbzHpxyoY1tetBrYXE5S5+ZDHHkAtJPetV3ZdQN +j5V2iyIcFbdSrDWeh7Slvb0CLGIo7s+jF1bpt3W7gYsAVCTMbf4Q3NE/2+l3R68j +OTLBp0Fbw5iGBC4oyR5cwngV9YgDSu0czg8bq0Bzfs3S8StN8zEqCRmhczqNnSrB +nEqvEqJhjsfF8/W9PWIt0IRwO/3CiupQKosd/4CAVCS7Eh5BhM00SwmhaG7VFNSU +iTU2ya7F8ZmEBjdoxJPt+YCeaOcrH5Jtx0kj9S20vfO7GWbMZ1F5aXFK2ax9mfoG +H+HeGu80G6zckL20Ud5EcGqlWvLCr/AuJH8sAqLFX0m6hF5DIk6dsDbNcMSaKeGI +AVAG6W3lqc9hidgsnJep0MZilWw2CzX9UWXEvGzSnxYK3ynfUNv2u+XLQVUR1S/i +341XW39wx9faLM1zniA/c/QNOy4MvPHMtTupXn52bV6MTPD8NImzJW17OX7W+azI ++sOark5cKHgNDzs0kVOq +=Qwvz +-----END PGP SIGNATURE----- diff --git a/sci-visualization/yt/files/yt-3.0-missing_package.patch b/sci-visualization/yt/files/yt-3.0-missing_package.patch new file mode 100644 index 000000000000..164445bb08a4 --- /dev/null +++ b/sci-visualization/yt/files/yt-3.0-missing_package.patch @@ -0,0 +1,12 @@ +diff --git a/yt/analysis_modules/setup.py b/yt/analysis_modules/setup.py +index 423fb52..f06d4e6 100644 +--- a/yt/analysis_modules/setup.py ++++ b/yt/analysis_modules/setup.py +@@ -6,6 +6,7 @@ def configuration(parent_package='', top_path=None): + config.make_config_py() # installs __config__.py + config.add_subpackage("absorption_spectrum") + config.add_subpackage("cosmological_observation") ++ config.add_subpackage("halo_analysis") + config.add_subpackage("halo_finding") + config.add_subpackage("halo_mass_function") + config.add_subpackage("level_sets") diff --git a/sci-visualization/yt/metadata.xml b/sci-visualization/yt/metadata.xml new file mode 100644 index 000000000000..fc0769f7f818 --- /dev/null +++ b/sci-visualization/yt/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <maintainer> + <email>xarthisius@gentoo.org</email> + <name>Kacper Kowalik</name> + </maintainer> + <longdescription>yt is an analysis and visualization system written in Python, + designed for use with Astrophysical Simulation codes. yt can process data in a + myriad of ways and make a variety of visualizations. It is designed to be portable + across simulation codes, and it is developed by developers from a variety of + institutions and backgrounds. + </longdescription> +</pkgmetadata> diff --git a/sci-visualization/yt/yt-3.0.ebuild b/sci-visualization/yt/yt-3.0.ebuild new file mode 100644 index 000000000000..e6599c0d5d32 --- /dev/null +++ b/sci-visualization/yt/yt-3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/yt/yt-3.0.ebuild,v 1.1 2014/08/26 21:34:51 xarthisius Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package" +HOMEPAGE="http://yt-project.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +CDEPEND="media-libs/freetype:2 + media-libs/libpng:0= + sci-libs/hdf5:=" +RDEPEND="${CDEPEND} + dev-python/ipython[notebook,${PYTHON_USEDEP}] + dev-python/pyx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND} + >=dev-python/cython-0.19[${PYTHON_USEDEP}] + >=dev-python/setuptools-0.7[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + )" + +PATCHES=( "${FILESDIR}"/${P}-missing_package.patch ) + +python_prepare_all() { + append-flags -fno-strict-aliasing + sed -i yt/utilities/setup.py \ + -e "s:/usr:${EPREFIX}/usr:g" || die + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}"/lib > /dev/null + nosetests -sv || die "Tests fail with ${EPYTHON} ${PWD}" + popd > /dev/null +} |