From: David Seifert Date: Sat, 28 Dec 2019 16:12:48 +0000 (+0100) Subject: dev-python/hiredis: Remove Py2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95ee7938371f1439ce6f059145e48de95bb4bc75;p=gentoo.git dev-python/hiredis: Remove Py2 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert --- diff --git a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild index 1ac28728b1f2..98fe1101aaf6 100644 --- a/dev-python/hiredis/hiredis-0.2.0-r1.ebuild +++ b/dev-python/hiredis/hiredis-0.2.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_COMPAT=( python3_{5,6} ) inherit distutils-r1 @@ -19,9 +19,3 @@ DEPEND=">=dev-libs/hiredis-0.13.1" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-r1-system-libs.patch ) - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - - distutils-r1_python_compile -}