From 8c3af2a848b8e2ade51388e8c525d1c9aa6c3a93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 12 Jan 2020 11:37:48 +0100 Subject: [PATCH] dev-python/python-glanceclient: Remove Python 2 support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../python-glanceclient/python-glanceclient-2.13.1.ebuild | 4 ++-- .../python-glanceclient/python-glanceclient-2.16.0.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild index 4e68a3f1c255..e23ed64f762c 100644 --- a/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild +++ b/dev-python/python-glanceclient/python-glanceclient-2.13.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 @@ -68,7 +68,7 @@ python_compile_all() { python_test() { testr init - testr run || die "testsuite failed under python2.7" + testr run || die "testsuite failed under ${EPYTHON}" flake8 tests && einfo "run flake8 over tests folder passed" || die } diff --git a/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild index ef647a836996..885408a4fbdc 100644 --- a/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild +++ b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -57,6 +57,6 @@ python_prepare_all() { python_test() { testr init - testr run || die "testsuite failed under python2.7" + testr run || die "testsuite failed under ${EPYTHON}" flake8 tests && einfo "run flake8 over tests folder passed" || die } -- 2.26.2