From d4cb9cd74356c959fad738e6d2b8becd7f6b06d9 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 21:21:15 +0700 Subject: [PATCH] python-oauthlib: drop package --- srcpkgs/python-oauthlib/template | 31 ------------------------------- srcpkgs/python3-oauthlib | 1 - srcpkgs/python3-oauthlib/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-oauthlib/template delete mode 120000 srcpkgs/python3-oauthlib create mode 100644 srcpkgs/python3-oauthlib/template diff --git a/srcpkgs/python-oauthlib/template b/srcpkgs/python-oauthlib/template deleted file mode 100644 index 036f1b31c9..0000000000 --- a/srcpkgs/python-oauthlib/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-oauthlib' -pkgname=python-oauthlib -version=3.1.0 -revision=2 -archs=noarch -wrksrc="${pkgname#*-}-${version}" -build_style=python-module -pycompile_module="oauthlib" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Implementation of the OAuth request-signing logic (Python2)" -maintainer="bra1nwave " -license="BSD-3-Clause" -homepage="https://github.com/oauthlib/oauthlib" -distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz" -checksum=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889 - -post_install() { - vlicense LICENSE -} - -python3-oauthlib_package() { - archs=noarch - depends="python3" - pycompile_module="oauthlib" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove "usr/lib/python3*" - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-oauthlib b/srcpkgs/python3-oauthlib deleted file mode 120000 index 40cc6b88ab..0000000000 --- a/srcpkgs/python3-oauthlib +++ /dev/null @@ -1 +0,0 @@ -python-oauthlib \ No newline at end of file diff --git a/srcpkgs/python3-oauthlib/template b/srcpkgs/python3-oauthlib/template new file mode 100644 index 0000000000..642950f51e --- /dev/null +++ b/srcpkgs/python3-oauthlib/template @@ -0,0 +1,18 @@ +# Template file for 'python3-oauthlib' +pkgname=python3-oauthlib +version=3.1.0 +revision=3 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Implementation of the OAuth request-signing logic (Python3)" +maintainer="bra1nwave " +license="BSD-3-Clause" +homepage="https://github.com/oauthlib/oauthlib" +distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz" +checksum=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889 + +post_install() { + vlicense LICENSE +}