From a7e92a62528e85ad1bf3eafc8c824aa0ce066386 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Wed, 8 Feb 2023 00:17:57 -0500 Subject: dev-python/*: WIP tests Signed-off-by: Julien Roy --- dev-python/zope-i18n/zope-i18n-4.9.0.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'dev-python/zope-i18n') diff --git a/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild b/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild index e02e448..88aea57 100644 --- a/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild +++ b/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild @@ -16,8 +16,7 @@ S="${WORKDIR}/${PN/-/\.}-${PV}" LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64" -# Failures -RESTRICT="test" + RDEPEND=" dev-python/python-gettext[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] @@ -37,7 +36,7 @@ RDEPEND=" DEPEND="${RDEPEND}" distutils_enable_sphinx docs -distutils_enable_tests unittest +distutils_enable_tests setup.py src_prepare() { # strip rdep specific to namespaces @@ -58,7 +57,7 @@ python_compile_all() { } python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die distutils_write_namespace zope - eunittest + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/zope" || die } -- cgit v1.2.3