From 48f16b99645d08a6375f6b7794e3d028a642cfb6 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Tue, 17 Nov 2020 15:10:39 +0100 Subject: app-office/beancount: Add 9999, drop old Package-Manager: Portage-3.0.9, Repoman-3.0.2 --- app-office/beancount/beancount-2.3.3.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'app-office/beancount/beancount-2.3.3.ebuild') diff --git a/app-office/beancount/beancount-2.3.3.ebuild b/app-office/beancount/beancount-2.3.3.ebuild index 272b808..0a31ff2 100644 --- a/app-office/beancount/beancount-2.3.3.ebuild +++ b/app-office/beancount/beancount-2.3.3.ebuild @@ -9,11 +9,19 @@ inherit distutils-r1 elisp-common DESCRIPTION="Command-line Double-Entry Accounting" HOMEPAGE="http://furius.ca/beancount https://pypi.org/project/beancount" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +if [[ ${PV} == 9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/beancount/beancount" + EGIT_BRANCH="v2" + KEYWORDS="" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="amd64 x86" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" IUSE="emacs" SITEFILE="50{PN}-mode-gentoo.el" -- cgit v1.2.3-2-gb3c3