From 0761346aaefa642b3b8008299bf6cc239fb53751 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Wed, 10 Jun 2020 11:33:22 +0200 Subject: app-office/beancount: Bump to 2.3.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 --- app-office/beancount/Manifest | 2 ++ app-office/beancount/beancount-2.3.0.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 app-office/beancount/beancount-2.3.0.ebuild (limited to 'app-office/beancount') diff --git a/app-office/beancount/Manifest b/app-office/beancount/Manifest index e33fbd5..7209fbb 100644 --- a/app-office/beancount/Manifest +++ b/app-office/beancount/Manifest @@ -1,3 +1,5 @@ DIST beancount-2.2.3.tar.gz 604034 BLAKE2B 00fedb303f37bbb5e20e0f0b6cc7b474957edba1643d1cfe7c44438d61c85213d115a794a501da9af595ad36387f1013d8bfe352c34f9fdcfdf5c06a83215680 SHA512 850875fd7b28ca2b861111d1d2b90b2e2f01e1e6fcc729c7983fca9b3b60409cf9cd3d13e0b5fa0ba617659db5088607ad05dbc87ad3672476b2b5744d58c47b +DIST beancount-2.3.0.tar.gz 621042 BLAKE2B ccfe4efe271ed7fd91e53822a93ef8ad57763074e9c926506b2e76344655c06970773ad38dec783420b8d0c9db73887e5a6dc89937a09f669bd5092f051fb30e SHA512 18f4ddbb413a0cebe11feee6e9a1c8e4db233408c5466f433f5ddb3153584d7ba31b8552ada29a0c2816bc424cadd13815c52ea5e4c3050cd8b4c05a982ac125 EBUILD beancount-2.2.3-r1.ebuild 1396 BLAKE2B 2861e4586cc9deec76a46176b46d8ce9c2dd5b883d4b2b6c19428b302f36f0302471aed5d85c4047569bd02b91c65286e0892cbc1711ea9a8299dd4e60be77e0 SHA512 268e444b57e9fc434dc8f2f3eee4acad366e8222837005af87f27dccee88498ec029481d4732cfbec07737dc2b93580dd921da04ad1767fac9ff38d6da92465a +EBUILD beancount-2.3.0.ebuild 1400 BLAKE2B ab9e103e2824a4a5ef4e1a77c2a09028e7e0ca462bbb1e1d66c8b47c3cfd0502d7af9f28ddd9c55a5ab63f97cd543cdd74d69d2759e259207ed62e4425ba6f2c SHA512 95bdbbbd7886d0325df79635f2e7e3ce5000909f01a6d2893d852aa96a4a37230b12a22d7ee1f0352ed26cec714ed15b80fda6bd0ef5540884e2e85981318c2c MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-office/beancount/beancount-2.3.0.ebuild b/app-office/beancount/beancount-2.3.0.ebuild new file mode 100644 index 0000000..7a95989 --- /dev/null +++ b/app-office/beancount/beancount-2.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8} ) +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.6.0[${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