dev-db/hyperdex: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 07:17:17 +0000 (09:17 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:20:48 +0000 (13:20 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-db/hyperdex/hyperdex-1.6.0-r1.ebuild
dev-db/hyperdex/hyperdex-1.7.1.ebuild
dev-db/hyperdex/hyperdex-1.8.0.ebuild
dev-db/hyperdex/hyperdex-1.8.1.ebuild
dev-db/hyperdex/hyperdex-9999.ebuild

index 882ead1f3e2c68dcf88ed30bed785ab748a96872..785eef7c7353381a313e30f5ca787f24de84f659 100644 (file)
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
-# Tests fail, again
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
 
-PYTHON_COMPAT=( python2_7)
 inherit eutils python-single-r1 autotools
 
 DESCRIPTION="A searchable distributed Key-Value Store"
@@ -19,8 +18,13 @@ KEYWORDS="~amd64"
 
 IUSE="test +python"
 # need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
 
-DEPEND="dev-cpp/glog
+DEPEND="
+       dev-cpp/glog
        dev-cpp/sparsehash
        dev-libs/cityhash
        dev-libs/libpo6
@@ -30,17 +34,20 @@ DEPEND="dev-cpp/glog
        dev-libs/replicant
        dev-libs/libmacaroons
        dev-libs/libtreadstone
-       dev-libs/json-c"
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
        cp "${WORKDIR}/"*.m4 m4/
        sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
        eautoreconf
-       use python && python-single-r1_pkg_setup
 }
+
 src_configure() {
        econf --disable-static \
                $(use_enable python python-bindings)
index 882ead1f3e2c68dcf88ed30bed785ab748a96872..785eef7c7353381a313e30f5ca787f24de84f659 100644 (file)
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
-# Tests fail, again
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
 
-PYTHON_COMPAT=( python2_7)
 inherit eutils python-single-r1 autotools
 
 DESCRIPTION="A searchable distributed Key-Value Store"
@@ -19,8 +18,13 @@ KEYWORDS="~amd64"
 
 IUSE="test +python"
 # need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
 
-DEPEND="dev-cpp/glog
+DEPEND="
+       dev-cpp/glog
        dev-cpp/sparsehash
        dev-libs/cityhash
        dev-libs/libpo6
@@ -30,17 +34,20 @@ DEPEND="dev-cpp/glog
        dev-libs/replicant
        dev-libs/libmacaroons
        dev-libs/libtreadstone
-       dev-libs/json-c"
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
        cp "${WORKDIR}/"*.m4 m4/
        sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
        eautoreconf
-       use python && python-single-r1_pkg_setup
 }
+
 src_configure() {
        econf --disable-static \
                $(use_enable python python-bindings)
index fea87820e0e6fba8ea90d5e051ab458cb3f06a72..6d245f6659b33ab1f5823246928bf0e485dce1fc 100644 (file)
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
-# Tests fail, still
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
 
-PYTHON_COMPAT=( python2_7)
 inherit eutils python-single-r1 autotools
 
 DESCRIPTION="A searchable distributed Key-Value Store"
@@ -19,8 +18,13 @@ KEYWORDS="~amd64"
 
 IUSE="test +python"
 # need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
 
-DEPEND="dev-cpp/glog
+DEPEND="
+       dev-cpp/glog
        dev-cpp/sparsehash
        dev-libs/cityhash
        >=dev-libs/hyperleveldb-1.2
@@ -31,17 +35,20 @@ DEPEND="dev-cpp/glog
        >=dev-libs/replicant-0.8
        >=dev-libs/libmacaroons-0.3
        >=dev-libs/libtreadstone-0.2
-       dev-libs/json-c"
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
        cp "${WORKDIR}/"*.m4 m4/
        sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
        eautoreconf
-       use python && python-single-r1_pkg_setup
 }
+
 src_configure() {
        econf --disable-static \
                $(use_enable python python-bindings)
index fea87820e0e6fba8ea90d5e051ab458cb3f06a72..6d245f6659b33ab1f5823246928bf0e485dce1fc 100644 (file)
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
-# Tests fail, still
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
 
-PYTHON_COMPAT=( python2_7)
 inherit eutils python-single-r1 autotools
 
 DESCRIPTION="A searchable distributed Key-Value Store"
@@ -19,8 +18,13 @@ KEYWORDS="~amd64"
 
 IUSE="test +python"
 # need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
 
-DEPEND="dev-cpp/glog
+DEPEND="
+       dev-cpp/glog
        dev-cpp/sparsehash
        dev-libs/cityhash
        >=dev-libs/hyperleveldb-1.2
@@ -31,17 +35,20 @@ DEPEND="dev-cpp/glog
        >=dev-libs/replicant-0.8
        >=dev-libs/libmacaroons-0.3
        >=dev-libs/libtreadstone-0.2
-       dev-libs/json-c"
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
        cp "${WORKDIR}/"*.m4 m4/
        sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
        eautoreconf
-       use python && python-single-r1_pkg_setup
 }
+
 src_configure() {
        econf --disable-static \
                $(use_enable python python-bindings)
index 0f20e45c61f44dcd75f443d5f678bfc08364af81..92491ebb675a4e8f7480dc73e16a6cf64dbb76f0 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
-PYTHON_COMPAT=( python2_7)
+PYTHON_COMPAT=( python2_7 )
+
 inherit eutils python-r1 autotools git-r3
 
 DESCRIPTION="A searchable distributed Key-Value Store"
@@ -18,8 +20,10 @@ SRC_URI="http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
 
 IUSE="+python"
 # need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="dev-cpp/glog
+DEPEND="
+       dev-cpp/glog
        dev-cpp/sparsehash
        dev-libs/cityhash
        dev-libs/libpo6
@@ -27,15 +31,21 @@ DEPEND="dev-cpp/glog
        dev-libs/busybee
        dev-libs/popt
        dev-libs/replicant
-       dev-libs/json-c"
+       dev-libs/json-c
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_prepare() {
        cd m4; tar xf "${DISTDIR}/autotools-java.tar"
        cd ..
        sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
        eautoreconf
 }
+
 src_configure() {
        econf --disable-static \
                $(use_enable python python-bindings)