From e20aeccae7a709498989accda18d404b38cb3715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:29:54 +0700 Subject: [PATCH] python-httplib2: drop package --- srcpkgs/python3-httplib2 | 1 - .../template | 27 ++++++------------- 2 files changed, 8 insertions(+), 20 deletions(-) delete mode 120000 srcpkgs/python3-httplib2 rename srcpkgs/{python-httplib2 => python3-httplib2}/template (60%) diff --git a/srcpkgs/python3-httplib2 b/srcpkgs/python3-httplib2 deleted file mode 120000 index a9367265aad..00000000000 --- a/srcpkgs/python3-httplib2 +++ /dev/null @@ -1 +0,0 @@ -python-httplib2 \ No newline at end of file diff --git a/srcpkgs/python-httplib2/template b/srcpkgs/python3-httplib2/template similarity index 60% rename from srcpkgs/python-httplib2/template rename to srcpkgs/python3-httplib2/template index 3a31c396621..de7bdb42255 100644 --- a/srcpkgs/python-httplib2/template +++ b/srcpkgs/python3-httplib2/template @@ -1,15 +1,14 @@ -# Template file for 'python-httplib2' -pkgname=python-httplib2 +# Template file for 'python3-httplib2' +pkgname=python3-httplib2 version=0.14.0 -revision=3 -archs=noarch +revision=4 create_wrksrc=yes build_wrksrc="httplib2-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python ca-certificates" -short_desc="Comprehensive HTTP client library (Python2)" -maintainer="Alessio Sergi " +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 ca-certificates" +short_desc="Comprehensive HTTP client library (Python3)" +maintainer="Orphaned " license="MIT" homepage="https://github.com/httplib2/httplib2" changelog="https://raw.githubusercontent.com/httplib2/httplib2/master/CHANGELOG" @@ -27,13 +26,3 @@ post_install() { vlicense ../LICENSE.txt } - -python3-httplib2_package() { - archs=noarch - depends="python3 ca-certificates" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense ../LICENSE.txt - } -}