commit:     9ac05b825d825c04f7a25c1730299d6d1db39928
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 26 20:57:17 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Dec  6 20:40:54 2018 +0000
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 <candrews <AT> 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
 }
 

Reply via email to