dev-python/hiredis: Remove Py2

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2019-12-28 17:12:48 +01:00
parent b0328e080e
commit 95ee793837

View File

@@ -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
}