app-text/zathura-ps: [QA] Port to git-r3
authorDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 17:53:55 +0000 (18:53 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 19:16:24 +0000 (20:16 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-text/zathura-ps/zathura-ps-0.2.2.ebuild
app-text/zathura-ps/zathura-ps-0.2.4.ebuild
app-text/zathura-ps/zathura-ps-9999.ebuild

index 63e6d80aa0f95d69346a1c1ff0a5491aab7c2d06..222e0fbcc2048bfb8f8d3464d144184e69a9d961 100644 (file)
@@ -1,26 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 inherit eutils toolchain-funcs
-[[ ${PV} == 9999* ]] && inherit git-2
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-ps.git"
+       EGIT_BRANCH="develop"
+else
+       KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+       SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
+fi
 
 DESCRIPTION="PostScript plug-in for zathura"
 HOMEPAGE="http://pwmt.org/projects/zathura/"
-if ! [[ ${PV} == 9999* ]]; then
-SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
-fi
-EGIT_REPO_URI="git://git.pwmt.org/${PN}.git"
-EGIT_BRANCH="develop"
 
 LICENSE="ZLIB"
 SLOT="0"
-if ! [[ ${PV} == 9999* ]]; then
-KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-else
-KEYWORDS=""
-fi
 IUSE=""
 
 RDEPEND=">=app-text/libspectre-0.2.6:=
@@ -30,7 +28,7 @@ RDEPEND=">=app-text/libspectre-0.2.6:=
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-pkg_setup() {
+src_configure() {
        myzathuraconf=(
                CC="$(tc-getCC)"
                LD="$(tc-getLD)"
index ade2d3e11a0459ecb78cadf6d1ec1581876b676f..222e0fbcc2048bfb8f8d3464d144184e69a9d961 100644 (file)
@@ -4,21 +4,21 @@
 EAPI=5
 
 inherit eutils toolchain-funcs
-[[ ${PV} == 9999* ]] && inherit git-2
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-ps.git"
+       EGIT_BRANCH="develop"
+else
+       KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+       SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
+fi
 
 DESCRIPTION="PostScript plug-in for zathura"
 HOMEPAGE="http://pwmt.org/projects/zathura/"
-if ! [[ ${PV} == 9999* ]]; then
-SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
-fi
-EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-EGIT_BRANCH="develop"
 
 LICENSE="ZLIB"
 SLOT="0"
-if ! [[ ${PV} == 9999* ]]; then
-KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-fi
 IUSE=""
 
 RDEPEND=">=app-text/libspectre-0.2.6:=
@@ -28,7 +28,7 @@ RDEPEND=">=app-text/libspectre-0.2.6:=
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-pkg_setup() {
+src_configure() {
        myzathuraconf=(
                CC="$(tc-getCC)"
                LD="$(tc-getLD)"
index f2c470b53ec1056fc52685d4c06f804026711458..222eb1f4a012ef2187bfe60cf8e2c6d82d271ff7 100644 (file)
@@ -1,26 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 inherit eutils toolchain-funcs
-[[ ${PV} == 9999* ]] && inherit git-2
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-ps.git"
+       EGIT_BRANCH="develop"
+else
+       KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+       SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
+fi
 
 DESCRIPTION="PostScript plug-in for zathura"
 HOMEPAGE="http://pwmt.org/projects/zathura/"
-if ! [[ ${PV} == 9999* ]]; then
-SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
-fi
-EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-EGIT_BRANCH="develop"
 
 LICENSE="ZLIB"
 SLOT="0"
-if ! [[ ${PV} == 9999* ]]; then
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-else
-KEYWORDS=""
-fi
 IUSE=""
 
 RDEPEND=">=app-text/libspectre-0.2.6:=
@@ -30,7 +28,7 @@ RDEPEND=">=app-text/libspectre-0.2.6:=
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-pkg_setup() {
+src_configure() {
        myzathuraconf=(
                CC="$(tc-getCC)"
                LD="$(tc-getLD)"