From a2515b15f2d0d6165db3822c3b5fe22c1bdea0b6 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Sun, 15 Dec 2019 10:22:11 +0700 Subject: [PATCH] New package: python-zipp-0.6.0. --- srcpkgs/python-zipp | 1 + srcpkgs/python3-zipp/template | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/python-zipp 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 + } +}