diff --git a/srcpkgs/python-zipp b/srcpkgs/python-zipp new file mode 120000 index 0000000000..98b04d0e84 --- /dev/null +++ b/srcpkgs/python-zipp @@ -0,0 +1 @@ +python3-zipp \ No newline at end of file diff --git a/srcpkgs/python3-zipp/template b/srcpkgs/python3-zipp/template index 8445c10825..9da827cffe 100644 --- a/srcpkgs/python3-zipp/template +++ b/srcpkgs/python3-zipp/template @@ -4,9 +4,9 @@ version=0.6.0 revision=1 archs=noarch wrksrc="zipp-${version}" -build_style=python3-module +build_style=python-module pycompile_module="zipp.py" -hostmakedepends="python3-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python3" short_desc="Pathlib-compatible Zipfile object wrapper" maintainer="Piotr Wójcik " @@ -19,3 +19,12 @@ checksum=3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e post_install() { vlicense LICENSE } + +python-zipp_package() { + depends=python + short_desc+=" - Python 2" + pkg_install() { + vmove "usr/lib/python2.7" + vlicense LICENSE + } +}