commit:     7e191f763117bb92f28e18b1d23bb940240db2cc
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 23:19:00 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 23:19:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e191f76

net-dialup/freeradius: Use python-single-r1 instead of python-any-r1 (bug 
#616068)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-dialup/freeradius/freeradius-3.0.14.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius/freeradius-3.0.14.ebuild 
b/net-dialup/freeradius/freeradius-3.0.14.ebuild
index 4c5847cbcac..e5c5443ca3c 100644
--- a/net-dialup/freeradius/freeradius-3.0.14.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.14.ebuild
@@ -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}"
 }
 

Reply via email to