summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/gitstats/gitstats-9999.ebuild')
-rw-r--r--dev-vcs/gitstats/gitstats-9999.ebuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/dev-vcs/gitstats/gitstats-9999.ebuild b/dev-vcs/gitstats/gitstats-9999.ebuild
index eddba33fc547..a4a6a19bd9e4 100644
--- a/dev-vcs/gitstats/gitstats-9999.ebuild
+++ b/dev-vcs/gitstats/gitstats-9999.ebuild
@@ -6,19 +6,24 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit python-r1 git-r3
+inherit python-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="
+ git://github.com/hoxu/gitstats.git
+ https://github.com/hoxu/gitstats.git
+ "
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${P}.tar.xz"
+fi
DESCRIPTION="Statistics generator for git"
HOMEPAGE="http://gitstats.sourceforge.net/"
-SRC_URI=""
-EGIT_REPO_URI="
- git://github.com/hoxu/gitstats.git
- https://github.com/hoxu/gitstats.git
-"
-
LICENSE="|| ( GPL-2 GPL-3 ) MIT"
SLOT="0"
-KEYWORDS=""
IUSE=""
RDEPEND="