summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-06-09 01:19:00 +0200
committerThomas Deutschmann <whissi@gentoo.org>2017-06-09 01:19:14 +0200
commit7e191f763117bb92f28e18b1d23bb940240db2cc (patch)
treea98a0c929a2d1e31570113e41a00f7f07b784cb0 /net-dialup/freeradius
parentdev-perl/Sys-Virt: Bump to version 3.3.0 (diff)
downloadgentoo-7e191f763117bb92f28e18b1d23bb940240db2cc.tar.gz
gentoo-7e191f763117bb92f28e18b1d23bb940240db2cc.tar.bz2
gentoo-7e191f763117bb92f28e18b1d23bb940240db2cc.zip
net-dialup/freeradius: Use python-single-r1 instead of python-any-r1 (bug #616068)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-dialup/freeradius')
-rw-r--r--net-dialup/freeradius/freeradius-3.0.14.ebuild6
1 files 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 4c5847cbcac3..e5c5443ca3c3 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}"
}