diff options
author | Wynn Wolf Arbor | 2020-04-19 18:43:57 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-04-19 18:43:57 +0200 |
commit | ba9bb27430e0ae4647728588a8bc9705613809ff (patch) | |
tree | 0618570fee2e871ecab2c5e22106968b7316fb10 /app-office/fava/fava-1.14-r1.ebuild | |
parent | aae106aed5f9be9b27cc196f01990aa242dd4f65 (diff) | |
download | pramantha-ba9bb27430e0ae4647728588a8bc9705613809ff.tar.gz |
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
Diffstat (limited to '')
-rw-r--r-- | app-office/fava/fava-1.14-r2.ebuild (renamed from app-office/fava/fava-1.14-r1.ebuild) | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app-office/fava/fava-1.14-r1.ebuild b/app-office/fava/fava-1.14-r2.ebuild index f4cf01b..9bd08ad 100644 --- a/app-office/fava/fava-1.14-r1.ebuild +++ b/app-office/fava/fava-1.14-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_7 ) DISTUTILS_USE_SETUPTOOLS="rdepend" inherit distutils-r1 elisp-common @@ -30,3 +30,14 @@ RDEPEND=" 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 +} |