diff options
Diffstat (limited to 'dev-python/zope-pagetemplate')
| -rw-r--r-- | dev-python/zope-pagetemplate/zope-pagetemplate-4.6.0.ebuild | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-python/zope-pagetemplate/zope-pagetemplate-4.6.0.ebuild b/dev-python/zope-pagetemplate/zope-pagetemplate-4.6.0.ebuild index 4c0698c..06050fd 100644 --- a/dev-python/zope-pagetemplate/zope-pagetemplate-4.6.0.ebuild +++ b/dev-python/zope-pagetemplate/zope-pagetemplate-4.6.0.ebuild @@ -16,8 +16,6 @@ S="${WORKDIR}/${PN/-/\.}-${PV}"  LICENSE="ZPL"  SLOT="0"  KEYWORDS="~amd64" -# Zope Testrunner -RESTRICT="test"  RDEPEND="  	dev-python/six[${PYTHON_USEDEP}] @@ -39,7 +37,7 @@ RDEPEND="  DEPEND="${RDEPEND}"  distutils_enable_sphinx docs -distutils_enable_tests unittest +distutils_enable_tests setup.py  src_prepare() {  	# strip rdep specific to namespaces @@ -59,7 +57,8 @@ python_compile_all() {  	rm "${BUILD_DIR}/install$(python_get_sitedir)/zope/__init__.py"  } -src_test() { -	cd "${S}/src/zope/untrustedpython" || die -	distutils-r1_src_test +python_test() { +	distutils_write_namespace zope +	zope-testrunner -pvc -j "$(nproc)" --usecompiled \ +		--path "${BUILD_DIR}/install$(python_get_sitedir)/zope" || die  }  | 
