From ba9bb27430e0ae4647728588a8bc9705613809ff Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sun, 19 Apr 2020 18:43:57 +0200 Subject: app-office/fava: Bump to 1.14-r2 This commit adds tests and drops support for python 3.6. Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- app-office/fava/Manifest | 2 +- app-office/fava/fava-1.14-r1.ebuild | 32 --------------------------- app-office/fava/fava-1.14-r2.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 33 deletions(-) delete mode 100644 app-office/fava/fava-1.14-r1.ebuild create mode 100644 app-office/fava/fava-1.14-r2.ebuild (limited to 'app-office') diff --git a/app-office/fava/Manifest b/app-office/fava/Manifest index 6051c13..44debbd 100644 --- a/app-office/fava/Manifest +++ b/app-office/fava/Manifest @@ -1,3 +1,3 @@ DIST fava-1.14.tar.gz 1367651 BLAKE2B 4ce9d1a8eeaa1109b3dcc39df2b97465b854fd019474cafe5b21209be3a3aa30038ff489409da84db7d67467502ad9d88f4b21afa00d5e59bb52573eaa8f3d0f SHA512 1d60344732e6517a4ca5075bd309cf0460a35bff5fd3ff5ca871a6827565eefda36283053019530592c6f53a99535a74319612ec1802ec0f3aed3455b8ec3dba -EBUILD fava-1.14-r1.ebuild 1040 BLAKE2B b21d3aaec37ccdf314dc439ba7e4ab2d62a65b3ba41bae0d0ae2ae4ccba5b1f5121841c8b046d29b7459966b527c79ddd7de494724aca4555ce0702afe020308 SHA512 4f4196af9d0f0166fb4157aade948b6f5f3e375965a9a12eeb1f775344c6297f4d6032bfab843714d6d9e0f345ceb8862cbe5751d88c54b0688c86bd99c98913 +EBUILD fava-1.14-r2.ebuild 1363 BLAKE2B 9b3d7491a39117b37e33f1bc5f57648a919e04b9648acb7915c88d1e21b70c632cb3e524d8ef816026db25e7db4894c099263b36473e8c407e0d16c21ac78692 SHA512 86ac08e2d9d092ef9ed56d77fca2542ad2e552b674e75764fb4978c3181b319e231b09510ddd73b02d4c5aa40984ef862040bd52fb558d161a3c652b6fbafccb MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-office/fava/fava-1.14-r1.ebuild b/app-office/fava/fava-1.14-r1.ebuild deleted file mode 100644 index f4cf01b..0000000 --- a/app-office/fava/fava-1.14-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) -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}]" diff --git a/app-office/fava/fava-1.14-r2.ebuild b/app-office/fava/fava-1.14-r2.ebuild new file mode 100644 index 0000000..9bd08ad --- /dev/null +++ b/app-office/fava/fava-1.14-r2.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 ) +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