aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app-office/beancount/Manifest2
-rw-r--r--app-office/beancount/beancount-2.3.3.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/app-office/beancount/Manifest b/app-office/beancount/Manifest
index f0510a0..d8fe402 100644
--- a/app-office/beancount/Manifest
+++ b/app-office/beancount/Manifest
@@ -1,5 +1,7 @@
DIST beancount-2.3.1.tar.gz 641014 BLAKE2B 1d8b53881843038e74bfbfd8bad6a5c1f4931420a0c0cfc4f9ce301038d48d64c66b31ff29ac1b05638c3018d0e1aabf3ed25d7fab6536c7e450a78188c1f3f8 SHA512 cafc4e9f7e0848d28956b23211a195830ad6bb33ad5e1ead847ad31a03e3dfc3d75f0a4397bc1abc5352223767eae56281d1177d86d2473c7786625ffee7018f
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.1.ebuild 1402 BLAKE2B 425e7b23bcc6fce4dd1967105dd68e581da4eb12dafd1119065498533b10ca0bfc4c6dab29e607d9ab54f8de9a425eff8524706bccc9dce54325d2ae33bbcbfe SHA512 5b13fb01ff1ce3f54684238e8b9b6b5cf0eb92fbb2672c7f452609998d32228e8aca6a7a51eacfe8371b4f71aff05ac39b956ab9167790d3a1b95b709180360b
EBUILD beancount-2.3.2.ebuild 1402 BLAKE2B 6648d4ab4fc832fa97401ac7bb60f88e76a12d57fe4cd1354ba4f3d4bdcffdb48c0538f487795ca5556db2e4bf24f9d45057ff294e270043e99b82b50eff6178 SHA512 ea076ca1f37e3d6cfb90bc8f125c5f73779a7ca6ed87b92a6fc6d73d835b6c35812f0ac6b07e1fdd889326f92baeef760e2d9e58f1be5709dac0b0074f17b8c9
+EBUILD beancount-2.3.3.ebuild 1402 BLAKE2B 6648d4ab4fc832fa97401ac7bb60f88e76a12d57fe4cd1354ba4f3d4bdcffdb48c0538f487795ca5556db2e4bf24f9d45057ff294e270043e99b82b50eff6178 SHA512 ea076ca1f37e3d6cfb90bc8f125c5f73779a7ca6ed87b92a6fc6d73d835b6c35812f0ac6b07e1fdd889326f92baeef760e2d9e58f1be5709dac0b0074f17b8c9
MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/app-office/beancount/beancount-2.3.3.ebuild b/app-office/beancount/beancount-2.3.3.ebuild
new file mode 100644
index 0000000..272b808
--- /dev/null
+++ b/app-office/beancount/beancount-2.3.3.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,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
+}