commit: 0b384dd2891d9bf22fcc9bf115daf024f9a83334
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 14:59:36 2016 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 14:59:36 2016 +0000
URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=0b384dd2
initial commit
dev-python/chemspipy/Manifest | 1 +
dev-python/chemspipy/chemspipy-1.0.4.ebuild | 36 +++++++++++++++++++++
dev-python/cram/Manifest | 1 +
dev-python/cram/cram-0.7.ebuild | 24 ++++++++++++++
dev-python/mendeleev/Manifest | 1 +
dev-python/mendeleev/mendeleev-0.2.4.ebuild | 29 +++++++++++++++++
dev-python/nbstripout/Manifest | 1 +
dev-python/nbstripout/nbstripout-0.2.6.ebuild | 43 +++++++++++++++++++++++++
dev-python/pyfiglet/Manifest | 1 +
dev-python/pyfiglet/pyfiglet-0.7.4.ebuild | 27 ++++++++++++++++
dev-python/pypdb/Manifest | 1 +
dev-python/pypdb/pypdb-1.103.ebuild | 22 +++++++++++++
dev-python/pytest-cram/Manifest | 1 +
dev-python/pytest-cram/pytest-cram-0.1.1.ebuild | 33 +++++++++++++++++++
14 files changed, 221 insertions(+)
diff --git a/dev-python/chemspipy/Manifest b/dev-python/chemspipy/Manifest
new file mode 100644
index 0000000..f6eea27
--- /dev/null
+++ b/dev-python/chemspipy/Manifest
@@ -0,0 +1 @@
+DIST ChemSpiPy-1.0.4.tar.gz 30824 SHA256
8259b819d13d32fc35d4e9d74220e7c9e524f766a8c3d31f71447aad19acbd87 SHA512
4629d6df357d8d00bc32bb83f51cc6a771ec0ad6bddc71501dda120b2ab631c57b71a7f9023ea93680a17d422219e84b130557f3ea5ea19f312799f17ee14f55
WHIRLPOOL
33f181f38a9b425e37a559a2f3eaadae1c5376721e4e7f1065d8514f9084f1e6e0b420b26c7856ac69caa6f86ac9cfc05b57ac05c65933bcda282d55d099df65
diff --git a/dev-python/chemspipy/chemspipy-1.0.4.ebuild
b/dev-python/chemspipy/chemspipy-1.0.4.ebuild
new file mode 100644
index 0000000..fa8c2e4
--- /dev/null
+++ b/dev-python/chemspipy/chemspipy-1.0.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_PN="ChemSpiPy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Simple Python wrapper around the ChemSpider Web Services"
+HOMEPAGE="https://pypi.python.org/pypi/ChemSpiPy/
https://github.com/mcs07/ChemSpiPy http://chemspipy.readthedocs.org/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+# tests require a security token for the ChemSpider API
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ nosetests || die "Testing failed with ${EPYTHON}"
+}
diff --git a/dev-python/cram/Manifest b/dev-python/cram/Manifest
new file mode 100644
index 0000000..cef7f42
--- /dev/null
+++ b/dev-python/cram/Manifest
@@ -0,0 +1 @@
+DIST cram-0.7.tar.gz 33527 SHA256
7da7445af2ce15b90aad5ec4792f857cef5786d71f14377e9eb994d8b8337f2f SHA512
9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103
WHIRLPOOL
dccc6fe696423c4a9b7839b84da4e629e361fa8d867a6bd48611224cbf2b04493702d1e4efeaf705c03a6255fbcd57bbdf649e1b8e038b82ad75abd5bb5cc3a9
diff --git a/dev-python/cram/cram-0.7.ebuild b/dev-python/cram/cram-0.7.ebuild
new file mode 100644
index 0000000..8f300e7
--- /dev/null
+++ b/dev-python/cram/cram-0.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple testing framework for command line applications"
+HOMEPAGE="https://bitheap.org/cram/ https://pypi.python.org/pypi/cram"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+python_test() {
+ "${PYTHON}" scripts/cram tests || die "testing failed with ${EPYTHON}"
+}
diff --git a/dev-python/mendeleev/Manifest b/dev-python/mendeleev/Manifest
new file mode 100644
index 0000000..40d8424
--- /dev/null
+++ b/dev-python/mendeleev/Manifest
@@ -0,0 +1 @@
+DIST mendeleev-0.2.4.tar.gz 153612 SHA256
29341211c528973fafb48fc2277247bb0f07aacc4c2aa86c654bda10cdbe5d4b SHA512
44b689c0a2ff28cb127d06d7037042df9b5b651eaec78b341a0144abd4ead41cca9c3160181955f9f86799362504251923383f6ef3b7d4ba16b74c024b9a2eec
WHIRLPOOL
a5a59bd496841c746470c2cdb1eb6eb0510c73b4b9845466075c64de45fa4234ae33dcdc9a63385f6a1d116a9b9659739bd426495996e108ea601ab3357128d1
diff --git a/dev-python/mendeleev/mendeleev-0.2.4.ebuild
b/dev-python/mendeleev/mendeleev-0.2.4.ebuild
new file mode 100644
index 0000000..4a8c270
--- /dev/null
+++ b/dev-python/mendeleev/mendeleev-0.2.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+PYTHON_REQ_USE='sqlite'
+
+inherit distutils-r1
+
+DESCRIPTION="Python API with a database of atomic properties for elements in
the periodic table"
+HOMEPAGE="https://pypi.python.org/pypi/mendeleev
https://bitbucket.org/lukaszmentel/mendeleev"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/seaborn[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/bokeh[${PYTHON_USEDEP}]
+ sci-libs/scipy[${PYTHON_USEDEP}]
+ dev-python/pyfiglet[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/nbstripout/Manifest b/dev-python/nbstripout/Manifest
new file mode 100644
index 0000000..fca382f
--- /dev/null
+++ b/dev-python/nbstripout/Manifest
@@ -0,0 +1 @@
+DIST nbstripout-0.2.6.tar.gz 7723 SHA256
1c2990338ff9bc0d3283425c5c15dfd2c2371e41fac4cb7ee034d07ec390b1b7 SHA512
584a9a7256f8f6798350fd3dd2c9e53fc1f32c30212b968b9805637b1d3e3cf9432a3bc00ec321b13778125f377d6f52c6713fa4f9eff622e3143d6601925107
WHIRLPOOL
14d8ef2dd2f3403cec262d82c56a64baa13f7b385e6babf07342e37bebc61fdf6d777bf05871d2d4c556557580cc274d57bcb00a66dfec68ccf71a344efd8fbe
diff --git a/dev-python/nbstripout/nbstripout-0.2.6.ebuild
b/dev-python/nbstripout/nbstripout-0.2.6.ebuild
new file mode 100644
index 0000000..33f0a26
--- /dev/null
+++ b/dev-python/nbstripout/nbstripout-0.2.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Strips output from Jupyter and IPython notebooks"
+HOMEPAGE="https://pypi.python.org/pypi/nbstripout
https://github.com/kynan/nbstripout"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-cram[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ # do not run require pytest-runner for every install
+ # and ignore pytest-flake8
+ sed -i \
+ -e '/pytest-runner/d' \
+ -e '/tests_require=tests_require/d' \
+ -e '/--flake8/d' \
+ setup.py pytest.ini || die
+
+ # remove test requiring mercurial
+ rm tests/test-hg.t || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ esetup.py test
+}
diff --git a/dev-python/pyfiglet/Manifest b/dev-python/pyfiglet/Manifest
new file mode 100644
index 0000000..ff489f1
--- /dev/null
+++ b/dev-python/pyfiglet/Manifest
@@ -0,0 +1 @@
+DIST pyfiglet-0.7.4.tar.gz 618556 SHA256
c52b709bfa16662d13cccdfadfb0d0975a77bb59f31f25b799d0a4d9701b17c7 SHA512
9894ee4d1b7dfc8d438cd263b53bb11abff3889d6e20ef6915810a693507b1ecc6663bdfb0b9703291f16228bf62ce0ce54caee51ffa00cd3221f7a447e3ab1d
WHIRLPOOL
5008ad0312f511e2dc9e524ad85f8129105a48c07faff4f09d3cffa96bccb07990ff22052920f725568c911718ffa18ab6801d41a4c068c0695c9b844075efa7
diff --git a/dev-python/pyfiglet/pyfiglet-0.7.4.ebuild
b/dev-python/pyfiglet/pyfiglet-0.7.4.ebuild
new file mode 100644
index 0000000..314e9ac
--- /dev/null
+++ b/dev-python/pyfiglet/pyfiglet-0.7.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure-python FIGlet implementation"
+HOMEPAGE="https://pypi.python.org/pypi/pyfiglet
https://github.com/pwaller/pyfiglet"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( app-misc/toilet
+ app-misc/figlet )"
+
+python_test() {
+ "${PYTHON}" pyfiglet/test.py || die "Testing failed with ${EPYTHON}"
+}
diff --git a/dev-python/pypdb/Manifest b/dev-python/pypdb/Manifest
new file mode 100644
index 0000000..815b97f
--- /dev/null
+++ b/dev-python/pypdb/Manifest
@@ -0,0 +1 @@
+DIST pypdb-1.103.tar.gz 11908 SHA256
a4b4f3200db3b78d5964405f315d4e2ebcbbbcce9dd10a1538d920aa4e296d30 SHA512
a473bd54a0c63672f51569220b02d3c78ef9747d44b9e33b005f8b4cf760d6cc8f88d56057945e27e9a2db3d2f423e069b6f7feb1c00f2dc0298c9fede472c38
WHIRLPOOL
9cf38d6915a381ed9f5c55a9a147d302569fc1e6bfda25a325af6f05693e9c58ec061d48655ea5cc9dfb72f2ac20fa6e843c523f4c5f64a561e28dc9f51771e7
diff --git a/dev-python/pypdb/pypdb-1.103.ebuild
b/dev-python/pypdb/pypdb-1.103.ebuild
new file mode 100644
index 0000000..b2618f8
--- /dev/null
+++ b/dev-python/pypdb/pypdb-1.103.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Toolkit for performing searches with the RCSB Protein Data Bank
(PDB) using its XML-based API."
+HOMEPAGE="https://github.com/williamgilpin/pypdb
https://pypi.python.org/pypi/pypdb"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-python/xmltodict[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/pytest-cram/Manifest b/dev-python/pytest-cram/Manifest
new file mode 100644
index 0000000..69ce06b
--- /dev/null
+++ b/dev-python/pytest-cram/Manifest
@@ -0,0 +1 @@
+DIST pytest-cram-0.1.1.tar.gz 11189 SHA256
8e30b033ac54436dcefd7deb4f71c768cbd12c038c169fbc92fee398522aa029 SHA512
a0a1fbd2d883638d4cade4c3edbdd7b2eb85d6f4b21428a0fa51ef901e2911e1ab06d76f1a88361d90db095cf184a101602f674c7dffbe372c25214cc0f8bde1
WHIRLPOOL
57900ef770a4602f03ced4e7e91321f610369bd2b3c6ae7ab44b1a3e0cbc26bea3238ed475c1f67946599d92b2d1382c54878e8424c127db1482a915898a4259
diff --git a/dev-python/pytest-cram/pytest-cram-0.1.1.ebuild
b/dev-python/pytest-cram/pytest-cram-0.1.1.ebuild
new file mode 100644
index 0000000..b51d0fc
--- /dev/null
+++ b/dev-python/pytest-cram/pytest-cram-0.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Run cram tests with pytest"
+HOMEPAGE="https://pypi.python.org/pypi/pytest-cram
https://github.com/tbekolay/pytest-cram"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ >=dev-python/cram-0.7[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RESTRICT="test"
+# TODO: figure out what's wrong with them tests
+
+python_test() {
+ # pytest-cram is supposed to be compatible with py-2.7, the tests are
not
+ distutils_install_for_testing
+ cd "${TEST_DIR}"/lib || die
+ cp -r "${S}"/pytest_cram/tests "${TEST_DIR}"/lib/ || die
+ py.test -v || die "testing failed with ${EPYTHON}"
+}