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

dev-libs/protobuf/protobuf-2.5.0-r2.ebuild
dev-libs/protobuf/protobuf-2.6.1-r3.ebuild
dev-libs/protobuf/protobuf-3.0.0_beta3_p1.ebuild
dev-libs/protobuf/protobuf-3.0.2.ebuild
dev-libs/protobuf/protobuf-3.1.0.ebuild

index ade6ac7945518fd6802a7a224cea0d326baf82a2..f13799b4c143563a4f2c6bcc6c8c697b82b6ee18 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
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
 SLOT="0/8" # subslot = soname major version
 KEYWORDS="amd64 arm -hppa ~ia64 ~mips ppc ~ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="emacs examples java python static-libs vim-syntax"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 CDEPEND="emacs? ( virtual/emacs )
        python? ( ${PYTHON_DEPS} )"
index d4ef1827154ff336b36e98fc63cfe8cea72e2294..600cb16edb50323803e6f67aa5eb9b13b33b085c 100644 (file)
@@ -18,6 +18,7 @@ LICENSE="Apache-2.0"
 SLOT="0/9" # subslot = soname major version
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="emacs examples java python static-libs vim-syntax zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 CDEPEND="emacs? ( virtual/emacs )
        python? ( ${PYTHON_DEPS} )
index 20b43b53220c596535c4818ed19fa1781e772c17..e7de4715d511fbf4f136708246137a89941594a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,17 +19,24 @@ LICENSE="Apache-2.0"
 SLOT="0/10b3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="emacs examples java python static-libs test vim-syntax zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="emacs? ( virtual/emacs )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+RDEPEND="
+       emacs? ( virtual/emacs )
+       python? ( ${PYTHON_DEPS} )
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
        test? ( dev-cpp/gmock[${MULTILIB_USEDEP}] )"
 # This is provided for backwards compatibility due to (likely incorrect) use in consumers.
 PDEPEND="java? ( dev-java/protobuf-java )
        python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )"
+
 S="${WORKDIR}/${PN}-${MY_PV}"
-PATCHES=( "${FILESDIR}/${PN}-2.5.0-emacs-24.4.patch"
+PATCHES=(
+       "${FILESDIR}/${PN}-2.5.0-emacs-24.4.patch"
        "${FILESDIR}/${PN}-2.6.1-protoc-cmdline.patch"
-       "${FILESDIR}/${PN}-3.0.0_beta2-disable-local-gmock.patch" )
+       "${FILESDIR}/${PN}-3.0.0_beta2-disable-local-gmock.patch"
+)
 
 src_prepare() {
        append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
index 2f4f4b18e891c615370877887564e4559d2640d4..686c45c6427e8fcca9f6c8950a295b3ed346aa0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,14 +19,14 @@ LICENSE="Apache-2.0"
 SLOT="0/10"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="emacs examples java python static-libs test vim-syntax zlib"
-
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="
+RDEPEND="
        emacs? ( virtual/emacs )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       python? ( ${PYTHON_DEPS} )
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
        test? ( dev-cpp/gmock[${MULTILIB_USEDEP}] )"
-
 # This is provided for backwards compatibility due to (likely incorrect) use in consumers.
 PDEPEND="
        java? ( dev-java/protobuf-java )
index db4298867f31b7c5044939d123af366b9b51a192..fafdd32458f02d9ad6fbad6202f8c8aecfb7b8fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,14 +19,14 @@ LICENSE="Apache-2.0"
 SLOT="0/11"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="emacs examples java python static-libs test vim-syntax zlib"
-
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="
+RDEPEND="
        emacs? ( virtual/emacs )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       python? ( ${PYTHON_DEPS} )
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
        test? ( dev-cpp/gmock[${MULTILIB_USEDEP}] )"
-
 # This is provided for backwards compatibility due to (likely incorrect) use in consumers.
 PDEPEND="
        java? ( dev-java/protobuf-java )