app-text/zathura-ps: [QA] Port to git-r3

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
David Seifert
2017-12-25 18:53:55 +01:00
parent 856c865faa
commit 976fc8d426
3 changed files with 32 additions and 36 deletions

View 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)"

View 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)"

View 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)"