summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-visualization/yt
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-visualization/yt')
-rw-r--r--sci-visualization/yt/Manifest2
-rw-r--r--sci-visualization/yt/files/yt-3.0-missing_package.patch12
-rw-r--r--sci-visualization/yt/metadata.xml18
-rw-r--r--sci-visualization/yt/yt-3.1.ebuild48
-rw-r--r--sci-visualization/yt/yt-3.2.ebuild47
5 files changed, 127 insertions, 0 deletions
diff --git a/sci-visualization/yt/Manifest b/sci-visualization/yt/Manifest
new file mode 100644
index 000000000000..8fb15f25a3c1
--- /dev/null
+++ b/sci-visualization/yt/Manifest
@@ -0,0 +1,2 @@
+DIST yt-3.1.tar.gz 4217651 SHA256 6ca295d6dc94b4936434ffcc9cc2a7b55776c632e43391d958520f2a9aac9176 SHA512 0708fdf4fbed6aee04a4133fecb9eddb06b09ce02020ad8ae0d32c6601f26088532f4de6d3c2b5d600874e041470fe43af0a904051b965f1e9c945ec1199e775 WHIRLPOOL e72d9b9bd4b4e101d5168d7089325fd83d0be51e4b07c00dcbd1081b07693ce359db4b82366872992084be9e055298b95ba290d61ef85dad84cbe01f72f305bd
+DIST yt-3.2.tar.gz 23845436 SHA256 5c3b91b5886904c1a569b7d38c1ae574ca79b47adf7ba867a2044b4b55afacba SHA512 d3452a07c9d8e53d291816a73023d73bf97367f7f974dc0e52993af7a0e38675983295a52fd73b50a00bad925e3a7b780dfb75f588d7a59d8020539baa9847d4 WHIRLPOOL 742c3dca8ff4dd703dc93004bbb56d0957e8b5678c1fcb8c96d30586b8c65087b66e70e1440ae5e314f355a59edb46cab6c76d4224c96316bf0e5c064cc6bc7e
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..ebd98f7b52ea
--- /dev/null
+++ b/sci-visualization/yt/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ <upstream>
+ <remote-id type="pypi">yt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-visualization/yt/yt-3.1.ebuild b/sci-visualization/yt/yt-3.1.ebuild
new file mode 100644
index 000000000000..39b4c3f9c004
--- /dev/null
+++ b/sci-visualization/yt/yt-3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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}]
+ )"
+
+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
+}
diff --git a/sci-visualization/yt/yt-3.2.ebuild b/sci-visualization/yt/yt-3.2.ebuild
new file mode 100644
index 000000000000..9a3f6f55d48f
--- /dev/null
+++ b/sci-visualization/yt/yt-3.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+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/libpng:0=
+ sci-libs/hdf5:=
+ dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${CDEPEND}
+ dev-python/ipython[notebook,${PYTHON_USEDEP}]
+ dev-python/h5py[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]"
+# dev-python/pyx[${PYTHON_USEDEP}]
+DEPEND="${CDEPEND}
+ >=dev-python/cython-0.22[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+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
+}