summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-05-27 01:00:23 +0200
committerDavid Seifert <soap@gentoo.org>2017-05-27 01:34:53 +0200
commit5ee8c6f1f65e5f854790e50d25bfc9c19a2c7ac3 (patch)
tree29b1dfe7281965e869728fcf0a850f3704d8fbfe /app-admin/syslog-ng
parentqmake-utils.eclass: avoid dependency on eutils (diff)
downloadgentoo-5ee8c6f1f65e5f854790e50d25bfc9c19a2c7ac3.tar.gz
gentoo-5ee8c6f1f65e5f854790e50d25bfc9c19a2c7ac3.tar.bz2
gentoo-5ee8c6f1f65e5f854790e50d25bfc9c19a2c7ac3.zip
app-admin/syslog-ng: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/syslog-ng-3.7.2.ebuild7
-rw-r--r--app-admin/syslog-ng/syslog-ng-3.7.3.ebuild5
2 files changed, 7 insertions, 5 deletions
diff --git a/app-admin/syslog-ng/syslog-ng-3.7.2.ebuild b/app-admin/syslog-ng/syslog-ng-3.7.2.ebuild
index 2bdcb1dc1680..a855ef61bc5f 100644
--- a/app-admin/syslog-ng/syslog-ng-3.7.2.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-3.7.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit autotools python-any-r1 eutils multilib systemd versionator
+inherit autotools python-single-r1 eutils multilib systemd versionator
MY_PV=${PV/_/}
MY_PV_MM=$(get_version_component_range 1-2)
@@ -15,6 +15,7 @@ LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
IUSE="amqp caps dbi geoip ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="test"
RDEPEND="
@@ -40,7 +41,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${MY_PV}
pkg_setup() {
- use python && python-any-r1_pkg_setup
+ use python && python-single-r1_pkg_setup
}
src_prepare() {
diff --git a/app-admin/syslog-ng/syslog-ng-3.7.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.7.3.ebuild
index dfec3b580940..99f98ce6773b 100644
--- a/app-admin/syslog-ng/syslog-ng-3.7.3.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-3.7.3.ebuild
@@ -3,7 +3,7 @@
EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit autotools python-any-r1 eutils multilib systemd versionator
+inherit autotools python-single-r1 eutils multilib systemd versionator
MY_PV=${PV/_/}
MY_PV_MM=$(get_version_component_range 1-2)
@@ -15,6 +15,7 @@ LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
IUSE="amqp caps dbi geoip ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="test"
RDEPEND="
@@ -40,7 +41,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${MY_PV}
pkg_setup() {
- use python && python-any-r1_pkg_setup
+ use python && python-single-r1_pkg_setup
}
src_prepare() {