From 3513628ae3481fdf7cee8745a00403d8c002a7b7 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Tue, 7 Sep 2021 13:06:28 +0200 Subject: app-office/fava: Add dependency for dev-python/chardet Setting up fava on a WSL 2 installation of Gentoo revealed this previously undocumented dependency. Make sure we actually pull it in. Package-Manager: Portage-3.0.20, Repoman-3.0.3 --- app-office/fava/Manifest | 2 +- app-office/fava/fava-1.19-r1.ebuild | 43 +++++++++++++++++++++++++++++++++++++ app-office/fava/fava-1.19.ebuild | 42 ------------------------------------ 3 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 app-office/fava/fava-1.19-r1.ebuild delete mode 100644 app-office/fava/fava-1.19.ebuild (limited to 'app-office') diff --git a/app-office/fava/Manifest b/app-office/fava/Manifest index 8790cea..c3c2fce 100644 --- a/app-office/fava/Manifest +++ b/app-office/fava/Manifest @@ -1,3 +1,3 @@ DIST fava-1.19.tar.gz 1699433 BLAKE2B eaf0d67a6c714abe411897044ef2cbd2886176508c34b41835ecde3aad1bd9bbf49226acda9f5581cba295616f96e59022bc141c590499c0d6f5735ecccc1935 SHA512 807548090a7d872b92a2950c1af67f639ec937f9e24bac711ffe993aa18232efeaa5290af31a19df9b0b01d842fa4e603efe517792de58024a78925729a8cc1f -EBUILD fava-1.19.ebuild 1317 BLAKE2B fd5152da362cc130640dd72e571b50db72511bc98524161e664d00dc6b7216fd6ee08c7497cee96257f9ef8a0001a065bd8c81c395fd8b0ba07296108e3005db SHA512 0deac639dab246cdda99c03ab652ceff967a49df58cd56d4f6a41b1d7c7bbf74ec7c241858af6325c4048367a4008ddcff64a3157adb0bb4eb0197892c1b5c2f +EBUILD fava-1.19-r1.ebuild 1355 BLAKE2B d1cca628e20a63ce7f1a5536d84ded708b9cc9cc2c62992db32951c8e4a6987992c907f2acd5f475df4c0a7a463a4de016b9891fd34257151b89660eca43bc90 SHA512 afc2c4a109a9219e4998d0f9c47c2376dcef3d54749a072cee26430a5f3128e917d9194eb1a3aea74b2386fe52694f847008e8a94d6a864b213d9651aa0829c4 MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-office/fava/fava-1.19-r1.ebuild b/app-office/fava/fava-1.19-r1.ebuild new file mode 100644 index 0000000..452bff3 --- /dev/null +++ b/app-office/fava/fava-1.19-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8,9} ) +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.3.0[${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-3.2.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-1.0.0[${PYTHON_USEDEP}] + dev-python/chardet[${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 +} diff --git a/app-office/fava/fava-1.19.ebuild b/app-office/fava/fava-1.19.ebuild deleted file mode 100644 index 51cd6ef..0000000 --- a/app-office/fava/fava-1.19.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) -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.3.0[${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-3.2.0[${PYTHON_USEDEP}] - >=dev-python/werkzeug-1.0.0[${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