diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-04 12:06:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-04 12:06:33 +0000 |
commit | a833e3f4a431b8eea751b7420e127787f9c92117 (patch) | |
tree | b941d23e9e3d5f070b01feb15ef927839af7456a /dev-python/pytables | |
parent | 4cd2370bed609c118b6edfde5d3f116e5c35b897 (diff) |
gentoo resync : 04.12.2017
Diffstat (limited to 'dev-python/pytables')
-rw-r--r-- | dev-python/pytables/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pytables/files/pytables-3.1.1-blosc.patch | 16 | ||||
-rw-r--r-- | dev-python/pytables/files/pytables-3.1.1-cython-backport.patch | 65 | ||||
-rw-r--r-- | dev-python/pytables/files/pytables-3.1.1-numpy19-backport.patch | 51 | ||||
-rw-r--r-- | dev-python/pytables/pytables-3.1.1-r2.ebuild | 75 |
5 files changed, 1 insertions, 213 deletions
diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 02a43eeb6292..638ee7268306 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,10 +1,5 @@ -AUX pytables-3.1.1-blosc.patch 418 BLAKE2B 34fd40b5ae9ce1f05950e1c1c6e3baccd9362679e8f76135139cf4a63fc651cf7ee414ad395be55f46fe6749ac4d018500ac0478bfa518600019e911d850120c SHA512 fa60a3a5c60faa07b64fa5f0241e8d81a4c86287b86808cd39a5a861f5de91d6c83da7d774c25643e2591e8a04731f10c6b188a6854a9bf4c0bea7a94d51ac35 -AUX pytables-3.1.1-cython-backport.patch 2472 BLAKE2B 7d5aafe3466412bddc0b8fdd177659b6dbfb63306c853951d29477d4890ebef85da54b27a79492cd66242afd40b8f5a1f565b59be4f5c83c32e9882ac3fafaed SHA512 c8f235ab3765410e4c0e488e30e00050d6bbc0f8b6874d4e794fc5edf69ad1877c4290a35c111d44a5626c567bc4fff35213ee6b3005a6bb25d5879489c49a63 -AUX pytables-3.1.1-numpy19-backport.patch 1636 BLAKE2B e378d0614392278e9e5f0703908d0e0bfc43fb6703f3ec31c20ddc7f360e50939bee7ff34a3399d84b58bbf62c0e59d09a7f1e3a865b3c4c620b84394045b04e SHA512 6553229186b6007b67f79c63cf4bcb168f7fe77c62478fcfa29bb27402decb30ec36a2df4f0794bab19d7fb7d77dcd5072caaa88ae2a7aa4025608f610efde75 -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 -EBUILD pytables-3.1.1-r2.ebuild 1609 BLAKE2B cd4aa43fe82a2194b44b2f59144eb3620d3f18d37d5d1e843c1eaee9d54985f0a1fd7fcf00a86650b0f336078c6183e1b0b8fa2cfd1d3c18c122b8961d253b2b SHA512 a0cd26ad7a2191ffe573ec9cd6e327264d2d61690eace3955efc90a244f3f7bf594a987a5c34a9aa8d5a5bf2cddde111004613e917100a01a308440a3c18f702 +DIST tables-3.4.2.tar.gz 7593471 BLAKE2B 1a011a2a910a25d4e7cad68b5a1a267482f5ed958aa824dfba5a6c902200c56253c7d5609cd674dfcb288f6ebf2ecb76f4324e53b852f70d0cfc60d6b222510a SHA512 8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b EBUILD pytables-3.3.0.ebuild 1576 BLAKE2B 284a5c4a14d6705f464ae82943e15ffd2abfae5a607651c0e4fcfe2d4bede9b4e672636a8e92b849b2fc69777b8e395b7f3f3d163b13fe1ebf57b6b2c4e5df6b SHA512 245b0b83df781420beb759ffcd1e66106739e4a56fdc524f1f9ddb0a65c5c91442b17775e123ec474f55a5ad7d6b26993dc4453c2afb8522507f0ec2f66997f6 EBUILD pytables-3.4.2.ebuild 1645 BLAKE2B 9259dab0ffc95b4ad11a395562bbc5439621d22d389dad3aedbc6da9351bb6f4b6104aed86b82657728d738b9bf52526bb0c63aad24baf1724bc4eb05427355a SHA512 c6d226ba1c1233e6ab02268109fdb363d43e23df114dc9fec407770fd01026f5964c16f29d5e024ec3de371c32af8622f30d460eade6b7e47ffd033f809ea545 MISC metadata.xml 894 BLAKE2B 279b64a5124a6471b3ea6ed8d2f82b8d62e5d8bc809168fb2ae1c3bfd8cfa07428c2ff7f07deb5042a6ccb5ba7af43bc45d0db82b9cfc79fa5d19c090d0500a3 SHA512 88dd752e6014f6f133b5df7db6c2aafce0b9da8cdbc057493916dbfbe1da4bf52e0ed43d570d68035fc8f12302794a381a54f5b07b9726b52601724163bc672c diff --git a/dev-python/pytables/files/pytables-3.1.1-blosc.patch b/dev-python/pytables/files/pytables-3.1.1-blosc.patch deleted file mode 100644 index 3a4ba18e5e73..000000000000 --- 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 7db41d2e1a62..000000000000 --- 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': min_cython_version}) - --if Version.version < min_cython_version: -+if LooseVersion(cython_version) < min_cython_version: - exit_with_error( -- "At least Cython %s is needed so as to generate extensions!" -- % (min_cython_version)) -+ "You need %(pkgname)s %(pkgver)s or greater to run PyTables!" -+ % {'pkgname': 'Cython', 'pkgver': min_cython_version}) - else: - print("* Found %(pkgname)s %(pkgver)s package installed." -- % {'pkgname': 'Cython', 'pkgver': Version.version}) -+ % {'pkgname': 'Cython', 'pkgver': cython_version}) - - VERSION = open('VERSION').read().strip() - -diff --git a/tables/req_versions.py b/tables/req_versions.py -index 2c9ca01..bd498c3 100644 ---- a/tables/req_versions.py -+++ b/tables/req_versions.py -@@ -17,7 +17,7 @@ - # Minimum recommended versions for mandatory packages - min_numpy_version = '1.4.1' - min_numexpr_version = '2.0.0' --min_cython_version = '0.13' -+min_cython_version = '0.14' - - # The THG team has decided to fix an API inconsistency in the definition - # of the H5Z_class_t structure in version 1.8.3 diff --git a/dev-python/pytables/files/pytables-3.1.1-numpy19-backport.patch b/dev-python/pytables/files/pytables-3.1.1-numpy19-backport.patch deleted file mode 100644 index c2f0c2280f01..000000000000 --- a/dev-python/pytables/files/pytables-3.1.1-numpy19-backport.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 854d5798ca9fd78c00e18710de2e93202f675f3e Mon Sep 17 00:00:00 2001 -From: Antonio Valentino <antonio.valentino@tiscali.it> -Date: Sun, 6 Jul 2014 21:21:39 +0200 -Subject: [PATCH] Fix a compatibility problem with numpy 1.9 (close: #362) - ---- - RELEASE_NOTES.txt | 6 ++++++ - tables/table.py | 6 +++++- - 2 files changed, 11 insertions(+), 1 deletion(-) - -diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt -index f219eb3..1da20e2 100644 ---- a/RELEASE_NOTES.txt -+++ b/RELEASE_NOTES.txt -@@ -19,6 +19,12 @@ Improvements - requiring strict access alignment. - - -+Bugs fixed -+---------- -+ -+- Fixed compatibitily problems with numpy 1.9 (closes :issue:`362`) -+ -+ - Changes from 3.1.0 to 3.1.1 - =========================== - -diff --git a/tables/table.py b/tables/table.py -index 235f599..ffe8fd6 100644 ---- a/tables/table.py -+++ b/tables/table.py -@@ -3406,6 +3406,10 @@ def _getindex(self): - associated with this column (None if the column is not - indexed).""") - -+ @lazyattr -+ def _itemtype(self): -+ return self.descr._v_dtypes[self.name] -+ - def _getshape(self): - return (self.table.nrows,) + self.descr._v_dtypes[self.name].shape - -@@ -3529,7 +3533,7 @@ def __iter__(self): - table = self.table - itemsize = self.dtype.itemsize - nrowsinbuf = table._v_file.params['IO_BUFFER_SIZE'] // itemsize -- buf = numpy.empty((nrowsinbuf, ), self.dtype) -+ buf = numpy.empty((nrowsinbuf, ), self._itemtype) - max_row = len(self) - for start_row in xrange(0, len(self), nrowsinbuf): - end_row = min(start_row + nrowsinbuf, max_row) diff --git a/dev-python/pytables/pytables-3.1.1-r2.ebuild b/dev-python/pytables/pytables-3.1.1-r2.ebuild deleted file mode 100644 index f22a4f0c61e9..000000000000 --- a/dev-python/pytables/pytables-3.1.1-r2.ebuild +++ /dev/null @@ -1,75 +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[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - sci-libs/hdf5:0=" -DEPEND="${RDEPEND} - >=dev-python/cython-0.14[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${MY_P}" - -DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS ) - -PATCHES=( - "${FILESDIR}"/${P}-cython-backport.patch - "${FILESDIR}"/${P}-numpy19-backport.patch - "${FILESDIR}"/${P}-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 -} |