dev-embedded/bitbake: [QA] Port to git-r3
authorDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 18:18:09 +0000 (19:18 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 19:16:53 +0000 (20:16 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-embedded/bitbake/bitbake-1.17.0.ebuild
dev-embedded/bitbake/bitbake-9999.ebuild

index 84bf5394ea9cad7515fa815fe18f97e090e67f3a..fb6119bd4aff24f41cb10e8a843706cbedf56c67 100644 (file)
@@ -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() {
index 8f4bcc5b4404f783627f0feaf35a0b3872ac7f5a..d71043e57f37b5feb6ff6a588785c04e6fb7ce84 100644 (file)
@@ -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() {