aboutsummaryrefslogtreecommitdiffstats
path: root/app-office/beancount/beancount-2.3.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/beancount/beancount-2.3.3.ebuild')
-rw-r--r--app-office/beancount/beancount-2.3.3.ebuild12
1 files changed, 10 insertions, 2 deletions
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"