diff --git a/srcpkgs/python-py/template b/srcpkgs/python-py/template index 4cc4cbaa76..5642b08a1c 100644 --- a/srcpkgs/python-py/template +++ b/srcpkgs/python-py/template @@ -1,11 +1,13 @@ # Template file for 'python-py' pkgname=python-py version=1.5.3 -revision=1 -wrksrc="${pkgname/python-//}-${version}" +revision=2 +noarch=yes +wrksrc="py-${version}" build_style=python-module pycompile_module="py" hostmakedepends="python-setuptools python3-setuptools" +depends="python" checkdepends="python3-pytest" short_desc="Python2 development support library" maintainer="maxice8 " @@ -13,7 +15,6 @@ license="MIT" homepage="https://github.com/pytest-dev/py" distfiles="https://github.com/pytest-dev/py/archive/${version}.tar.gz" checksum=c0698a6f71e9ea2a44e5bdf81f1ec8d5b5e9646e990c75fadeb133149aeb8440 -noarch=yes do_check() { python3 -m pytest @@ -25,6 +26,7 @@ post_install() { python3-py_package() { noarch=yes + depends="python3" pycompile_module="py" short_desc="${short_desc/Python2/Python3}" pkg_install() {