From 1585ba3ef24ef3fda744e3cec0bf34fb616cb879 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 18 Jun 2020 10:55:09 +0200 Subject: app-office/fava: Bump to 1.15 Package-Manager: Portage-2.3.99, Repoman-2.3.22 --- app-office/fava/fava-1.15.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app-office/fava/fava-1.15.ebuild (limited to 'app-office/fava/fava-1.15.ebuild') diff --git a/app-office/fava/fava-1.15.ebuild b/app-office/fava/fava-1.15.ebuild new file mode 100644 index 0000000..16fb5f7 --- /dev/null +++ b/app-office/fava/fava-1.15.ebuild @@ -0,0 +1,43 @@ +# 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="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.1.3[${PYTHON_USEDEP}] + >=dev-python/Babel-2.6.0[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/flask-babel-1.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-0.10.1[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/markdown2-2.3.0[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.3.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-0.15.0[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + " +DEPEND="dev-python/setuptools[${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