summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-11-26 15:57:17 -0500
committerCraig Andrews <candrews@gentoo.org>2018-12-06 15:40:54 -0500
commit9ac05b825d825c04f7a25c1730299d6d1db39928 (patch)
treeee6249a17f3cca5076b4c14f4e83631f2ef613f8 /dev-python/pytables
parentdev-python/numexpr: 2.6.8 version bump (diff)
downloadgentoo-9ac05b825d825c04f7a25c1730299d6d1db39928.tar.gz
gentoo-9ac05b825d825c04f7a25c1730299d6d1db39928.tar.bz2
gentoo-9ac05b825d825c04f7a25c1730299d6d1db39928.zip
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 <candrews@gentoo.org>
Diffstat (limited to 'dev-python/pytables')
-rw-r--r--dev-python/pytables/pytables-3.4.2.ebuild5
1 files 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 02d1be95e967..71c6708813ca 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
}