dev-python/zope-i18nmessageid: Fix running tests

Closes: https://bugs.gentoo.org/775062
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-03-10 16:18:11 +01:00
parent 5e1321b4bc
commit 3b191a926c

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,10 +21,17 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
RDEPEND="
dev-python/namespace-zope[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]"
distutils_enable_tests setup.py
distutils_enable_tests unittest
python_test() {
"${EPYTHON}" -m unittest discover -v -s "${BUILD_DIR}"/lib ||
die "Tests failed with ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all