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/Manifest | 5 +-- app-office/beancount/beancount-2.3.2.ebuild | 49 ------------------------- app-office/beancount/beancount-2.3.3.ebuild | 12 +++++- app-office/beancount/beancount-9999.ebuild | 57 +++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 54 deletions(-) delete mode 100644 app-office/beancount/beancount-2.3.2.ebuild create mode 100644 app-office/beancount/beancount-9999.ebuild diff --git a/app-office/beancount/Manifest b/app-office/beancount/Manifest index f5f93be..f91307b 100644 --- a/app-office/beancount/Manifest +++ b/app-office/beancount/Manifest @@ -1,5 +1,4 @@ -DIST beancount-2.3.2.tar.gz 642463 BLAKE2B f8594e7ba65f5ee6cde7e54bf05ac99dee31b37e4cc7c0e058ddd5b7e130b2f31370a5e1ce36c3e61dd63d9eaf3f9971ed0526a6647c9dd4f012e0ba936a2185 SHA512 4856904b434947b73e36faf7694f13efebb7f32c697336abea1c648e23246b7c12f6539296053cb0df93778561ceefe111933cd70e6b5d543f8e1a6eeca491b7 DIST beancount-2.3.3.tar.gz 632580 BLAKE2B 40059cfc887a66ae182d8a5bc1e437e351befa00323a5a618bd5060f732df3fd6c10e73179f68ccbf2ae10e15f4a6130f9f1261c211c8192750102000615e815 SHA512 1fd8b470d98073f9dab0a375f0b8a0a3b57b1328925a069c199bad3b10fb99a09cb745374cc22d487e05b826c4c421d84623469da9f335a328c591e247fc945a -EBUILD beancount-2.3.2.ebuild 1402 BLAKE2B 6648d4ab4fc832fa97401ac7bb60f88e76a12d57fe4cd1354ba4f3d4bdcffdb48c0538f487795ca5556db2e4bf24f9d45057ff294e270043e99b82b50eff6178 SHA512 ea076ca1f37e3d6cfb90bc8f125c5f73779a7ca6ed87b92a6fc6d73d835b6c35812f0ac6b07e1fdd889326f92baeef760e2d9e58f1be5709dac0b0074f17b8c9 -EBUILD beancount-2.3.3.ebuild 1402 BLAKE2B 6648d4ab4fc832fa97401ac7bb60f88e76a12d57fe4cd1354ba4f3d4bdcffdb48c0538f487795ca5556db2e4bf24f9d45057ff294e270043e99b82b50eff6178 SHA512 ea076ca1f37e3d6cfb90bc8f125c5f73779a7ca6ed87b92a6fc6d73d835b6c35812f0ac6b07e1fdd889326f92baeef760e2d9e58f1be5709dac0b0074f17b8c9 +EBUILD beancount-2.3.3.ebuild 1547 BLAKE2B 63148fd9df65e77e74aa1033ed738c30f023aeb6d28c31766639f550d128a2d01315de82c9f41e7ca8b581805bebe8218d7e06cebadf961f0da9065451a361f8 SHA512 fbc7b35a396ae9bc91ed0521093cddb5bdadb6ef6c1f24efe8ffcb03d53ce2902ffdea1e2375d7beb225a4440416b888ce4d1e03095f827847e7aa6f24fb2b03 +EBUILD beancount-9999.ebuild 1547 BLAKE2B 63148fd9df65e77e74aa1033ed738c30f023aeb6d28c31766639f550d128a2d01315de82c9f41e7ca8b581805bebe8218d7e06cebadf961f0da9065451a361f8 SHA512 fbc7b35a396ae9bc91ed0521093cddb5bdadb6ef6c1f24efe8ffcb03d53ce2902ffdea1e2375d7beb225a4440416b888ce4d1e03095f827847e7aa6f24fb2b03 MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-office/beancount/beancount-2.3.2.ebuild b/app-office/beancount/beancount-2.3.2.ebuild deleted file mode 100644 index 272b808..0000000 --- a/app-office/beancount/beancount-2.3.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS="rdepend" - -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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="emacs" - -SITEFILE="50{PN}-mode-gentoo.el" - -RDEPEND=" - >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] - >=dev-python/bottle-0.12[${PYTHON_USEDEP}] - >=dev-python/ply-3.4[${PYTHON_USEDEP}] - >=dev-python/lxml-3.0[${PYTHON_USEDEP}] - >=dev-python/google-api-python-client-1.8.2[${PYTHON_USEDEP}] - >=dev-python/oauth2client-4.0[${PYTHON_USEDEP}] - >=dev-python/httplib2-0.10[${PYTHON_USEDEP}] - >=dev-python/requests-2.0[${PYTHON_USEDEP}] - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - >=dev-python/python-magic-0.4.12[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - " -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -python_compile_all() { - use emacs && elisp-compile editors/emacs/beancount.el -} - -python_install_all() { - rm -rf "${ED}/usr/elisp" || die "removing erroneous elisp files failed" - - distutils-r1_python_install_all - - if use emacs; then - elisp-install ${PN} editors/emacs/beancount.el - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} 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" diff --git a/app-office/beancount/beancount-9999.ebuild b/app-office/beancount/beancount-9999.ebuild new file mode 100644 index 0000000..0a31ff2 --- /dev/null +++ b/app-office/beancount/beancount-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS="rdepend" + +inherit distutils-r1 elisp-common + +DESCRIPTION="Command-line Double-Entry Accounting" +HOMEPAGE="http://furius.ca/beancount https://pypi.org/project/beancount" + +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" +IUSE="emacs" + +SITEFILE="50{PN}-mode-gentoo.el" + +RDEPEND=" + >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] + >=dev-python/bottle-0.12[${PYTHON_USEDEP}] + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + >=dev-python/lxml-3.0[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.8.2[${PYTHON_USEDEP}] + >=dev-python/oauth2client-4.0[${PYTHON_USEDEP}] + >=dev-python/httplib2-0.10[${PYTHON_USEDEP}] + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + >=dev-python/python-magic-0.4.12[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + " +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_compile_all() { + use emacs && elisp-compile editors/emacs/beancount.el +} + +python_install_all() { + rm -rf "${ED}/usr/elisp" || die "removing erroneous elisp files failed" + + distutils-r1_python_install_all + + if use emacs; then + elisp-install ${PN} editors/emacs/beancount.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} -- cgit v1.2.3-2-gb3c3