diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-08-24 09:35:25 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-08-24 21:19:27 +0300 |
commit | 0aedd9eb5aeb4031c90d60f6d8d05c36e7f6daed (patch) | |
tree | 38a8d6eb3732c6ceed80134cd9ca57295ec1f9f4 | |
parent | dev-python/flask-mail: enable py3.10 (diff) | |
download | gentoo-0aedd9eb5aeb4031c90d60f6d8d05c36e7f6daed.tar.gz gentoo-0aedd9eb5aeb4031c90d60f6d8d05c36e7f6daed.tar.bz2 gentoo-0aedd9eb5aeb4031c90d60f6d8d05c36e7f6daed.zip |
dev-python/flask-babelex: enable py3.10, cleanup python_test
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | dev-python/flask-babelex/flask-babelex-0.9.4.ebuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild b/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild index aadb87785dd9..8c709a50a162 100644 --- a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild +++ b/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 MY_PN="Flask-BabelEx" @@ -17,16 +17,13 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/flask[${PYTHON_USEDEP}] >=dev-python/Babel-1[${PYTHON_USEDEP}] >=dev-python/speaklater-1.2[${PYTHON_USEDEP}] >=dev-python/jinja-2.5[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( ${RDEPEND} )" +distutils_enable_tests unittest distutils_enable_sphinx docs \ dev-python/flask-sphinx-themes @@ -34,5 +31,5 @@ PATCHES=( "${FILESDIR}/${PN}-0.9.3-tests-fix.patch" ) python_test() { cd tests || die - "${EPYTHON}" tests.py || die "Testing failed with ${EPYTHON}" + eunittest } |