From 4b4dcde1684315ff84c1ada9474eda00519d42ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 28 Jan 2020 10:44:34 +0700 Subject: [PATCH] python3-zipp: drop package zipp is a backport of Path object. See: https://pypi.org/project/zipp/ We don't need python3-zipp anymore, now. --- srcpkgs/python-zipp | 1 - .../{python3-zipp => python-zipp}/template | 20 +++++-------------- 2 files changed, 5 insertions(+), 16 deletions(-) delete mode 120000 srcpkgs/python-zipp rename srcpkgs/{python3-zipp => python-zipp}/template (59%) diff --git a/srcpkgs/python-zipp b/srcpkgs/python-zipp deleted file mode 120000 index 98b04d0e844..00000000000 --- a/srcpkgs/python-zipp +++ /dev/null @@ -1 +0,0 @@ -python3-zipp \ No newline at end of file diff --git a/srcpkgs/python3-zipp/template b/srcpkgs/python-zipp/template similarity index 59% rename from srcpkgs/python3-zipp/template rename to srcpkgs/python-zipp/template index c1eecbb47e3..600d9006609 100644 --- a/srcpkgs/python3-zipp/template +++ b/srcpkgs/python-zipp/template @@ -1,13 +1,12 @@ -# Template file for 'python3-zipp' -pkgname=python3-zipp +# Template file for 'python-zipp' +pkgname=python-zipp version=0.6.0 revision=2 archs=noarch wrksrc="zipp-${version}" -build_style=python-module -pycompile_module="zipp.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python3" +build_style=python2-module +hostmakedepends="python-setuptools" +depends="python" short_desc="Pathlib-compatible Zipfile object wrapper" maintainer="Piotr Wójcik " license="MIT" @@ -19,12 +18,3 @@ checksum=3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e post_install() { vlicense LICENSE } - -python-zipp_package() { - depends=python - short_desc+=" - Python 2" - pkg_install() { - vmove "usr/lib/python2.7" - vlicense LICENSE - } -}