From 752db44cdc75bbf75e40507fbebe7ef669914fbd Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 3 Nov 2022 11:23:45 +0100 Subject: app-office/fava: add 1.23.1 --- app-office/fava/Manifest | 2 ++ app-office/fava/fava-1.23.1.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app-office/fava/fava-1.23.1.ebuild (limited to 'app-office/fava') diff --git a/app-office/fava/Manifest b/app-office/fava/Manifest index 90d60fd..5df7756 100644 --- a/app-office/fava/Manifest +++ b/app-office/fava/Manifest @@ -1,3 +1,5 @@ DIST fava-1.22.3.tar.gz 2061252 BLAKE2B 47c3bf0988cd42d35452470a463d3a4dc11824e34b9f1a793d9263619fa1f31345a905de3c4cda4b0ee68ca19e02fef360f0981def92e30966eb374244ef462d SHA512 aa36a2472ed986e7d2c4977f4790761534aa12c5c9242168834a5dddbc5f30d6ded28d381c3c34404abf772008dd6ec39edef566541c5a1aae1f7104cf3b6fcd +DIST fava-1.23.1.tar.gz 2069701 BLAKE2B d252afcee732d1b0976abfa9d2fec1ac48936b51885ddbd49c7d3c3d5eb6848075803ea3c5147407b70589549ad24fc83be31a2fb0d7d9904e62c6b0959042e4 SHA512 5314074ffcd22a12df72e23eb09c3a573073d01dba66d2ff22d6f4ff9e3a391a153b7fbf11a225e0eca0d78f7008e65ad582f54221655d05272d33a6793e8746 EBUILD fava-1.22.3.ebuild 1382 BLAKE2B cb89dbbc3be65c9df77780f719928db78f2b792caf71237174b72093b76645c29587392b7156823bf9414cb8544321e5b6188e188d12e5ef3d93a24a23f715de SHA512 7a2e4dab632fce1b63ec45f2a896b976d9640a7609420e6a530baec76886c73b350bd9411ebafc4a9507376fcf677fa2860f338321c7d06a3c3388e88ed287dc +EBUILD fava-1.23.1.ebuild 1382 BLAKE2B cb89dbbc3be65c9df77780f719928db78f2b792caf71237174b72093b76645c29587392b7156823bf9414cb8544321e5b6188e188d12e5ef3d93a24a23f715de SHA512 7a2e4dab632fce1b63ec45f2a896b976d9640a7609420e6a530baec76886c73b350bd9411ebafc4a9507376fcf677fa2860f338321c7d06a3c3388e88ed287dc MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-office/fava/fava-1.23.1.ebuild b/app-office/fava/fava-1.23.1.ebuild new file mode 100644 index 0000000..dbe50e1 --- /dev/null +++ b/app-office/fava/fava-1.23.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9,10} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="Web interface for the accounting tool Beancount" +HOMEPAGE="https://beancount.github.io/fava/ https://pypi.org/project/fava/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=app-office/beancount-2.3.0[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] + >=dev-python/cheroot-8.5.2[${PYTHON_USEDEP}] + >=dev-python/flask-babel-1.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-2.0.1[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.1[${PYTHON_USEDEP}] + >=dev-python/click-8.0.1[${PYTHON_USEDEP}] + >=dev-python/markdown2-2.3.0[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.16.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-1.0.0[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ') + " + +python_test() { + # test_static_url presumes and requires the existence of these two files. + # They need only to exist in order for the code to determine the mtime + # value. + mkdir -p fava/static/{javascript,css} || die + touch fava/static/javascript/main.ts || die + touch fava/static/css/style.css || die + + py.test -v || die +} -- cgit v1.2.3-2-gb3c3