Skip to content

Commit

Permalink
dev-vcs/gitstats: bump to snapshot 2015-12-23
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
gktrk authored and NP-Hardass committed Mar 24, 2016
1 parent a9cbf1e commit 69e6ed9
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 8 deletions.
1 change: 1 addition & 0 deletions dev-vcs/gitstats/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST gitstats-0_pre131024.tar.xz 32104 SHA256 67ec923e2cdfb260b945fa9ff9d12ba4e3398d89b89d50e49dcf55a338a6ab5d SHA512 a42c6ca37d39c24782c19a1157cc5aaf3a16e34c603c5fa3f91fcd5165e6f4788d5d75786b78f962ab81b3db66dd94f051dd929f02f4ffef845ec5b793feba53 WHIRLPOOL 13c20e208bf41da378091905c23c6cc3481bcb4a83db0c7524eee4017ececc7c0c81d583a03d80f7ecb23d8a0f691115475c805eeffdd40dd2f486d0bf7a59e6
DIST gitstats-0_pre20151223.tar.xz 32236 SHA256 23cc68108121f9842429df13c222d504ac995972a4dba7fdc98ab808be2af528 SHA512 ea9ae5be4d2654621493eb87ba112cf99f1f940ba547f7cc1facc8ec042cc91c37c9120098e6788ba98876f7cf0bdda78c263174402b05a279748064c6323f82 WHIRLPOOL ba3abfb40c7ac63cf12dcdf033272fcbe793e35c3648d7d041d63e78a0e333a240185400f980b8bafd72f3143d4326186272e677d306564329b785ccffb13c10
54 changes: 54 additions & 0 deletions dev-vcs/gitstats/gitstats-0_pre20151223.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

PYTHON_COMPAT=( python2_7 )

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/"
LICENSE="|| ( GPL-2 GPL-3 ) MIT"
SLOT="0"
IUSE=""

RDEPEND="
sci-visualization/gnuplot[gd]
dev-vcs/git"
DEPEND="
dev-lang/perl:*
"

DOCS=( doc/{AUTHOR,README,TODO.txt} )

src_prepare() {
sed \
-e "s:basedirs = \[binarypath, secondarypath, '/usr/share/gitstats'\]:basedirs = \['${EPREFIX}/usr/share/gitstats'\]:g" \
-i gitstats || die "failed to fix static files path"
default
}

src_compile() {
emake VERSION="${PV}" man
}

src_install() {
emake PREFIX="${ED}"usr VERSION="${PV}" install
doman doc/${PN}.1
einstalldocs
python_replicate_script "${ED}"usr/bin/${PN}
}
21 changes: 13 additions & 8 deletions dev-vcs/gitstats/gitstats-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand Down

0 comments on commit 69e6ed9

Please sign in to comment.