[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 6f67c40c0a277ca96914b67d2aafca17b36f1d40 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 20 17:49:22 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 20 17:51:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f67c40c dev-python/pytables: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/Manifest | 1 - dev-python/pytables/pytables-3.7.0.ebuild| 71 dev-python/pytables/pytables-3.8.0-r1.ebuild | 81 3 files changed, 153 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index ea9d491502ea..63cd4acb139e 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1 @@ -DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 DIST tables-3.8.0.tar.gz 8014052 BLAKE2B 28d120ad609ebc9ae8cd97286bb3fb9c484bd8a179edcf0de1b96e4400b7a21b4db835d94fae3aaee84924bd46b84b84da12c538b39517362d805651e7aa3aef SHA512 1616c00787a2e88ff3dc2aebe3a1b2ad428b5a8ea48fc94058b49c509f1c040b540b3f62551b16b3246d2fed58e0b33443cbdaaf1dfcba5a6eead5f3e8028029 diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild deleted file mode 100644 index 73dfc29cc404.. --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -PYPI_PN="tables" -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE="https://www.pytables.org/; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - 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.19[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND="${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}]" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm tables/*.c || die - sed -e "s:/usr:${EPREFIX}/usr:g" \ - -i setup.py || die - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile -j1 -} - -python_test() { - cd "${BUILD_DIR}"/lib* || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild deleted file mode 100644 index 6341732956bf.. --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -PYPI_PN="tables" -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE=" - https://www.pytables.org/ - https://github.com/PyTables/PyTables/ - https://pypi.org/project/tables/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/c-blosc2:= - dev-libs/lzo:2= - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND=" - ${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - local PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 8d0d0a81139975bdca94aa18d06fcb8fe17e2362 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 20 17:10:42 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 20 17:10:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0d0a81 dev-python/pytables: Stabilize 3.8.0-r3 ppc64, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index 375115458f99..744ee55794c7 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 33344d5d0ef3fcc15dfb34e715ef96c66ba52734 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 20 17:10:35 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 20 17:10:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33344d5d dev-python/pytables: Stabilize 3.8.0-r3 ppc, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index 4eb70e76b350..375115458f99 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 547df0efd18902d01c00a3d6980b3614aa85a74d Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 20 17:10:46 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 20 17:10:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547df0ef dev-python/pytables: Stabilize 3.8.0-r3 arm, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index 744ee55794c7..b585b56728f0 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: fd0cc00aa0227c38386414a6f3d01ff1f6a49841 Author: Michał Górny gentoo org> AuthorDate: Sat May 20 07:18:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat May 20 07:25:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0cc00a dev-python/pytables: Use pypi.eclass in older version(s) Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 7a9cfcf16d80..73dfc29cc404 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -3,17 +3,15 @@ EAPI=8 +DISTUTILS_EXT=1 +PYPI_PN="tables" PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="threads(+)" -MY_PN=tables -MY_P=${MY_PN}-${PV} -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Hierarchical datasets for Python" HOMEPAGE="https://www.pytables.org/; -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: fe9b3c589dc0033b806bf3632e4fa9a445a696cd Author: Michał Górny gentoo org> AuthorDate: Thu May 11 06:20:47 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 11 06:22:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9b3c58 dev-python/pytables: Backport cython-3 fix Closes: https://bugs.gentoo.org/898710 Signed-off-by: Michał Górny gentoo.org> .../pytables/files/pytables-3.8.0-cython3.patch| 40 ++ dev-python/pytables/pytables-3.8.0-r3.ebuild | 1 + 2 files changed, 41 insertions(+) diff --git a/dev-python/pytables/files/pytables-3.8.0-cython3.patch b/dev-python/pytables/files/pytables-3.8.0-cython3.patch new file mode 100644 index ..9ad0b72d224a --- /dev/null +++ b/dev-python/pytables/files/pytables-3.8.0-cython3.patch @@ -0,0 +1,40 @@ +From a70e36f0b0d4fb15b0b50e7ca513c4e4452767cc Mon Sep 17 00:00:00 2001 +From: Matus Valo +Date: Wed, 15 Mar 2023 22:49:07 +0100 +Subject: [PATCH] Fix build errors when compiled using cython 3.0.0b1. + +--- + pyproject.toml| 2 +- + tables/tableextension.pyx | 2 +- + tables/utilsextension.pyx | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/tables/tableextension.pyx b/tables/tableextension.pyx +index 8f3bb01b..4a50c6ab 100644 +--- a/tables/tableextension.pyx b/tables/tableextension.pyx +@@ -37,7 +37,7 @@ from .utils import SizeType + from .utilsextension cimport get_native_type, cstr_to_pystr + + # numpy functions & objects +-from hdf5extension cimport Leaf ++from .hdf5extension cimport Leaf + from cpython cimport PyErr_Clear + from libc.stdio cimport snprintf + from libc.stdlib cimport malloc, free +diff --git a/tables/utilsextension.pyx b/tables/utilsextension.pyx +index 5b16dcd3..664e1ea5 100644 +--- a/tables/utilsextension.pyx b/tables/utilsextension.pyx +@@ -344,7 +344,7 @@ except ImportError: + #- + + # Error handling helpers +-cdef herr_t e_walk_cb(unsigned n, const H5E_error_t *err, void *data) with gil: ++cdef herr_t e_walk_cb(unsigned n, const H5E_error_t *err, void *data) noexcept with gil: + cdef object bt = data # list + #cdef char major_msg[256] + #cdef char minor_msg[256] +-- +2.40.1 + diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index c2dfebf6f12b..4eb70e76b350 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -52,6 +52,7 @@ python_prepare_all() { local PATCHES=( "${FILESDIR}"/${P}-blosc2.patch "${FILESDIR}"/${P}-optional-cpuinfo.patch + "${FILESDIR}"/${P}-cython3.patch ) export PYTABLES_NO_EMBEDDED_LIBS=1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 16a7d534725c293bf2a80459a49ba8affde34ada Author: Michał Górny gentoo org> AuthorDate: Thu May 4 16:28:16 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 4 16:30:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a7d534 dev-python/pytables: Set DISTUTILS_EXT=1 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index f0f88329702b..c2dfebf6f12b 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -3,8 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_EXT=1 PYPI_PN="tables" +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 prefix pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 656f8f41279e0beaae2e2557dc02b40094e8261e Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 29 15:46:51 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 29 15:46:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656f8f41 dev-python/pytables: Stabilize 3.8.0-r3 x86, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index caa466280fa2..f0f88329702b 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 9e037fb5518d960650f6b6eda23aa088823177fd Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 29 15:30:56 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 29 15:30:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e037fb5 dev-python/pytables: Stabilize 3.8.0-r3 amd64, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index a81c94210b60..caa466280fa2 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 9e1d4c865184215b76be12602f735b636ff3a15f Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 29 15:25:33 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 29 15:25:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1d4c86 dev-python/pytables: Stabilize 3.8.0-r3 arm64, #894906 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r3.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild index 1e479c6bc7d4..a81c94210b60 100644 --- a/dev-python/pytables/pytables-3.8.0-r3.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="+cpudetection examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: 637784cae39a93920b9738e8094d46d24331769d Author: Sam James gentoo org> AuthorDate: Mon Apr 3 01:50:20 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 3 01:50:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=637784ca dev-python/pytables: tweak cpuinfo patch Signed-off-by: Sam James gentoo.org> dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch | 9 ++--- .../{pytables-3.8.0-r2.ebuild => pytables-3.8.0-r3.ebuild} | 0 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch b/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch index f56854b05289..2843914f4a87 100644 --- a/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch +++ b/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch @@ -1,6 +1,6 @@ https://github.com/PyTables/PyTables/pull/1013 -From 557f8c22b772506bfbb9e7eb4d60c0cf2125998b Mon Sep 17 00:00:00 2001 +From 9d2487eb53af940de3b5c79200c9f4c2b90f51f2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 3 Apr 2023 02:07:47 +0100 Subject: [PATCH] Handle py-cpuinfo not being installed @@ -15,19 +15,20 @@ in places where py-cpuinfo isn't yet ported. Signed-off-by: Sam James --- a/tables/leaf.py +++ b/tables/leaf.py -@@ -4,7 +4,10 @@ +@@ -4,7 +4,11 @@ import warnings import math import numpy as np -import cpuinfo +try: +import cpuinfo ++missing_cpuinfo = False +except ImportError: +missing_cpuinfo = True from .flavor import (check_flavor, internal_flavor, toarray, alias_map as flavor_alias_map) -@@ -336,20 +339,21 @@ def _calc_chunkshape(self, expectedrows, rowsize, itemsize): +@@ -336,20 +340,21 @@ class Leaf(Node): # Use a decent default value for chunksize chunksize *= 16 # Now, go explore the L3 size and try to find a smarter chunksize @@ -63,4 +64,6 @@ Signed-off-by: Sam James # In Blosc2, the chunksize cannot be larger than 2 GB - BLOSC2_MAX_BUFFERSIZE if chunksize > 2**31 - 32: chunksize = 2**31 - 32 +-- +2.40.0 diff --git a/dev-python/pytables/pytables-3.8.0-r2.ebuild b/dev-python/pytables/pytables-3.8.0-r3.ebuild similarity index 100% rename from dev-python/pytables/pytables-3.8.0-r2.ebuild rename to dev-python/pytables/pytables-3.8.0-r3.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/files/, profiles/arch/base/, dev-python/pytables/, ...
commit: 17b7393607ac3b08735d76bce6287d31d4d5f27f Author: Sam James gentoo org> AuthorDate: Mon Apr 3 01:27:48 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 3 01:30:33 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b73936 dev-python/pytables: make cpuinfo optional py-cpuinfo needs explicit porting to a platform and it's only lightly used in pytables. Apply a patch which I've sent upstream to make it optional and restore keywords accordingly. We add a USE=cpudetection for arches where pytables is known to work. Closes: https://bugs.gentoo.org/894078 Signed-off-by: Sam James gentoo.org> .../files/pytables-3.8.0-optional-cpuinfo.patch| 66 + dev-python/pytables/metadata.xml | 3 + dev-python/pytables/pytables-3.8.0-r2.ebuild | 82 ++ profiles/arch/amd64/package.use.mask | 4 ++ profiles/arch/base/package.use.mask| 5 ++ 5 files changed, 160 insertions(+) diff --git a/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch b/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch new file mode 100644 index ..f56854b05289 --- /dev/null +++ b/dev-python/pytables/files/pytables-3.8.0-optional-cpuinfo.patch @@ -0,0 +1,66 @@ +https://github.com/PyTables/PyTables/pull/1013 + +From 557f8c22b772506bfbb9e7eb4d60c0cf2125998b Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Mon, 3 Apr 2023 02:07:47 +0100 +Subject: [PATCH] Handle py-cpuinfo not being installed + +Fallback gracefully if py-cpuinfo isn't installed. We already handle this in +setup.py but we need to avoid calling it in leaf.py too. + +py-cpuinfo isn't available on all platforms and PyTables is needed to run +the test suite for some software, so we need to be able to run PyTables +in places where py-cpuinfo isn't yet ported. + +Signed-off-by: Sam James +--- a/tables/leaf.py b/tables/leaf.py +@@ -4,7 +4,10 @@ + import math + + import numpy as np +-import cpuinfo ++try: ++import cpuinfo ++except ImportError: ++missing_cpuinfo = True + + from .flavor import (check_flavor, internal_flavor, toarray, + alias_map as flavor_alias_map) +@@ -336,20 +339,21 @@ def _calc_chunkshape(self, expectedrows, rowsize, itemsize): + # Use a decent default value for chunksize + chunksize *= 16 + # Now, go explore the L3 size and try to find a smarter chunksize +-cpu_info = cpuinfo.get_cpu_info() +-if 'l3_cache_size' in cpu_info: +-# In general, is a good idea to set the chunksize equal to L3 +-l3_cache_size = cpu_info['l3_cache_size'] +-# cpuinfo sometimes returns cache sizes as strings (like, +-# "4096 KB"), so refuse the temptation to guess and use the +-# value only when it is an actual int. +-# Also, sometimes cpuinfo does not return a correct L3 size; +-# so in general, enforcing L3 > L2 is a good sanity check. +-l2_cache_size = cpu_info.get('l2_cache_size', "Not found") +-if (type(l3_cache_size) is int and +-type(l2_cache_size) is int and +-l3_cache_size > l2_cache_size): +-chunksize = l3_cache_size ++if not missing_cpuinfo: ++cpu_info = cpuinfo.get_cpu_info() ++if 'l3_cache_size' in cpu_info: ++# In general, is a good idea to set the chunksize equal to L3 ++l3_cache_size = cpu_info['l3_cache_size'] ++# cpuinfo sometimes returns cache sizes as strings (like, ++# "4096 KB"), so refuse the temptation to guess and use the ++# value only when it is an actual int. ++# Also, sometimes cpuinfo does not return a correct L3 size; ++# so in general, enforcing L3 > L2 is a good sanity check. ++l2_cache_size = cpu_info.get('l2_cache_size', "Not found") ++if (type(l3_cache_size) is int and ++type(l2_cache_size) is int and ++l3_cache_size > l2_cache_size): ++chunksize = l3_cache_size + # In Blosc2, the chunksize cannot be larger than 2 GB - BLOSC2_MAX_BUFFERSIZE + if chunksize > 2**31 - 32: + chunksize = 2**31 - 32 + diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml index 75a6770d99e4..2fea045e5982 100644 --- a/dev-python/pytables/metadata.xml +++ b/dev-python/pytables/metadata.xml @@ -17,6 +17,9 @@ from Pyrex sources, makes it a fast, yet extremely easy to use tool for interactively save and retrieve large amounts of data. + +Enables runtime CPU detection (useful for bindist, compatibility on other CPUs) +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 900ee65a0c5352cd7f9648f44a6210b480ab4ac6 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 24 13:53:49 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 25 17:18:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900ee65a dev-python/pytables: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index be79d9c619b7..6341732956bf 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -4,12 +4,10 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) +PYPI_PN="tables" PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 prefix - -MY_PN=tables -MY_P=${MY_PN}-${PV} +inherit distutils-r1 prefix pypi DESCRIPTION="Hierarchical datasets for Python" HOMEPAGE=" @@ -17,8 +15,6 @@ HOMEPAGE=" https://github.com/PyTables/PyTables/ https://pypi.org/project/tables/ " -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 8be74f0364f6f7adc22455d74656d9e125341875 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Feb 20 21:58:24 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Feb 20 21:58:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be74f03 dev-python/pytables: Keyword 3.8.0-r1 x86, #894078 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index 121ff8f7264d..be79d9c619b7 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv ~x86" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: ad5eb86e9e2ef54d7dcddfe3d4ec72ddb186a00e Author: Arthur Zamarin gentoo org> AuthorDate: Mon Feb 20 21:29:12 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Feb 20 21:29:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5eb86e dev-python/pytables: Keyword 3.8.0-r1 ia64, #894078 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index be91b5e1670b..121ff8f7264d 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 306537a6b6a579cc74e7dc4aecda74cb5a0b3dd1 Author: Yixun Lan gentoo org> AuthorDate: Mon Feb 13 11:30:38 2023 + Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 13 11:30:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306537a6 dev-python/pytables: Keyword 3.8.0-r1 riscv, #894078 Signed-off-by: Yixun Lan gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index a6672ca3563d..be91b5e1670b 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~riscv" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: a87af2f34c89eef32427d97a28100adc89fd2e08 Author: Jakov Smolić gentoo org> AuthorDate: Sun Feb 12 20:23:42 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Feb 12 20:23:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87af2f3 dev-python/pytables: Keyword 3.8.0-r1 arm64, #894078 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index 82c5e17e7ae0..a6672ca3563d 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 039697b8a76d34afd28398e348d4fab0e0bda9ee Author: Yiyang Wu gmail com> AuthorDate: Thu Jan 5 10:39:16 2023 + Commit: Sam James gentoo org> CommitDate: Fri Jan 6 02:09:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039697b8 dev-python/pytables: fix prefix installation In setup.py default prefix includes "/usr", not "${EPREFIX}/usr". Thus under Gentoo prefix, libraries like hdf5 cannot be found by default. Prefixify this line to fix this. Signed-off-by: Yiyang Wu gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28968 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.8.0-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild index af123af3a0fa..661e90f4fe6e 100644 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 +inherit distutils-r1 prefix MY_PN=tables MY_P=${MY_PN}-${PV} @@ -62,6 +62,7 @@ python_prepare_all() { rm -r c-blosc/{blosc,internal-complibs} || die rm tables/libblosc2.so || die sed -i -e '/blosc2/d' requirements.txt || die + hprefixify -w '/prefixes =/' setup.py distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 7be79ed3c49484b3361f18e0dcecc00f5d78d233 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 30 15:59:00 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 30 17:23:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be79ed3 dev-python/pytables: Strip blosc2 from install_requires Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/{pytables-3.8.0.ebuild => pytables-3.8.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pytables/pytables-3.8.0.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild similarity index 97% rename from dev-python/pytables/pytables-3.8.0.ebuild rename to dev-python/pytables/pytables-3.8.0-r1.ebuild index 889a681566ed..af123af3a0fa 100644 --- a/dev-python/pytables/pytables-3.8.0.ebuild +++ b/dev-python/pytables/pytables-3.8.0-r1.ebuild @@ -61,6 +61,7 @@ python_prepare_all() { rm -r c-blosc/{blosc,internal-complibs} || die rm tables/libblosc2.so || die + sed -i -e '/blosc2/d' requirements.txt || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: d689a7af7cc4ec5e245ec320c2e6f55b6b03460d Author: Michał Górny gentoo org> AuthorDate: Fri Dec 30 15:59:45 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 30 17:23:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d689a7af dev-python/pytables: Add GH remote-id Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml index 17655eaa109b..75a6770d99e4 100644 --- a/dev-python/pytables/metadata.xml +++ b/dev-python/pytables/metadata.xml @@ -18,6 +18,7 @@ for interactively save and retrieve large amounts of data. +PyTables/PyTables tables
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: 6ed4d325a2563a195b41caef2c2c58ca18581e40 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 28 15:06:59 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 28 15:31:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed4d325 dev-python/pytables: Bump to 3.8.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/Manifest | 1 + .../pytables/files/pytables-3.8.0-blosc2.patch | 30 dev-python/pytables/pytables-3.8.0.ebuild | 83 ++ 3 files changed, 114 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index c456f554b2d0..ea9d491502ea 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1 +1,2 @@ DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 +DIST tables-3.8.0.tar.gz 8014052 BLAKE2B 28d120ad609ebc9ae8cd97286bb3fb9c484bd8a179edcf0de1b96e4400b7a21b4db835d94fae3aaee84924bd46b84b84da12c538b39517362d805651e7aa3aef SHA512 1616c00787a2e88ff3dc2aebe3a1b2ad428b5a8ea48fc94058b49c509f1c040b540b3f62551b16b3246d2fed58e0b33443cbdaaf1dfcba5a6eead5f3e8028029 diff --git a/dev-python/pytables/files/pytables-3.8.0-blosc2.patch b/dev-python/pytables/files/pytables-3.8.0-blosc2.patch new file mode 100644 index ..59403cdec12d --- /dev/null +++ b/dev-python/pytables/files/pytables-3.8.0-blosc2.patch @@ -0,0 +1,30 @@ +From 99a7f336635aaeb666ea8dc791743177a030dc18 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Wed, 28 Dec 2022 15:53:08 +0100 +Subject: [PATCH] Workaround blosc2 detection via blosc2 package + +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 966be028..2708deb9 100755 +--- a/setup.py b/setup.py +@@ -262,11 +262,11 @@ if __name__ == "__main__": + + debug = "--debug" in sys.argv + +-blosc2_inc, blosc2_lib = get_blosc2_directories() ++blosc2_inc, blosc2_lib = "", "" + + # Global variables + lib_dirs = [blosc2_lib] +-inc_dirs = [Path("hdf5-blosc/src"), Path("hdf5-blosc2/src"), blosc2_inc] ++inc_dirs = [Path("hdf5-blosc/src"), Path("hdf5-blosc2/src")] + optional_libs = [] + copy_libs = [] + +-- +2.39.0 + diff --git a/dev-python/pytables/pytables-3.8.0.ebuild b/dev-python/pytables/pytables-3.8.0.ebuild new file mode 100644 index ..889a681566ed --- /dev/null +++ b/dev-python/pytables/pytables-3.8.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE=" + https://www.pytables.org/ + https://github.com/PyTables/PyTables/ + https://pypi.org/project/tables/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0:= + >=dev-libs/c-blosc-1.11.1:0= + dev-libs/c-blosc2:= + dev-libs/lzo:2= + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/py-cpuinfo[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-0.21[${PYTHON_USEDEP}] + dev-python/py-cpuinfo[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/${P}-blosc2.patch + ) + + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE + + rm -r c-blosc/{blosc,internal-complibs} || die + rm tables/libblosc2.so || die + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile -j1 +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 6375e78f52d7138660833fc9882680d1d41fec2a Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Oct 14 13:30:02 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Oct 14 13:31:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6375e78f dev-python/pytables: enable py3.11 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 60bf3a743b83..b04f58328a71 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/files/, dev-python/pytables/
commit: 6ada0d6fa619b68b826130574ab9aafc71eaf5c2 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 3 07:51:54 2022 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 3 08:27:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ada0d6f dev-python/pytables: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/Manifest | 1 - ...tables-3.6.1-big-endian-tests-skip-subset.patch | 36 - .../files/pytables-3.6.1-numpy-float.patch | 176 - .../pytables/files/pytables-3.6.1-py310.patch | 49 -- dev-python/pytables/pytables-3.6.1-r2.ebuild | 89 --- 5 files changed, 351 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 0ef697796364..c456f554b2d0 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1 @@ -DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 diff --git a/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch b/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch deleted file mode 100644 index 6a492a1a581f.. --- a/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://bugs.gentoo.org/805995 -https://github.com/PyTables/PyTables/issues/735 -https://sources.debian.org/src/pytables/3.6.1-5/debian/patches/0005-Skip-index-backcompat-tests-on-bingendian.patch/ - -From: Antonio Valentino -Date: Sat, 3 Aug 2019 16:22:13 + -Subject: Skip index backcompat tests on bingendian - -Forwarded: not-needed a/tables/tests/test_index_backcompat.py -+++ b/tables/tests/test_index_backcompat.py -@@ -6,8 +6,10 @@ from tables.tests.common import verbose - from tables.tests.common import unittest, test_filename - from tables.tests.common import PyTablesTestCase as TestCase - -+import sys - - # Check indexes from PyTables version 2.0 -+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') - class IndexesTestCase(common.TestFileMixin, TestCase): - - def setUp(self): -@@ -145,11 +147,13 @@ class IndexesTestCase(common.TestFileMixin, TestCase): - - - # Check indexes from PyTables version 2.0 -+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') - class Indexes2_0TestCase(IndexesTestCase): - h5fname = test_filename("indexes_2_0.h5") - - - # Check indexes from PyTables version 2.1 -+@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') - class Indexes2_1TestCase(IndexesTestCase): - h5fname = test_filename("indexes_2_1.h5") - diff --git a/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch b/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch deleted file mode 100644 index 71fa3b85dacf.. --- a/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch +++ /dev/null @@ -1,176 +0,0 @@ -From d2a480d14f29fb1d2baee292bc6a2cca4817dcbd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Sun, 24 Jan 2021 16:36:21 +0100 -Subject: [PATCH] Use lowercase float/int as numpy dtype - -Float64 is gone with numpy 1.20, which causes doctests to fail -(https://bugzilla.redhat.com/show_bug.cgi?id=1914335). - -Similarly all uses of Float32, Int32 should be replaced by float32 and int32. - ->>> numpy.__version__ -'1.19.4' ->>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] -['float16', 'Float16', 'float32', 'Float32', 'float64', 'Float64', 'float128', 'Float128', 'float_', 'float'] - ->>> numpy.__version__ -'1.20.0rc2' ->>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] -['float16', 'float32', 'float64', 'float128', 'float_', 'float'] - bench/bsddb-table-bench.py | 10 +- - bench/postgres-search-bench.py | 4 ++-- - bench/pytables-search-bench.py | 6 +++--- - bench/recarray2-test.py| 2 +- - bench/shelve-bench.py | 10 +- - bench/sqlite-search-bench.py | 4 ++-- - tables/atom.py | 2 +- - 7 files changed, 19 insertions(+), 19 deletions(-) - -diff --git a/bench/bsddb-table-bench.py b/bench/bsddb-table-bench.py -index dd9f875b..a2e02361 100644 a/bench/bsddb-table-bench.py -+++ b/bench/bsddb-table-bench.py -@@ -83,11 +83,11 @@ def createFile(filename, totalrows, recsize, verbose): - # Get the
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 80b04ac73bf40a109b2ddded6f3de6a19fd2603f Author: Arthur Zamarin gentoo org> AuthorDate: Wed Feb 2 20:53:26 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Feb 2 20:53:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b04ac7 dev-python/pytables: Stabilize 3.7.0 ppc64, #832280 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 5252e0abc673..60bf3a743b83 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 546dc46e9bb5e874a8a438c1176984caf1fa3945 Author: Sam James gentoo org> AuthorDate: Wed Feb 2 00:08:04 2022 + Commit: Sam James gentoo org> CommitDate: Wed Feb 2 00:08:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546dc46e dev-python/pytables: Stabilize 3.7.0 arm, #832280 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 685acc335a52..5252e0abc673 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: ea50cdabd7afdf24edba3dcccd009a8fbc4119cb Author: Jakov Smolić gentoo org> AuthorDate: Sat Jan 29 10:03:32 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Jan 29 10:03:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea50cdab dev-python/pytables: Stabilize 3.7.0 amd64, #832280 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index de53e653cacc..685acc335a52 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 572eedb9e9fedc88d465f3133abd400dde9ba560 Author: Jakov Smolić gentoo org> AuthorDate: Sat Jan 29 10:02:26 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Jan 29 10:02:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572eedb9 dev-python/pytables: Stabilize 3.7.0 x86, #832280 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 52cf83ea569a..de53e653cacc 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 2838c7397c9a251956ed793bf691f8c7f7e07376 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 29 07:22:38 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 29 07:22:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2838c739 dev-python/pytables: Stabilize 3.7.0 arm64, #832280 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index 9c9d40d40e40..52cf83ea569a 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 577b44a1f7b4ae23bd5fe43eadd8cb9697396675 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 29 07:01:48 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 29 07:01:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577b44a1 dev-python/pytables: Stabilize 3.7.0 ppc, #832280 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/pytables-3.7.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild index dd909e6784ab..9c9d40d40e40 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: fa6c1794d4bb7070bf463a81e4fe1be81a9a5fe6 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 29 08:29:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 29 08:29:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6c1794 dev-python/pytables: Revert "add 3.7.0" Reverts: 976696860684f2583e4c428bc7ec4b033176c984 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/Manifest | 1 - dev-python/pytables/pytables-3.7.0-r1.ebuild | 83 2 files changed, 84 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 0ef697796364..bb12893a62e8 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1 @@ DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff -DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 diff --git a/dev-python/pytables/pytables-3.7.0-r1.ebuild b/dev-python/pytables/pytables-3.7.0-r1.ebuild deleted file mode 100644 index bbd5389892f6.. --- a/dev-python/pytables/pytables-3.7.0-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="threads(+)" - -MY_PN=tables -MY_P=${MY_PN}-${PV} - -inherit distutils-r1 - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE="https://www.pytables.org/; -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - 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}] - >=sci-libs/hdf5-1.10:= -" -RDEPEND="${DEPEND} - >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ${RDEPEND} - ) -" - -DOCS=( doc/source/release_notes.rst THANKS ) - -python_prepare_all() { - export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm tables/*.c || die - sed -e "s:/usr:${EPREFIX}/usr:g" \ - -i setup.py || die - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile -j1 -} - -python_test() { - cd "${BUILD_DIR}"/lib* || die - "${EPYTHON}" tables/tests/test_all.py -v || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use doc; then - DOCS+=( doc/scripts ) - fi - - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - dodoc -r contrib - docompress -x /usr/share/doc/${PF}/examples - docompress -x /usr/share/doc/${PF}/contrib - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 152b16d4448c869fca0b56d946aa4b1ebe6b1eca Author: Michał Górny gentoo org> AuthorDate: Wed Dec 29 06:51:18 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 29 08:30:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152b16d4 dev-python/pytables: Bump to 3.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.7.0.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index bb12893a62e8..0ef697796364 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1 +1,2 @@ DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff +DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild new file mode 100644 index ..dd909e6784ab --- /dev/null +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} +inherit distutils-r1 + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="https://www.pytables.org/; +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + 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.19[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND="${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/cython-0.21[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE + + rm tables/*.c || die + sed -e "s:/usr:${EPREFIX}/usr:g" \ + -i setup.py || die + rm -r c-blosc/{blosc,internal-complibs} || die + sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile -j1 +} + +python_test() { + cd "${BUILD_DIR}"/lib* || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: e7b8a1b72eecc5ce57c6ff3eaeb83b5b1dd3545d Author: Sam James gentoo org> AuthorDate: Wed Dec 29 07:52:28 2021 + Commit: Sam James gentoo org> CommitDate: Wed Dec 29 07:58:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b8a1b7 dev-python/pytables: fix installation, hdf5 dep Should work with newer hdf5 now. Closes: https://bugs.gentoo.org/830209 Signed-off-by: Sam James gentoo.org> .../pytables/{pytables-3.7.0.ebuild => pytables-3.7.0-r1.ebuild}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0-r1.ebuild similarity index 93% rename from dev-python/pytables/pytables-3.7.0.ebuild rename to dev-python/pytables/pytables-3.7.0-r1.ebuild index 48edb62f3560..bbd5389892f6 100644 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ b/dev-python/pytables/pytables-3.7.0-r1.ebuild @@ -22,7 +22,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~a IUSE="doc examples test" RESTRICT="!test? ( test )" -# See https://github.com/PyTables/PyTables/issues/912 for hdf5 upper bound DEPEND=" app-arch/bzip2:0= app-arch/lz4:0= @@ -30,7 +29,7 @@ DEPEND=" >=dev-libs/c-blosc-1.11.1:0= dev-libs/lzo:2= >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] - =sci-libs/hdf5-1.10:= " RDEPEND="${DEPEND} >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] @@ -44,7 +43,7 @@ BDEPEND=" ) " -DOCS=( RELEASE_NOTES.txt THANKS ) +DOCS=( doc/source/release_notes.rst THANKS ) python_prepare_all() { export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr @@ -72,6 +71,7 @@ python_install_all() { if use doc; then DOCS+=( doc/scripts ) fi + distutils-r1_python_install_all if use examples; then
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 976696860684f2583e4c428bc7ec4b033176c984 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Dec 29 06:24:24 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Dec 29 06:24:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97669686 dev-python/pytables: add 3.7.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.7.0.ebuild | 83 +++ 2 files changed, 84 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index bb12893a62e8..0ef697796364 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1 +1,2 @@ DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff +DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild new file mode 100644 index ..48edb62f3560 --- /dev/null +++ b/dev-python/pytables/pytables-3.7.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +inherit distutils-r1 + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="https://www.pytables.org/; +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +# See https://github.com/PyTables/PyTables/issues/912 for hdf5 upper bound +DEPEND=" + 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}] +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: c7501a1096a712db846458590561931aea97a94d Author: Sam James gentoo org> AuthorDate: Sat Nov 20 07:44:08 2021 + Commit: Sam James gentoo org> CommitDate: Sat Nov 20 07:44:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7501a10 dev-python/pytables: fix HDF5 upper bound Bug: https://bugs.gentoo.org/805995 Signed-off-by: Sam James gentoo.org> .../pytables/{pytables-3.6.1-r1.ebuild => pytables-3.6.1-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r2.ebuild similarity index 98% rename from dev-python/pytables/pytables-3.6.1-r1.ebuild rename to dev-python/pytables/pytables-3.6.1-r2.ebuild index f836ec63658f..39b290e8a448 100644 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r2.ebuild @@ -30,7 +30,7 @@ DEPEND=" >=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}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 6c862f5cdc217baa4175564b05ec21bfe858824c Author: Sam James gentoo org> AuthorDate: Sat Nov 20 06:46:55 2021 + Commit: Sam James gentoo org> CommitDate: Sat Nov 20 06:46:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c862f5c dev-python/pytables: drop unused flag-o-matic Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild index bcad8167a71a..f836ec63658f 100644 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} -inherit distutils-r1 flag-o-matic +inherit distutils-r1 DESCRIPTION="Hierarchical datasets for Python" HOMEPAGE="https://www.pytables.org/;
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: a9a3566f532b65a95141b1e5a9f013cb5c3df009 Author: Sam James gentoo org> AuthorDate: Sat Nov 20 06:42:53 2021 + Commit: Sam James gentoo org> CommitDate: Sat Nov 20 06:42:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a3566f dev-python/pytables: skip some known-failing tests on big endian Use Debian's patch for this. Bug: https://bugs.gentoo.org/805995 Signed-off-by: Sam James gentoo.org> ...tables-3.6.1-big-endian-tests-skip-subset.patch | 36 ++ dev-python/pytables/pytables-3.6.1-r1.ebuild | 1 + 2 files changed, 37 insertions(+) diff --git a/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch b/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch new file mode 100644 index ..6a492a1a581f --- /dev/null +++ b/dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/805995 +https://github.com/PyTables/PyTables/issues/735 +https://sources.debian.org/src/pytables/3.6.1-5/debian/patches/0005-Skip-index-backcompat-tests-on-bingendian.patch/ + +From: Antonio Valentino +Date: Sat, 3 Aug 2019 16:22:13 + +Subject: Skip index backcompat tests on bingendian + +Forwarded: not-needed +--- a/tables/tests/test_index_backcompat.py b/tables/tests/test_index_backcompat.py +@@ -6,8 +6,10 @@ from tables.tests.common import verbose + from tables.tests.common import unittest, test_filename + from tables.tests.common import PyTablesTestCase as TestCase + ++import sys + + # Check indexes from PyTables version 2.0 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class IndexesTestCase(common.TestFileMixin, TestCase): + + def setUp(self): +@@ -145,11 +147,13 @@ class IndexesTestCase(common.TestFileMixin, TestCase): + + + # Check indexes from PyTables version 2.0 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class Indexes2_0TestCase(IndexesTestCase): + h5fname = test_filename("indexes_2_0.h5") + + + # Check indexes from PyTables version 2.1 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class Indexes2_1TestCase(IndexesTestCase): + h5fname = test_filename("indexes_2_1.h5") + diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild index b9fcf11be120..bcad8167a71a 100644 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild @@ -49,6 +49,7 @@ DOCS=( RELEASE_NOTES.txt THANKS ) PATCHES=( "${FILESDIR}"/${P}-numpy-float.patch "${FILESDIR}"/${P}-py310.patch + "${FILESDIR}"/${PN}-3.6.1-big-endian-tests-skip-subset.patch ) python_prepare_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 2761d51b3214720928cb97d73200235b5eaac6e4 Author: Sam James gentoo org> AuthorDate: Sat Nov 20 06:35:33 2021 + Commit: Sam James gentoo org> CommitDate: Sat Nov 20 06:35:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2761d51b dev-python/pytables: Keyword 3.6.1-r1 hppa, #804136 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild index 594f1e68b4fc..b9fcf11be120 100644 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 9b7fa83bbf0fde3d0fa23ea0ecd521c62a71ddb1 Author: Sam James gentoo org> AuthorDate: Fri Nov 19 13:25:09 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 19 13:32:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7fa83b dev-python/pytables: disable use of bundled libraries Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1-r1.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild index ffa7d9a37680..594f1e68b4fc 100644 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild @@ -37,6 +37,7 @@ RDEPEND="${DEPEND} dev-python/six[${PYTHON_USEDEP}]" BDEPEND=" >=dev-python/cython-0.21[${PYTHON_USEDEP}] + virtual/pkgconfig test? ( dev-python/mock[${PYTHON_USEDEP}] ${RDEPEND} @@ -51,7 +52,10 @@ PATCHES=( ) python_prepare_all() { - export HDF5_DIR="${EPREFIX}"/usr + export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE + rm tables/*.c || die sed -e "s:/usr:${EPREFIX}/usr:g" \ -i setup.py || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 76886ed3b4ebda4fd6b57435ee43a6dd6b58af61 Author: Sam James gentoo org> AuthorDate: Fri Nov 19 13:16:26 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 19 13:16:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76886ed3 dev-python/pytables: depend on older hdf5 Closes: https://bugs.gentoo.org/805995 Reported-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> .../pytables/{pytables-3.6.1.ebuild => pytables-3.6.1-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild similarity index 94% rename from dev-python/pytables/pytables-3.6.1.ebuild rename to dev-python/pytables/pytables-3.6.1-r1.ebuild index 0e9b03b561c5..ffa7d9a37680 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1-r1.ebuild @@ -16,12 +16,13 @@ HOMEPAGE="https://www.pytables.org/; SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" +LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )" +# See https://github.com/PyTables/PyTables/issues/912 for hdf5 upper bound DEPEND=" app-arch/bzip2:0= app-arch/lz4:0= @@ -29,7 +30,7 @@ DEPEND=" >=dev-libs/c-blosc-1.11.1:0= dev-libs/lzo:2= >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.15:0= + =dev-python/numexpr-2.5.2[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: add877d56ef6def8efee38932d56abeb15f99e90 Author: Sam James gentoo org> AuthorDate: Sun Nov 14 23:50:44 2021 + Commit: Sam James gentoo org> CommitDate: Sun Nov 14 23:50:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add877d5 dev-python/pytables: Stabilize 3.6.1 ppc64, #813567 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 4e9dfb6a0942..0e9b03b561c5 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 6aa7b76251afe9d38f105a488c72053ce2d1a987 Author: Sam James gentoo org> AuthorDate: Sun Oct 24 21:14:00 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 24 21:14:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa7b762 dev-python/pytables: Stabilize 3.6.1 arm64, #813567 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 970bd450453..8197249c5c3 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: c128f91eda9f96b24902d69c2adb54c98692683e Author: Sam James gentoo org> AuthorDate: Mon Sep 6 23:42:14 2021 + Commit: Sam James gentoo org> CommitDate: Mon Sep 6 23:42:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c128f91e dev-python/pytables: Keyword 3.6.1 s390, #804136 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index b3413a3c545..8e81815b212 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 2b1f1d6fc739dc6e69ce1d1bc382cfdccd25309c Author: Sam James gentoo org> AuthorDate: Mon Sep 6 23:37:32 2021 + Commit: Sam James gentoo org> CommitDate: Mon Sep 6 23:37:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b1f1d6f dev-python/pytables: Keyword 3.6.1 ppc64, #804136 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 75349e07544..b3413a3c545 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 33e9eb4f181b752cc4952bade0b206a4274f0eb9 Author: Sam James gentoo org> AuthorDate: Mon Sep 6 00:12:34 2021 + Commit: Sam James gentoo org> CommitDate: Mon Sep 6 00:12:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e9eb4f dev-python/pytables: Keyword 3.6.1 ppc, #804136 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 0620287b2eb..75349e07544 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: cae46a97527f3c623d485ac95ee30b7424f71ed7 Author: Marek Szuba gentoo org> AuthorDate: Sun Aug 15 22:03:34 2021 + Commit: Marek Szuba gentoo org> CommitDate: Sun Aug 15 22:03:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae46a97 dev-python/pytables: keyword 3.6.1 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index d8118cbff31..0620287b2eb 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/files/, dev-python/pytables/
commit: 73150fbf0a09f34520a7721298a07c81dacae77a Author: Michał Górny gentoo org> AuthorDate: Sun Jun 20 18:34:53 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 20 18:34:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73150fbf dev-python/pytables: Enable py3.10 Signed-off-by: Michał Górny gentoo.org> .../pytables/files/pytables-3.6.1-py310.patch | 49 ++ dev-python/pytables/pytables-3.6.1.ebuild | 5 ++- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/files/pytables-3.6.1-py310.patch b/dev-python/pytables/files/pytables-3.6.1-py310.patch new file mode 100644 index 000..600516d1639 --- /dev/null +++ b/dev-python/pytables/files/pytables-3.6.1-py310.patch @@ -0,0 +1,49 @@ +From 2431150d691f5ccdb3da204a46e346c156ea2523 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= +Date: Mon, 16 Nov 2020 10:53:05 +0100 +Subject: [PATCH] doctest: adjust __init__ TypeError formatting + +Python3.10 includes the class name in the TypeError string for +__init__(), so the literal match does not work anymore. +--- + tables/atom.py| 4 ++-- + tables/filters.py | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tables/atom.py b/tables/atom.py +index 81d37c54..9cfd8609 100644 +--- a/tables/atom.py b/tables/atom.py +@@ -569,10 +569,10 @@ class Atom(metaclass=MetaAtom): + >>> atom3 = atom1.copy(shape=(2, 2)) + >>> print(atom3) + Int32Atom(shape=(2, 2), dflt=0) +->>> atom1.copy(foobar=42) ++>>> atom1.copy(foobar=42) #doctest: +ELLIPSIS + Traceback (most recent call last): + ... +-TypeError: __init__() got an unexpected keyword argument 'foobar' ++TypeError: ...__init__() got an unexpected keyword argument 'foobar' + + """ + newargs = self._get_init_args() +diff --git a/tables/filters.py b/tables/filters.py +index f809ce77..7cb9b02d 100644 +--- a/tables/filters.py b/tables/filters.py +@@ -432,10 +432,10 @@ class Filters: + Filters(complevel=0, shuffle=False, bitshuffle=False, fletcher32=False, least_significant_digit=None) + >>> print(filters3) + Filters(complevel=1, complib='zlib', shuffle=False, bitshuffle=False, fletcher32=False, least_significant_digit=None) +->>> filters1.copy(foobar=42) ++>>> filters1.copy(foobar=42) #doctest: +ELLIPSIS + Traceback (most recent call last): + ... +-TypeError: __init__() got an unexpected keyword argument 'foobar' ++TypeError: ...__init__() got an unexpected keyword argument 'foobar' + + """ + +-- +2.32.0 + diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index b504eaf8f32..67448098a5b 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables @@ -46,6 +46,7 @@ DOCS=( RELEASE_NOTES.txt THANKS ) PATCHES=( "${FILESDIR}"/${P}-numpy-float.patch + "${FILESDIR}"/${P}-py310.patch ) python_prepare_all() { @@ -64,7 +65,7 @@ python_compile() { python_test() { cd "${BUILD_DIR}"/lib* || die - ${EPYTHON} tables/tests/test_all.py || die + "${EPYTHON}" tables/tests/test_all.py -v || die } python_install_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: 83308d078978f201c7848a90ee5a8435e6e0ab2a Author: Michał Górny gentoo org> AuthorDate: Sun Jun 20 17:37:10 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 20 17:38:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83308d07 dev-python/pytables: Fix test failures with recent numpy Signed-off-by: Michał Górny gentoo.org> .../files/pytables-3.6.1-numpy-float.patch | 176 + dev-python/pytables/pytables-3.6.1.ebuild | 28 ++-- 2 files changed, 193 insertions(+), 11 deletions(-) diff --git a/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch b/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch new file mode 100644 index 000..71fa3b85dac --- /dev/null +++ b/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch @@ -0,0 +1,176 @@ +From d2a480d14f29fb1d2baee292bc6a2cca4817dcbd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= +Date: Sun, 24 Jan 2021 16:36:21 +0100 +Subject: [PATCH] Use lowercase float/int as numpy dtype + +Float64 is gone with numpy 1.20, which causes doctests to fail +(https://bugzilla.redhat.com/show_bug.cgi?id=1914335). + +Similarly all uses of Float32, Int32 should be replaced by float32 and int32. + +>>> numpy.__version__ +'1.19.4' +>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] +['float16', 'Float16', 'float32', 'Float32', 'float64', 'Float64', 'float128', 'Float128', 'float_', 'float'] + +>>> numpy.__version__ +'1.20.0rc2' +>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] +['float16', 'float32', 'float64', 'float128', 'float_', 'float'] +--- + bench/bsddb-table-bench.py | 10 +- + bench/postgres-search-bench.py | 4 ++-- + bench/pytables-search-bench.py | 6 +++--- + bench/recarray2-test.py| 2 +- + bench/shelve-bench.py | 10 +- + bench/sqlite-search-bench.py | 4 ++-- + tables/atom.py | 2 +- + 7 files changed, 19 insertions(+), 19 deletions(-) + +diff --git a/bench/bsddb-table-bench.py b/bench/bsddb-table-bench.py +index dd9f875b..a2e02361 100644 +--- a/bench/bsddb-table-bench.py b/bench/bsddb-table-bench.py +@@ -83,11 +83,11 @@ def createFile(filename, totalrows, recsize, verbose): + # Get the record object associated with the new table + if recsize == "big": + isrec = Big() +-arr = np.array(np.arange(32), type=np.Float64) +-arr2 = np.array(np.arange(32), type=np.Float64) ++arr = np.array(np.arange(32), type=np.float64) ++arr2 = np.array(np.arange(32), type=np.float64) + elif recsize == "medium": + isrec = Medium() +-arr = np.array(np.arange(2), type=np.Float64) ++arr = np.array(np.arange(2), type=np.float64) + else: + isrec = Small() + # print d +@@ -107,8 +107,8 @@ def createFile(filename, totalrows, recsize, verbose): + #d['TDCcount'] = i % 256 + d['ADCcount'] = (i * 256) % (1 << 16) + if recsize == "big": +-#d.float1 = np.array([i]*32, np.Float64) +-#d.float2 = np.array([i**2]*32, np.Float64) ++#d.float1 = np.array([i]*32, np.float64) ++#d.float2 = np.array([i**2]*32, np.float64) + arr[0] = 1.1 + d['float1'] = arr + arr2[0] = 2.2 +diff --git a/bench/postgres-search-bench.py b/bench/postgres-search-bench.py +index d2c9f4f4..7fe83f6a 100644 +--- a/bench/postgres-search-bench.py b/bench/postgres-search-bench.py +@@ -15,11 +15,11 @@ def flatten(l): + + + def fill_arrays(start, stop): +-col_i = numpy.arange(start, stop, type=numpy.Int32) ++col_i = numpy.arange(start, stop, type=numpy.int32) + if userandom: + col_j = numpy.random.uniform(0, nrows, size=[stop - start]) + else: +-col_j = numpy.array(col_i, type=numpy.Float64) ++col_j = numpy.array(col_i, type=numpy.float64) + return col_i, col_j + + # Generator for ensure pytables benchmark compatibility +diff --git a/bench/pytables-search-bench.py b/bench/pytables-search-bench.py +index 726d30b1..6417186b 100644 +--- a/bench/pytables-search-bench.py b/bench/pytables-search-bench.py +@@ -37,11 +37,11 @@ def create_db(filename, nrows): + stop = (j + 1) * step + if stop > nrows: + stop = nrows +-arr_f8 = np.arange(i, stop, type=np.Float64) +-arr_i4 = np.arange(i, stop, type=np.Int32) ++arr_f8 = np.arange(i, stop, type=np.float64) ++arr_i4 = np.arange(i, stop, type=np.int32) + if userandom: + arr_f8 += np.random.normal(0, stop * scale, shape=[stop - i]) +-arr_i4 = np.array(arr_f8, type=np.Int32) ++arr_i4 = np.array(arr_f8, type=np.int32) + recarr = np.rec.fromarrays([arr_i4, arr_i4, arr_f8, arr_f8]) + table.append(recarr) + j += 1 +diff
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: f2b0d61844359ea6c99edd6d764e93564fb5e3bc Author: Jakov Smolic sartura hr> AuthorDate: Thu Oct 15 06:16:25 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 16 18:21:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b0d618 dev-python/pytables: correct DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/748702 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 926cdcf1800..bb4910ff792 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -3,6 +3,7 @@ EAPI=6 +DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="threads(+)"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 8a9ebc35443685d9a6dff1fdab47a8d0d1f37c93 Author: Sam James gentoo org> AuthorDate: Tue Aug 18 05:36:17 2020 + Commit: Sam James gentoo org> CommitDate: Tue Aug 18 05:36:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9ebc35 dev-python/pytables: Keyword 3.6.1 arm, #723912 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 395912f6df9..926cdcf1800 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://www.pytables.org/; SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 221cd2ea9a092645fbae872151d9810184e7fd5f Author: Sam James gentoo org> AuthorDate: Tue Aug 18 05:24:10 2020 + Commit: Sam James gentoo org> CommitDate: Tue Aug 18 05:24:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=221cd2ea dev-python/pytables: arm64 keyworded (bug #723912) Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 0d24b5b1d06..395912f6df9 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://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" +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: cce27e36f3e4df3354d6a96339e5d011c519296a Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Aug 3 21:23:53 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Aug 14 23:21:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce27e36 dev-python/pytables: Drop superfluous calls to python_is_python3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 8 dev-python/pytables/pytables-3.6.1.ebuild | 4 2 files changed, 12 deletions(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 9a5ed1e3811..f1f8a63e8be 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -51,14 +51,6 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_compile() { - if ! python_is_python3; then - local -x CFLAGS="${CFLAGS}" - append-cflags -fno-strict-aliasing - fi - distutils-r1_python_compile -} - python_test() { cd "${BUILD_DIR}"/lib* || die ${EPYTHON} tables/tests/test_all.py || die diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 0406c688685..0d24b5b1d06 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -52,10 +52,6 @@ python_prepare_all() { } python_compile() { - if ! python_is_python3; then - local -x CFLAGS="${CFLAGS}" - append-cflags -fno-strict-aliasing - fi distutils-r1_python_compile -j1 }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 960371d58581d092a7f01285f299717be5b1572d Author: Sam James gentoo org> AuthorDate: Fri Aug 7 19:11:02 2020 + Commit: Sam James gentoo org> CommitDate: Fri Aug 7 19:18:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960371d5 dev-python/pytables: Stabilize 3.6.1 x86, #730968 Signed-off-by: Sam James gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 0449061505c..0406c688685 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://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" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 775e2630e0d400c5b43e37fa582c2aad9768c84a Author: Michał Górny gentoo org> AuthorDate: Mon Jul 6 13:17:44 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 6 14:13:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775e2630 dev-python/pytables: Stabilize 3.6.1 amd64, #730968 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index bbf468920d0..0449061505c 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://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" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: fe245c5775271cd7bbf40c8384ab08dd0eaaf954 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 6 11:30:19 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 6 11:38:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe245c57 dev-python/pytables: Fix parallel build failure Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.6.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index abe2b97d2fe..bbf468920d0 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -56,7 +56,7 @@ python_compile() { local -x CFLAGS="${CFLAGS}" append-cflags -fno-strict-aliasing fi - distutils-r1_python_compile + distutils-r1_python_compile -j1 } python_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: e756307d718ec9b4ac33a3412771f467a2dea340 Author: Pacho Ramos gentoo org> AuthorDate: Sat Jun 6 22:14:10 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Jun 6 22:22:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e756307d dev-python/pytables: Bump to 3.6.1 Closes: https://bugs.gentoo.org/663960 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.6.1.ebuild | 79 +++ 2 files changed, 80 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 5c874c96288..995b04c680a 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1 +1,2 @@ DIST tables-3.4.4.tar.gz 4626053 BLAKE2B cca4f87aa62db16bb47e131bf670e1013d363dea9c807f399688e184610f682c49b00b686d8e28a03caf94a98e51b11bf646df66f4e3db66f481751f096906f8 SHA512 2d0cdd36a6f14702f424773b64187d1980d73a72525ead43b272776bb32b2ebc4c6ea0b7e3343c8600d7f62c42d008b5e835439af30e76ea11c750431ddf +DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild new file mode 100644 index 000..abe2b97d2fe --- /dev/null +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="https://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 test" +RESTRICT="!test? ( test )" + +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}] + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/${MY_P}" + +DOCS=( 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 + sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! python_is_python3; then + local -x CFLAGS="${CFLAGS}" + append-cflags -fno-strict-aliasing + fi + 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 + DOCS+=( doc/scripts ) + fi + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + dodoc -r contrib + docompress -x /usr/share/doc/${PF}/examples + docompress -x /usr/share/doc/${PF}/contrib + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: fdc6ebd5f17eee5296bb0e65b51307aa4178099e Author: Michał Górny gentoo org> AuthorDate: Thu Jan 30 17:30:15 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 30 17:30:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc6ebd5 dev-python/pytables: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 9b372c3d5fb..9a5ed1e3811 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: f12b766c409c5d69fcefad538776cab0f4e0c3fd Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 15 19:40:09 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 15 20:56:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12b766c dev-python/pytables: Drop 3.3.0 and 3.4.2 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pytables/Manifest | 2 - dev-python/pytables/pytables-3.3.0.ebuild | 74 - dev-python/pytables/pytables-3.4.2.ebuild | 77 --- 3 files changed, 153 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 50d9905631d..5c874c96288 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,3 +1 @@ -DIST tables-3.3.0.tar.gz 7004337 BLAKE2B 7ca95e65920c3bc16b5bac8c3bf92f2fa9c498eedfc981ee9e27c77f30f31bd527f15b37d8ffcc03bb2dbede170cce1a1ab7fc54de5ffebfafa4e41f69bbc46b SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 -DIST tables-3.4.2.tar.gz 7593471 BLAKE2B 1a011a2a910a25d4e7cad68b5a1a267482f5ed958aa824dfba5a6c902200c56253c7d5609cd674dfcb288f6ebf2ecb76f4324e53b852f70d0cfc60d6b222510a SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b DIST tables-3.4.4.tar.gz 4626053 BLAKE2B cca4f87aa62db16bb47e131bf670e1013d363dea9c807f399688e184610f682c49b00b686d8e28a03caf94a98e51b11bf646df66f4e3db66f481751f096906f8 SHA512 2d0cdd36a6f14702f424773b64187d1980d73a72525ead43b272776bb32b2ebc4c6ea0b7e3343c8600d7f62c42d008b5e835439af30e76ea11c750431ddf diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild deleted file mode 100644 index 53b3611e43a..000 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{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= - 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 - sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: f548fc3683bd7279cdd1e5c8f92ee6d46bd7d9b3 Author: Craig Andrews gentoo org> AuthorDate: Fri Jan 18 22:19:40 2019 + Commit: Craig Andrews gentoo org> CommitDate: Fri Jan 18 22:19:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f548fc36 dev-python/pytables: don't try to install docs/html Bug: https://bugs.gentoo.org/672662 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index d50eccfc1b9..631c7abcf9b 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -65,7 +65,6 @@ python_test() { python_install_all() { if use doc; then - HTML_DOCS=( doc/html/. ) DOCS+=( doc/scripts ) fi distutils-r1_python_install_all
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: fcd6a2250935fd6365307cb7d13f2399b5b20621 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Jan 17 21:25:42 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jan 17 21:25:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd6a225 dev-python/pytables: amd64 stable wrt bug #673838 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/pytables/pytables-3.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 265889bd4b0..d50eccfc1b9 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://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" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 721db928e0fcd46313c9a3eb09efbfe4f15ba5cd Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Jan 2 19:00:42 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Jan 2 19:01:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721db928 dev-python/pytables: x86 stable (bug #673838) Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 4d78d0413dc..265889bd4b0 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,7 +16,7 @@ HOMEPAGE="https://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" +KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples test"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 09f51899044592ec6f046c37d815fcd04acd4817 Author: Craig Andrews gentoo org> AuthorDate: Sun Dec 30 18:15:21 2018 + Commit: Craig Andrews gentoo org> CommitDate: Tue Jan 1 21:09:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f51899 dev-python/pytables: add test dependency on mock Closes: https://bugs.gentoo.org/674026 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 9995427aed4..4d78d0413dc 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -18,7 +18,7 @@ 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" +IUSE="doc examples test" RDEPEND=" app-arch/bzip2:0= @@ -33,6 +33,7 @@ RDEPEND=" " DEPEND="${RDEPEND} >=dev-python/cython-0.21[${PYTHON_USEDEP}] + test? ( dev-python/mock[${PYTHON_USEDEP}] ) " S="${WORKDIR}/${MY_P}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 3d2662e7739396e3582abbe77e97d00ba930a24f Author: Craig Andrews gentoo org> AuthorDate: Thu Dec 6 23:45:35 2018 + Commit: Craig Andrews gentoo org> CommitDate: Thu Dec 6 23:59:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2662e7 dev-python/pytables: Remove missing file from DOCS, add inherit Closes: https://bugs.gentoo.org/672662 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-python/pytables/pytables-3.4.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild index 2dbdcf0375b..9995427aed4 100644 --- a/dev-python/pytables/pytables-3.4.4.ebuild +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="Hierarchical datasets for Python" HOMEPAGE="https://www.pytables.org/; @@ -37,7 +37,7 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) +DOCS=( RELEASE_NOTES.txt THANKS ) python_prepare_all() { export HDF5_DIR="${EPREFIX}"/usr
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: a192dc9b171a51cf5d3d5f2808c1a52e3e170406 Author: Craig Andrews gentoo org> AuthorDate: Mon Nov 26 20:58:27 2018 + Commit: Craig Andrews gentoo org> CommitDate: Thu Dec 6 20:46:48 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a192dc9b dev-python/pytables: 3.4.4 version bump Closes: https://bugs.gentoo.org/668472 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.4.4.ebuild | 78 +++ 2 files changed, 79 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index d069585f263..50d9905631d 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1,3 @@ DIST tables-3.3.0.tar.gz 7004337 BLAKE2B 7ca95e65920c3bc16b5bac8c3bf92f2fa9c498eedfc981ee9e27c77f30f31bd527f15b37d8ffcc03bb2dbede170cce1a1ab7fc54de5ffebfafa4e41f69bbc46b SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 DIST tables-3.4.2.tar.gz 7593471 BLAKE2B 1a011a2a910a25d4e7cad68b5a1a267482f5ed958aa824dfba5a6c902200c56253c7d5609cd674dfcb288f6ebf2ecb76f4324e53b852f70d0cfc60d6b222510a SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b +DIST tables-3.4.4.tar.gz 4626053 BLAKE2B cca4f87aa62db16bb47e131bf670e1013d363dea9c807f399688e184610f682c49b00b686d8e28a03caf94a98e51b11bf646df66f4e3db66f481751f096906f8 SHA512 2d0cdd36a6f14702f424773b64187d1980d73a72525ead43b272776bb32b2ebc4c6ea0b7e3343c8600d7f62c42d008b5e835439af30e76ea11c750431ddf diff --git a/dev-python/pytables/pytables-3.4.4.ebuild b/dev-python/pytables/pytables-3.4.4.ebuild new file mode 100644 index 000..2dbdcf0375b --- /dev/null +++ b/dev-python/pytables/pytables-3.4.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_REQ_USE="threads(+)" + +MY_PN=tables +MY_P=${MY_PN}-${PV} + +inherit distutils-r1 + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE="https://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 + sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! python_is_python3; then + local -x CFLAGS="${CFLAGS}" + append-cflags -fno-strict-aliasing + fi + 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 + dodoc -r examples + dodoc -r contrib + docompress -x /usr/share/doc/${PF}/examples + docompress -x /usr/share/doc/${PF}/contrib + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 9ac05b825d825c04f7a25c1730299d6d1db39928 Author: Craig Andrews gentoo org> AuthorDate: Mon Nov 26 20:57:17 2018 + Commit: Craig Andrews gentoo org> CommitDate: Thu Dec 6 20:40:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac05b82 dev-python/pytables: Fix for Python 3.7 Closes: https://bugs.gentoo.org/664258 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-python/pytables/pytables-3.4.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-python/pytables/pytables-3.4.2.ebuild b/dev-python/pytables/pytables-3.4.2.ebuild index 02d1be95e96..71c6708813c 100644 --- a/dev-python/pytables/pytables-3.4.2.ebuild +++ b/dev-python/pytables/pytables-3.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables @@ -45,6 +45,7 @@ python_prepare_all() { sed -e "s:/usr:${EPREFIX}/usr:g" \ -i setup.py || die rm -r c-blosc/{blosc,internal-complibs} || die + sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/, dev-python/pytables/files/
commit: 6891e6348ac3444b82d655d97c244d05ef122a8e Author: Benda Xu gentoo org> AuthorDate: Mon Dec 4 03:23:15 2017 + Commit: Benda XU gentoo org> CommitDate: Mon Dec 4 03:23:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6891e634 dev-python/pytables: drop old version. Reported-by: Orivej Desh gmx.fr> Suggested-by: Nick Wallingford wallingford.cc> Bug: https://bugs.gentoo.org/590936 Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-python/pytables/Manifest | 3 +- .../pytables/files/pytables-3.1.1-blosc.patch | 16 - .../files/pytables-3.1.1-cython-backport.patch | 65 --- .../files/pytables-3.1.1-numpy19-backport.patch| 51 --- dev-python/pytables/pytables-3.1.1-r2.ebuild | 75 -- 5 files changed, 1 insertion(+), 209 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index e18340aad94..0e5ff0132fe 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,3 +1,2 @@ -DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6 WHIRLPOOL 86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91 DIST tables-3.3.0.tar.gz 7004337 SHA256 8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 WHIRLPOOL f270f741d6886775cc730fbcb79de215fbbe2d9b7b2b6efc6b5b3fa7d141046e7c69daad140ad7cc533b439bfae801ea0e1567939dc4258e5c3b6a88f27cd86c -DIST tables-3.4.2.tar.gz 7593471 SHA256 fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b WHIRLPOOL 392e117a3ad372ee91a02ee66994f3c03e67b4ae7473f5761e13215ce33084fc3ac8e9e371ca9b59f374066523bcd3ebbced01c49faaa84d4af75a26811ee35f +DIST tables-3.4.2.tar.gz 7593471 BLAKE2B 1a011a2a910a25d4e7cad68b5a1a267482f5ed958aa824dfba5a6c902200c56253c7d5609cd674dfcb288f6ebf2ecb76f4324e53b852f70d0cfc60d6b222510a SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b diff --git a/dev-python/pytables/files/pytables-3.1.1-blosc.patch b/dev-python/pytables/files/pytables-3.1.1-blosc.patch deleted file mode 100644 index 3a4ba18e5e7..000 --- a/dev-python/pytables/files/pytables-3.1.1-blosc.patch +++ /dev/null @@ -1,16 +0,0 @@ - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 2c0c126..1448eb1 100755 a/setup.py -+++ b/setup.py -@@ -768,7 +768,7 @@ if 'BLOSC' not in optional_libs: - print("Setting compiler flag '-msse2'") - CFLAGS.append("-msse2") - else: --ADDLIBS += ['blosc'] -+ADDLIBS += ['blosc', 'blosc_filter'] - - - utilsExtension_libs = LIBS + ADDLIBS diff --git a/dev-python/pytables/files/pytables-3.1.1-cython-backport.patch b/dev-python/pytables/files/pytables-3.1.1-cython-backport.patch deleted file mode 100644 index 7db41d2e1a6..000 --- a/dev-python/pytables/files/pytables-3.1.1-cython-backport.patch +++ /dev/null @@ -1,65 +0,0 @@ - setup.py | 13 +++-- - tables/req_versions.py | 2 +- - 2 files changed, 8 insertions(+), 7 deletions(-) - -diff --git a/setup.py b/setup.py -index 0f2f3f7..52cda49 100755 a/setup.py -+++ b/setup.py -@@ -25,6 +25,7 @@ from distutils.core import Extension - from distutils.dep_util import newer - from distutils.util import convert_path - from distutils.ccompiler import new_compiler -+from distutils.version import LooseVersion - - cmdclass = {} - setuptools_kwargs = {} -@@ -106,7 +107,7 @@ def check_import(pkgname, pkgver): - "You need %(pkgname)s %(pkgver)s or greater to run PyTables!" - % {'pkgname': pkgname, 'pkgver': pkgver}) - else: --if mod.__version__ < pkgver: -+if mod.__version__ < LooseVersion(pkgver): - exit_with_error( - "You need %(pkgname)s %(pkgver)s or greater to run PyTables!" - % {'pkgname': pkgname, 'pkgver': pkgver}) -@@ -122,21 +123,21 @@ if not has_setuptools: - - # Check if Cython is installed or not (requisite) - try: -+from Cython import __version__ as cython_version - from Cython.Distutils import build_ext --from Cython.Compiler.Main import Version - cmdclass['build_ext'] = build_ext - except ImportError: - exit_with_error( - "You need %(pkgname)s %(pkgver)s or greater to compile PyTables!" - % {'pkgname': 'Cython', 'pkgver':
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 087ddf9a98c021585acc2c0ec146d3d80080564c Author: Sébastien Fabbro gentoo org> AuthorDate: Wed Jun 28 03:49:59 2017 + Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Jun 28 04:00:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087ddf9a dev-python/pytables: version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.4.2.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 54a8082397e..e18340aad94 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1,3 @@ DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6 WHIRLPOOL 86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91 DIST tables-3.3.0.tar.gz 7004337 SHA256 8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 WHIRLPOOL f270f741d6886775cc730fbcb79de215fbbe2d9b7b2b6efc6b5b3fa7d141046e7c69daad140ad7cc533b439bfae801ea0e1567939dc4258e5c3b6a88f27cd86c +DIST tables-3.4.2.tar.gz 7593471 SHA256 fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b WHIRLPOOL 392e117a3ad372ee91a02ee66994f3c03e67b4ae7473f5761e13215ce33084fc3ac8e9e371ca9b59f374066523bcd3ebbced01c49faaa84d4af75a26811ee35f 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 000..02d1be95e96 --- /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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 26e4069857cd58059b99186a0c2e36cf9da6d3d6 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jun 21 12:11:50 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jun 21 12:11:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e40698 dev-python/pytables: x86 stable wrt bug #606302 Package-Manager: Portage-2.3.6, Repoman-2.3.1 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pytables/pytables-3.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild index 65a80675bcd..cb23edbefc0 100644 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -16,7 +16,7 @@ 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" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 17e7c3eda80a4eec28e7454c03181305e18147d9 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jun 19 17:02:58 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jun 19 17:02:58 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17e7c3ed dev-python/pytables: amd64 stable wrt bug #606302 Package-Manager: Portage-2.3.5, Repoman-2.3.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pytables/pytables-3.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild index 2a1d71b5646..65a80675bcd 100644 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -16,7 +16,7 @@ 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" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="BSD" IUSE="doc examples"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/files/, dev-python/pytables/
commit: 667b0f9ed66f0e45d7193a5279181a5811e9495c Author: Michał Górny gentoo org> AuthorDate: Tue May 2 11:16:55 2017 + Commit: Michał Górny gentoo org> CommitDate: Tue May 2 11:58:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667b0f9e dev-python/pytables: Clean old versions up dev-python/pytables/Manifest | 4 -- .../pytables/files/pytables-3.2.0-blosc.patch | 16 - dev-python/pytables/pytables-3.2.0.ebuild | 73 - dev-python/pytables/pytables-3.2.1.1.ebuild| 74 -- dev-python/pytables/pytables-3.2.1.ebuild | 73 - dev-python/pytables/pytables-3.2.2.ebuild | 74 -- 6 files changed, 314 deletions(-) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index c2eedfa8885..54a8082397e 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,6 +1,2 @@ DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6 WHIRLPOOL 86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91 -DIST tables-3.2.0.tar.gz 7039718 SHA256 60980e44676bfe463cdd2582ecdacc0b0763b259477015e866f8af72b4cdba44 SHA512 6ef7925bafbec04a3f581d13e9cc266b9b68b11dce27cf28c501dbbc538d74ddcfa15cbe97fa69fb793911cc6dbf3112f503b29c6e4e3e7631a6761cc1303253 WHIRLPOOL 412ada055b81fd7409b67288bc2bcf9ed527c9c42dbdd75c52ce7287f53ed12322b8b4423c9fab0aba98e0f12a8764a45316104567c193b469a84fdda3cbfc30 -DIST tables-3.2.1.1.tar.gz 7006881 SHA256 21e9749a60c6acc8a9755a52d95b414bc4f4b2c72a9175af360225883a775358 SHA512 ca70645c9885ae54a74c162ce37ee0a7e605f60757743f9015f184aaae71c8da95c5b443793aee2667ced208be02608ee2ab898403d19a3ec367bb85f3afdbbb WHIRLPOOL 284c847944f46f20efa0b9bc1f69839257528ab8c281456abb864ba475fc24f33ae2be608c50313010ea68f8d037c14c3c27db9aa45ede84fbaa827c27560284 -DIST tables-3.2.1.tar.gz 6988695 SHA256 212d4f32899a9a0a6b3f865262c20c6ff864fb60e1b8be70f0bbc80137456e31 SHA512 5c6ad8a2e07c45a0aa53d98e81192b2cc2f2e0a91b5956ddb84f98523bb7849f5ea0a5cd21047a970d41ecd9a2a2b942e491738c1381ac754ed549eef62170dd WHIRLPOOL 219fec1367e7ddf7ecb1b1080c70576f7be9aaa059fd32d6744f9a661c210b26fc6d72604dad33ed97bc9fbe8febf130b0367fb00099709a0fbbd23b524c3f9e -DIST tables-3.2.2.tar.gz 7008045 SHA256 3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84 SHA512 7e21be2629bdf4c31e015f45c1bd3ba2156124c540f46cdca07fa31bfc45b37decabd9b3f70f7f2c664806d905aed98d168de46f32dcac935065f2201107f357 WHIRLPOOL da2834b9c50d73c3aa6628b36a5c0d76ab7e528a437b5690fff9b0a989a2819048f157fa833f7dea76009ea02abd3c459b854adb3b0acaba5c6bbecefc6c85ad DIST tables-3.3.0.tar.gz 7004337 SHA256 8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 WHIRLPOOL f270f741d6886775cc730fbcb79de215fbbe2d9b7b2b6efc6b5b3fa7d141046e7c69daad140ad7cc533b439bfae801ea0e1567939dc4258e5c3b6a88f27cd86c diff --git a/dev-python/pytables/files/pytables-3.2.0-blosc.patch b/dev-python/pytables/files/pytables-3.2.0-blosc.patch deleted file mode 100644 index 24c58c1a921..000 --- a/dev-python/pytables/files/pytables-3.2.0-blosc.patch +++ /dev/null @@ -1,16 +0,0 @@ - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 2c0c126..1448eb1 100755 a/setup.py -+++ b/setup.py -@@ -768,7 +768,7 @@ if 'BLOSC' not in optional_libs: - CFLAGS.append(ff) - break - else: --ADDLIBS += ['blosc'] -+ADDLIBS += ['blosc', 'blosc_filter'] - - - utilsExtension_libs = LIBS + ADDLIBS diff --git a/dev-python/pytables/pytables-3.2.0.ebuild b/dev-python/pytables/pytables-3.2.0.ebuild deleted file mode 100644 index 597054bc2ab..000 --- a/dev-python/pytables/pytables-3.2.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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= - dev-libs/c-blosc:0=[hdf5] - dev-libs/lzo:2= - >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.4[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:0=" -DEPEND="${RDEPEND} -
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 44557449b154480bd5f349238b657db89b9941f2 Author: Zac Medico gentoo org> AuthorDate: Sat Mar 11 00:49:15 2017 + Commit: Zac Medico gentoo org> CommitDate: Sat Mar 11 00:50:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44557449 dev-python/pytables: Add python3_6 to PYTHON_COMPAT Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-python/pytables/pytables-3.1.1-r2.ebuild | 4 ++-- dev-python/pytables/pytables-3.2.0.ebuild| 4 ++-- dev-python/pytables/pytables-3.2.1.1.ebuild | 4 ++-- dev-python/pytables/pytables-3.2.1.ebuild| 4 ++-- dev-python/pytables/pytables-3.2.2.ebuild| 4 ++-- dev-python/pytables/pytables-3.3.0.ebuild| 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dev-python/pytables/pytables-3.1.1-r2.ebuild b/dev-python/pytables/pytables-3.1.1-r2.ebuild index ed4a13de25a..f22a4f0c61e 100644 --- a/dev-python/pytables/pytables-3.1.1-r2.ebuild +++ b/dev-python/pytables/pytables-3.1.1-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables diff --git a/dev-python/pytables/pytables-3.2.0.ebuild b/dev-python/pytables/pytables-3.2.0.ebuild index 769b09e54de..597054bc2ab 100644 --- a/dev-python/pytables/pytables-3.2.0.ebuild +++ b/dev-python/pytables/pytables-3.2.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables diff --git a/dev-python/pytables/pytables-3.2.1.1.ebuild b/dev-python/pytables/pytables-3.2.1.1.ebuild index 1042419eb8a..1b75f0a72ca 100644 --- a/dev-python/pytables/pytables-3.2.1.1.ebuild +++ b/dev-python/pytables/pytables-3.2.1.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables diff --git a/dev-python/pytables/pytables-3.2.1.ebuild b/dev-python/pytables/pytables-3.2.1.ebuild index 5022ed2ce20..881c844dd98 100644 --- a/dev-python/pytables/pytables-3.2.1.ebuild +++ b/dev-python/pytables/pytables-3.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables diff --git a/dev-python/pytables/pytables-3.2.2.ebuild b/dev-python/pytables/pytables-3.2.2.ebuild index f2d58f80b9a..1b75f0a72ca 100644 --- a/dev-python/pytables/pytables-3.2.2.ebuild +++ b/dev-python/pytables/pytables-3.2.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild index 7f3901392b9..2a1d71b5646 100644 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# 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} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 0f2ace010294e002397727b7776c2d13a69e9361 Author: Justin Lecher gentoo org> AuthorDate: Sun Nov 13 09:49:28 2016 + Commit: Justin Lecher gentoo org> CommitDate: Sun Nov 13 18:15:28 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2ace01 dev-python/pytables: Drop obsolete patch Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599012 Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/pytables-3.3.0.ebuild | 5 - 1 file changed, 5 deletions(-) diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild index 17beb6e..d4e41d8 100644 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -40,16 +40,11 @@ S="${WORKDIR}/${MY_P}" DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) -PATCHES=( - "${FILESDIR}"/${PN}-3.2.0-blosc.patch - ) - python_prepare_all() { export HDF5_DIR="${EPREFIX}"/usr rm tables/*.c || die sed \ -e "s:/usr:${EPREFIX}/usr:g" \ - -e 's:"hdf5-blosc/src/blosc_filter.c"::g' \ -i setup.py || die rm -r c-blosc/{blosc,internal-complibs} || die distutils-r1_python_prepare_all
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 815b165b07c200d44edb13d588a17b1634f1755d Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 5 12:34:07 2016 + Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 5 12:34:43 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815b165b dev-python/pytables: Add back included sources Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/pytables-3.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytables/pytables-3.3.0.ebuild b/dev-python/pytables/pytables-3.3.0.ebuild index 443c04f..17beb6e 100644 --- a/dev-python/pytables/pytables-3.3.0.ebuild +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -51,7 +51,7 @@ python_prepare_all() { -e "s:/usr:${EPREFIX}/usr:g" \ -e 's:"hdf5-blosc/src/blosc_filter.c"::g' \ -i setup.py || die - rm -r c-blosc/{blosc,internal-complibs} hdf5-blosc || die + rm -r c-blosc/{blosc,internal-complibs} || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 0262bcf11fb5a3f4971e13b2f0f3b6b8dee0ffcb Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 5 12:17:11 2016 + Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 5 12:17:21 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0262bcf1 dev-python/pytables: Version Bump Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.3.0.ebuild | 80 +++ 2 files changed, 81 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 092c790..c2eedfa 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -3,3 +3,4 @@ DIST tables-3.2.0.tar.gz 7039718 SHA256 60980e44676bfe463cdd2582ecdacc0b0763b259 DIST tables-3.2.1.1.tar.gz 7006881 SHA256 21e9749a60c6acc8a9755a52d95b414bc4f4b2c72a9175af360225883a775358 SHA512 ca70645c9885ae54a74c162ce37ee0a7e605f60757743f9015f184aaae71c8da95c5b443793aee2667ced208be02608ee2ab898403d19a3ec367bb85f3afdbbb WHIRLPOOL 284c847944f46f20efa0b9bc1f69839257528ab8c281456abb864ba475fc24f33ae2be608c50313010ea68f8d037c14c3c27db9aa45ede84fbaa827c27560284 DIST tables-3.2.1.tar.gz 6988695 SHA256 212d4f32899a9a0a6b3f865262c20c6ff864fb60e1b8be70f0bbc80137456e31 SHA512 5c6ad8a2e07c45a0aa53d98e81192b2cc2f2e0a91b5956ddb84f98523bb7849f5ea0a5cd21047a970d41ecd9a2a2b942e491738c1381ac754ed549eef62170dd WHIRLPOOL 219fec1367e7ddf7ecb1b1080c70576f7be9aaa059fd32d6744f9a661c210b26fc6d72604dad33ed97bc9fbe8febf130b0367fb00099709a0fbbd23b524c3f9e DIST tables-3.2.2.tar.gz 7008045 SHA256 3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84 SHA512 7e21be2629bdf4c31e015f45c1bd3ba2156124c540f46cdca07fa31bfc45b37decabd9b3f70f7f2c664806d905aed98d168de46f32dcac935065f2201107f357 WHIRLPOOL da2834b9c50d73c3aa6628b36a5c0d76ab7e528a437b5690fff9b0a989a2819048f157fa833f7dea76009ea02abd3c459b854adb3b0acaba5c6bbecefc6c85ad +DIST tables-3.3.0.tar.gz 7004337 SHA256 8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c SHA512 e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36 WHIRLPOOL f270f741d6886775cc730fbcb79de215fbbe2d9b7b2b6efc6b5b3fa7d141046e7c69daad140ad7cc533b439bfae801ea0e1567939dc4258e5c3b6a88f27cd86c 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 ..443c04f --- /dev/null +++ b/dev-python/pytables/pytables-3.3.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +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= +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 7a65d3b3363c752700fb8e17a940d5ba23da306f Author: Justin Lecher gentoo org> AuthorDate: Wed Nov 11 17:23:09 2015 + Commit: Justin Lecher gentoo org> CommitDate: Wed Nov 11 17:27:03 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a65d3b3 dev-python/pytables: Depend on threading support in python Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/pytables-3.1.1-r2.ebuild | 1 + dev-python/pytables/pytables-3.2.0.ebuild| 1 + dev-python/pytables/pytables-3.2.1.1.ebuild | 1 + dev-python/pytables/pytables-3.2.1.ebuild| 1 + dev-python/pytables/pytables-3.2.2.ebuild| 1 + 5 files changed, 5 insertions(+) diff --git a/dev-python/pytables/pytables-3.1.1-r2.ebuild b/dev-python/pytables/pytables-3.1.1-r2.ebuild index e8fb46b..459df8b 100644 --- a/dev-python/pytables/pytables-3.1.1-r2.ebuild +++ b/dev-python/pytables/pytables-3.1.1-r2.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} diff --git a/dev-python/pytables/pytables-3.2.0.ebuild b/dev-python/pytables/pytables-3.2.0.ebuild index e1a0c77..38cf18f 100644 --- a/dev-python/pytables/pytables-3.2.0.ebuild +++ b/dev-python/pytables/pytables-3.2.0.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} diff --git a/dev-python/pytables/pytables-3.2.1.1.ebuild b/dev-python/pytables/pytables-3.2.1.1.ebuild index 8b1eaa9..4a14475 100644 --- a/dev-python/pytables/pytables-3.2.1.1.ebuild +++ b/dev-python/pytables/pytables-3.2.1.1.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} diff --git a/dev-python/pytables/pytables-3.2.1.ebuild b/dev-python/pytables/pytables-3.2.1.ebuild index 98e3ef7..002aa37 100644 --- a/dev-python/pytables/pytables-3.2.1.ebuild +++ b/dev-python/pytables/pytables-3.2.1.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV} diff --git a/dev-python/pytables/pytables-3.2.2.ebuild b/dev-python/pytables/pytables-3.2.2.ebuild index eae17ea..0800683 100644 --- a/dev-python/pytables/pytables-3.2.2.ebuild +++ b/dev-python/pytables/pytables-3.2.2.ebuild @@ -5,6 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) +PYTHON_REQ_USE="threads(+)" MY_PN=tables MY_P=${MY_PN}-${PV}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: cf535c6363dfd4c2491e9587ff2dc1017108b66c Author: Justin Lecher gentoo org> AuthorDate: Tue Sep 22 08:10:04 2015 + Commit: Justin Lecher gentoo org> CommitDate: Tue Sep 22 08:10:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf535c63 dev-python/pytables: Version Bump Package-Manager: portage-2.2.21 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.2.2.ebuild | 74 +++ 2 files changed, 75 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 5490551..092c790 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -2,3 +2,4 @@ DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98 DIST tables-3.2.0.tar.gz 7039718 SHA256 60980e44676bfe463cdd2582ecdacc0b0763b259477015e866f8af72b4cdba44 SHA512 6ef7925bafbec04a3f581d13e9cc266b9b68b11dce27cf28c501dbbc538d74ddcfa15cbe97fa69fb793911cc6dbf3112f503b29c6e4e3e7631a6761cc1303253 WHIRLPOOL 412ada055b81fd7409b67288bc2bcf9ed527c9c42dbdd75c52ce7287f53ed12322b8b4423c9fab0aba98e0f12a8764a45316104567c193b469a84fdda3cbfc30 DIST tables-3.2.1.1.tar.gz 7006881 SHA256 21e9749a60c6acc8a9755a52d95b414bc4f4b2c72a9175af360225883a775358 SHA512 ca70645c9885ae54a74c162ce37ee0a7e605f60757743f9015f184aaae71c8da95c5b443793aee2667ced208be02608ee2ab898403d19a3ec367bb85f3afdbbb WHIRLPOOL 284c847944f46f20efa0b9bc1f69839257528ab8c281456abb864ba475fc24f33ae2be608c50313010ea68f8d037c14c3c27db9aa45ede84fbaa827c27560284 DIST tables-3.2.1.tar.gz 6988695 SHA256 212d4f32899a9a0a6b3f865262c20c6ff864fb60e1b8be70f0bbc80137456e31 SHA512 5c6ad8a2e07c45a0aa53d98e81192b2cc2f2e0a91b5956ddb84f98523bb7849f5ea0a5cd21047a970d41ecd9a2a2b942e491738c1381ac754ed549eef62170dd WHIRLPOOL 219fec1367e7ddf7ecb1b1080c70576f7be9aaa059fd32d6744f9a661c210b26fc6d72604dad33ed97bc9fbe8febf130b0367fb00099709a0fbbd23b524c3f9e +DIST tables-3.2.2.tar.gz 7008045 SHA256 3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84 SHA512 7e21be2629bdf4c31e015f45c1bd3ba2156124c540f46cdca07fa31bfc45b37decabd9b3f70f7f2c664806d905aed98d168de46f32dcac935065f2201107f357 WHIRLPOOL da2834b9c50d73c3aa6628b36a5c0d76ab7e528a437b5690fff9b0a989a2819048f157fa833f7dea76009ea02abd3c459b854adb3b0acaba5c6bbecefc6c85ad diff --git a/dev-python/pytables/pytables-3.2.2.ebuild b/dev-python/pytables/pytables-3.2.2.ebuild new file mode 100644 index 000..8b1eaa9 --- /dev/null +++ b/dev-python/pytables/pytables-3.2.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +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= + dev-libs/c-blosc:0=[hdf5] + dev-libs/lzo:2= + >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.4[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:0=" +DEPEND="${RDEPEND} + >=dev-python/cython-0.14[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.0-blosc.patch + ) + +python_prepare_all() { + export HDF5_DIR="${EPREFIX}"/usr + rm tables/*.c || die + sed \ + -e "s:/usr:${EPREFIX}/usr:g" \ + -e 's:"c-blosc/hdf5/blosc_filter.c"::g' \ + -i setup.py || die + rm -r c-blosc/{blosc,hdf5,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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 0eff8b89b0df1f7324152f7632667f01088c2b39 Author: Justin Lecher gentoo org> AuthorDate: Fri Sep 4 07:57:02 2015 + Commit: Justin Lecher gentoo org> CommitDate: Fri Sep 4 07:57:07 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eff8b89 dev-python/pytables: Version Bump force cython run Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytables/Manifest| 1 + dev-python/pytables/pytables-3.2.1.1.ebuild | 74 + 2 files changed, 75 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index cc4145f..5490551 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,3 +1,4 @@ DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6 WHIRLPOOL 86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91 DIST tables-3.2.0.tar.gz 7039718 SHA256 60980e44676bfe463cdd2582ecdacc0b0763b259477015e866f8af72b4cdba44 SHA512 6ef7925bafbec04a3f581d13e9cc266b9b68b11dce27cf28c501dbbc538d74ddcfa15cbe97fa69fb793911cc6dbf3112f503b29c6e4e3e7631a6761cc1303253 WHIRLPOOL 412ada055b81fd7409b67288bc2bcf9ed527c9c42dbdd75c52ce7287f53ed12322b8b4423c9fab0aba98e0f12a8764a45316104567c193b469a84fdda3cbfc30 +DIST tables-3.2.1.1.tar.gz 7006881 SHA256 21e9749a60c6acc8a9755a52d95b414bc4f4b2c72a9175af360225883a775358 SHA512 ca70645c9885ae54a74c162ce37ee0a7e605f60757743f9015f184aaae71c8da95c5b443793aee2667ced208be02608ee2ab898403d19a3ec367bb85f3afdbbb WHIRLPOOL 284c847944f46f20efa0b9bc1f69839257528ab8c281456abb864ba475fc24f33ae2be608c50313010ea68f8d037c14c3c27db9aa45ede84fbaa827c27560284 DIST tables-3.2.1.tar.gz 6988695 SHA256 212d4f32899a9a0a6b3f865262c20c6ff864fb60e1b8be70f0bbc80137456e31 SHA512 5c6ad8a2e07c45a0aa53d98e81192b2cc2f2e0a91b5956ddb84f98523bb7849f5ea0a5cd21047a970d41ecd9a2a2b942e491738c1381ac754ed549eef62170dd WHIRLPOOL 219fec1367e7ddf7ecb1b1080c70576f7be9aaa059fd32d6744f9a661c210b26fc6d72604dad33ed97bc9fbe8febf130b0367fb00099709a0fbbd23b524c3f9e diff --git a/dev-python/pytables/pytables-3.2.1.1.ebuild b/dev-python/pytables/pytables-3.2.1.1.ebuild new file mode 100644 index 000..8b1eaa9 --- /dev/null +++ b/dev-python/pytables/pytables-3.2.1.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +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= + dev-libs/c-blosc:0=[hdf5] + dev-libs/lzo:2= + >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.4[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:0=" +DEPEND="${RDEPEND} + >=dev-python/cython-0.14[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.0-blosc.patch + ) + +python_prepare_all() { + export HDF5_DIR="${EPREFIX}"/usr + rm tables/*.c || die + sed \ + -e "s:/usr:${EPREFIX}/usr:g" \ + -e 's:"c-blosc/hdf5/blosc_filter.c"::g' \ + -i setup.py || die + rm -r c-blosc/{blosc,hdf5,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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
commit: 45294d4ffdff9cc51ee58dfb7e7323abf707a27f Author: Justin Lecher jlec AT gentoo DOT org AuthorDate: Fri Aug 21 09:03:20 2015 + Commit: Justin Lecher jlec AT gentoo DOT org CommitDate: Fri Aug 21 09:35:02 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45294d4f dev-python/pytables: Version Bump Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher jlec AT gentoo.org dev-python/pytables/Manifest | 1 + dev-python/pytables/pytables-3.2.1.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 418fb38..cc4145f 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1,3 @@ DIST tables-3.1.1.tar.gz 6715786 SHA256 39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6 WHIRLPOOL 86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91 DIST tables-3.2.0.tar.gz 7039718 SHA256 60980e44676bfe463cdd2582ecdacc0b0763b259477015e866f8af72b4cdba44 SHA512 6ef7925bafbec04a3f581d13e9cc266b9b68b11dce27cf28c501dbbc538d74ddcfa15cbe97fa69fb793911cc6dbf3112f503b29c6e4e3e7631a6761cc1303253 WHIRLPOOL 412ada055b81fd7409b67288bc2bcf9ed527c9c42dbdd75c52ce7287f53ed12322b8b4423c9fab0aba98e0f12a8764a45316104567c193b469a84fdda3cbfc30 +DIST tables-3.2.1.tar.gz 6988695 SHA256 212d4f32899a9a0a6b3f865262c20c6ff864fb60e1b8be70f0bbc80137456e31 SHA512 5c6ad8a2e07c45a0aa53d98e81192b2cc2f2e0a91b5956ddb84f98523bb7849f5ea0a5cd21047a970d41ecd9a2a2b942e491738c1381ac754ed549eef62170dd WHIRLPOOL 219fec1367e7ddf7ecb1b1080c70576f7be9aaa059fd32d6744f9a661c210b26fc6d72604dad33ed97bc9fbe8febf130b0367fb00099709a0fbbd23b524c3f9e diff --git a/dev-python/pytables/pytables-3.2.1.ebuild b/dev-python/pytables/pytables-3.2.1.ebuild new file mode 100644 index 000..98e3ef7 --- /dev/null +++ b/dev-python/pytables/pytables-3.2.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +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= + dev-libs/c-blosc:0=[hdf5] + dev-libs/lzo:2= + =dev-python/numpy-1.7.1[${PYTHON_USEDEP}] + =dev-python/numexpr-2.4[${PYTHON_USEDEP}] + =sci-libs/hdf5-1.8.4:0= +DEPEND=${RDEPEND} + =dev-python/cython-0.14[${PYTHON_USEDEP}] + +S=${WORKDIR}/${MY_P} + +DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) + +PATCHES=( + ${FILESDIR}/${PN}-3.2.0-blosc.patch + ) + +python_prepare_all() { + export HDF5_DIR=${EPREFIX}/usr + sed \ + -e s:/usr:${EPREFIX}/usr:g \ + -e 's:c-blosc/hdf5/blosc_filter.c::g' \ + -i setup.py || die + rm -r c-blosc/{blosc,hdf5,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 +}