dev-util/lcov: update to support live ebuild
authorJeffrey Lin <jeffrey@icurse.nl>
Sun, 7 Oct 2018 04:32:59 +0000 (00:32 -0400)
committerMichał Górny <mgorny@gentoo.org>
Mon, 22 Oct 2018 20:05:15 +0000 (22:05 +0200)
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/lcov/lcov-1.13-r1.ebuild

index f500f9aecadd1458be211929f75673fb512ceac9..cd55511f09939510553322c71c1e09f54b76632f 100644 (file)
@@ -3,15 +3,21 @@
 
 EAPI=7
 
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/linux-test-project/lcov.git"
+       inherit git-r3
+else
+       SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos"
+fi
+
 inherit prefix
 
 DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
 HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
-SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos"
 IUSE="png"
 
 RDEPEND="