diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pytables | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pytables')
-rw-r--r-- | dev-python/pytables/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pytables/metadata.xml | 23 | ||||
-rw-r--r-- | dev-python/pytables/pytables-3.3.0.ebuild | 74 | ||||
-rw-r--r-- | dev-python/pytables/pytables-3.4.2.ebuild | 76 |
4 files changed, 178 insertions, 0 deletions
diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest new file mode 100644 index 000000000000..626256991b4c --- /dev/null +++ b/dev-python/pytables/Manifest @@ -0,0 +1,5 @@ +DIST tables-3.3.0.tar.gz 7004337 BLAKE2B 7ca95e65920c3bc16b5bac8c3bf92f2fa9c498eedfc981ee9e27c77f30f31bd527f15b37d8ffcc03bb2dbede170cce1a1ab7fc54de5ffebfafa4e41f69bbc46b SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 +DIST tables-3.4.2.tar.gz 7593471 BLAKE2B 1a011a2a910a25d4e7cad68b5a1a267482f5ed958aa824dfba5a6c902200c56253c7d5609cd674dfcb288f6ebf2ecb76f4324e53b852f70d0cfc60d6b222510a SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b +EBUILD pytables-3.3.0.ebuild 1576 BLAKE2B 284a5c4a14d6705f464ae82943e15ffd2abfae5a607651c0e4fcfe2d4bede9b4e672636a8e92b849b2fc69777b8e395b7f3f3d163b13fe1ebf57b6b2c4e5df6b SHA512 245b0b83df781420beb759ffcd1e66106739e4a56fdc524f1f9ddb0a65c5c91442b17775e123ec474f55a5ad7d6b26993dc4453c2afb8522507f0ec2f66997f6 +EBUILD pytables-3.4.2.ebuild 1645 BLAKE2B 9259dab0ffc95b4ad11a395562bbc5439621d22d389dad3aedbc6da9351bb6f4b6104aed86b82657728d738b9bf52526bb0c63aad24baf1724bc4eb05427355a SHA512 c6d226ba1c1233e6ab02268109fdb363d43e23df114dc9fec407770fd01026f5964c16f29d5e024ec3de371c32af8622f30d460eade6b7e47ffd033f809ea545 +MISC metadata.xml 894 BLAKE2B 279b64a5124a6471b3ea6ed8d2f82b8d62e5d8bc809168fb2ae1c3bfd8cfa07428c2ff7f07deb5042a6ccb5ba7af43bc45d0db82b9cfc79fa5d19c090d0500a3 SHA512 88dd752e6014f6f133b5df7db6c2aafce0b9da8cdbc057493916dbfbe1da4bf52e0ed43d570d68035fc8f12302794a381a54f5b07b9726b52601724163bc672c diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml new file mode 100644 index 000000000000..7eafceceedf5 --- /dev/null +++ b/dev-python/pytables/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + PyTables is a hierarchical database package designed to efficently + manage very large amounts of data. PyTables is built on top of the + HDF5 library and the NumPy package. It features an object-oriented + interface that, combined with natural naming and C-code generated + from Pyrex sources, makes it a fast, yet extremely easy to use tool + for interactively save and retrieve large amounts of data. +</longdescription> + <upstream> + <remote-id type="pypi">tables</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild new file mode 100644 index 000000000000..cb23edbefc05 --- /dev/null +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +inherit distutils-r1 + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="http://www.pytables.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +LICENSE="BSD" +IUSE="doc examples" + +RDEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0 + >=dev-libs/c-blosc-1.11.1:0= + dev-libs/lzo:2= + >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.15:0= + <sci-libs/hdf5-1.10 + " +DEPEND="${RDEPEND} + >=dev-python/cython-0.21[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) + +python_prepare_all() { + export HDF5_DIR="${EPREFIX}"/usr + rm tables/*.c || die + sed \ + -e "s:/usr:${EPREFIX}/usr:g" \ + -i setup.py || die + rm -r c-blosc/{blosc,internal-complibs} || die + distutils-r1_python_prepare_all +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${EPYTHON} tables/tests/test_all.py || die +} + +python_install_all() { + if use doc; then + HTML_DOCS=( doc/html/. ) + DOCS+=( doc/scripts ) + fi + distutils-r1_python_install_all + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + doins -r contrib + fi +} diff --git a/dev-python/pytables/pytables-3.4.2.ebuild b/dev-python/pytables/pytables-3.4.2.ebuild new file mode 100644 index 000000000000..02d1be95e967 --- /dev/null +++ b/dev-python/pytables/pytables-3.4.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +inherit distutils-r1 + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="http://www.pytables.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="BSD" +IUSE="doc examples" + +RDEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0 + >=dev-libs/c-blosc-1.11.1:0= + dev-libs/lzo:2= + >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.15:0= +" +DEPEND="${RDEPEND} + >=dev-python/cython-0.21[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) + +python_prepare_all() { + export HDF5_DIR="${EPREFIX}"/usr + rm tables/*.c || die + sed -e "s:/usr:${EPREFIX}/usr:g" \ + -i setup.py || die + rm -r c-blosc/{blosc,internal-complibs} || die + distutils-r1_python_prepare_all +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + ${EPYTHON} tables/tests/test_all.py || die +} + +python_install_all() { + if use doc; then + HTML_DOCS=( doc/html/. ) + DOCS+=( doc/scripts ) + fi + distutils-r1_python_install_all + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + doins -r contrib + docompress -x /usr/share/doc/${PF}/examples + docompress -x /usr/share/doc/${PF}/contrib + + fi +} |