net-dialup/freeradius: Use python-single-r1 instead of python-any-r1 (bug #616068)
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 8 Jun 2017 23:19:00 +0000 (01:19 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 8 Jun 2017 23:19:14 +0000 (01:19 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-dialup/freeradius/freeradius-3.0.14.ebuild

index 4c5847cbcac3543dd75c85d5f62db85bd50e6d98..e5c5443ca3c3b361ae8f1729b458e12c05b4370c 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit autotools pam python-any-r1 systemd user
+inherit autotools pam python-single-r1 systemd user
 
 MY_P="${PN}-server-${PV}"
 
@@ -47,13 +47,15 @@ RDEPEND="!net-dialup/cistronradius
        oracle? ( dev-db/oracle-instantclient-basic )"
 DEPEND="${RDEPEND}"
 
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
        enewgroup radius
        enewuser radius -1 -1 /var/log/radius radius
 
-       python-any-r1_pkg_setup
+       python-single-r1_pkg_setup
        export PYTHONBIN="${EPYTHON}"
 }