From: Craig Andrews Date: Mon, 26 Nov 2018 20:57:17 +0000 (-0500) Subject: dev-python/pytables: Fix for Python 3.7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ac05b825d825c04f7a25c1730299d6d1db39928;p=gentoo.git 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 --- 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 }