commit:     7020609deb0f94892183fe06d967acf932b51b60
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 18:18:09 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 19:16:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7020609d

dev-embedded/bitbake: [QA] Port to git-r3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-embedded/bitbake/bitbake-1.17.0.ebuild | 12 ++++++------
 dev-embedded/bitbake/bitbake-9999.ebuild   | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dev-embedded/bitbake/bitbake-1.17.0.ebuild 
b/dev-embedded/bitbake/bitbake-1.17.0.ebuild
index 84bf5394ea9..fb6119bd4af 100644
--- a/dev-embedded/bitbake/bitbake-1.17.0.ebuild
+++ b/dev-embedded/bitbake/bitbake-1.17.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -7,10 +7,9 @@ PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 vcs-snapshot
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="git://git.openembedded.org/bitbake.git"
-       inherit git-2
-       KEYWORDS=""
+       inherit git-r3
 else
        SRC_URI="https://github.com/openembedded/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="amd64 ppc x86"
@@ -23,8 +22,9 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="doc"
 
-RDEPEND="dev-python/ply
-       dev-python/progressbar"
+RDEPEND="
+       dev-python/ply[${PYTHON_USEDEP}]
+       dev-python/progressbar[${PYTHON_USEDEP}]"
 DEPEND="doc? ( dev-libs/libxslt )"
 
 src_prepare() {

diff --git a/dev-embedded/bitbake/bitbake-9999.ebuild 
b/dev-embedded/bitbake/bitbake-9999.ebuild
index 8f4bcc5b440..d71043e57f3 100644
--- a/dev-embedded/bitbake/bitbake-9999.ebuild
+++ b/dev-embedded/bitbake/bitbake-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -7,10 +7,9 @@ PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 vcs-snapshot
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="git://git.openembedded.org/bitbake.git"
-       inherit git-2
-       KEYWORDS=""
+       inherit git-r3
 else
        SRC_URI="https://github.com/openembedded/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~ppc ~x86"
@@ -23,8 +22,9 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="doc"
 
-RDEPEND="dev-python/ply
-       dev-python/progressbar"
+RDEPEND="
+       dev-python/ply[${PYTHON_USEDEP}]
+       dev-python/progressbar[${PYTHON_USEDEP}]"
 DEPEND="doc? ( dev-libs/libxslt )"
 
 src_prepare() {

Reply via email to