dev-libs/libmacaroons: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 08:02:17 +0000 (10:02 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:22:11 +0000 (13:22 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-libs/libmacaroons/libmacaroons-0.2.0-r1.ebuild
dev-libs/libmacaroons/libmacaroons-0.3.0.ebuild

index 1aceba7d26da8c9a3f3f6e365ae51e61bc3dfb0b..176e78131d70497fb67183b66689503cc63e9ce0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -7,26 +7,26 @@ PYTHON_COMPAT=( python2_7 )
 
 inherit eutils python-single-r1
 
-# Tests can't function after 2014-12-31 ...
-RESTRICT="test"
-
 DESCRIPTION="Hyperdex macaroons support library"
-
 HOMEPAGE="http://hyperdex.org"
 SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-
 IUSE="test +python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
 
-RDEPEND="dev-libs/libsodium
-       dev-libs/json-c"
+# Tests can't function after 2014-12-31 ...
+RESTRICT="test"
+
+RDEPEND="
+       dev-libs/libsodium
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-REQUIRED_USE="test? ( python )"
-
 src_prepare() {
        use python && python-single-r1_pkg_setup
 }
index 1aceba7d26da8c9a3f3f6e365ae51e61bc3dfb0b..176e78131d70497fb67183b66689503cc63e9ce0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -7,26 +7,26 @@ PYTHON_COMPAT=( python2_7 )
 
 inherit eutils python-single-r1
 
-# Tests can't function after 2014-12-31 ...
-RESTRICT="test"
-
 DESCRIPTION="Hyperdex macaroons support library"
-
 HOMEPAGE="http://hyperdex.org"
 SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-
 IUSE="test +python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
 
-RDEPEND="dev-libs/libsodium
-       dev-libs/json-c"
+# Tests can't function after 2014-12-31 ...
+RESTRICT="test"
+
+RDEPEND="
+       dev-libs/libsodium
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-REQUIRED_USE="test? ( python )"
-
 src_prepare() {
        use python && python-single-r1_pkg_setup
 }