From 9ac05b825d825c04f7a25c1730299d6d1db39928 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 26 Nov 2018 15:57:17 -0500 Subject: [PATCH] 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 --- 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 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 } -- 2.26.2