diff options
Diffstat (limited to 'dev-python/zope-container')
| -rw-r--r-- | dev-python/zope-container/zope-container-5.0.ebuild | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/zope-container/zope-container-5.0.ebuild b/dev-python/zope-container/zope-container-5.0.ebuild index ccd79f3..aaeb457 100644 --- a/dev-python/zope-container/zope-container-5.0.ebuild +++ b/dev-python/zope-container/zope-container-5.0.ebuild @@ -16,8 +16,6 @@ S="${WORKDIR}/${PN/-/\.}-${PV}"  LICENSE="ZPL"  SLOT="0"  KEYWORDS="~amd64" -# Zope Testrunner -RESTRICT="test"  RDEPEND="  	dev-python/btrees[${PYTHON_USEDEP}] @@ -50,7 +48,7 @@ RDEPEND="  BDEPEND="${RDEPEND}"  distutils_enable_sphinx docs -distutils_enable_tests unittest +distutils_enable_tests setup.py  src_prepare() {  	# strip rdep specific to namespaces @@ -69,3 +67,9 @@ python_compile_all() {  	build_sphinx docs  	rm "${BUILD_DIR}/install$(python_get_sitedir)/zope/__init__.py"  } + +python_test() { +	distutils_write_namespace zope +	zope-testrunner -pvc -j "$(nproc)" --usecompiled \ +		--path "${BUILD_DIR}/install$(python_get_sitedir)/zope" || die +}  | 
