From 5a9ae773c9e932d3783288ad3b6eeb04f6a39d1a 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 15:54:41 +0700 Subject: [PATCH] python-twitter: drop package --- srcpkgs/python-twitter/template | 29 ----------------------------- srcpkgs/python3-twitter | 1 - srcpkgs/python3-twitter/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-twitter/template delete mode 120000 srcpkgs/python3-twitter create mode 100644 srcpkgs/python3-twitter/template diff --git a/srcpkgs/python-twitter/template b/srcpkgs/python-twitter/template deleted file mode 100644 index e5e7194078a..00000000000 --- a/srcpkgs/python-twitter/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-twitter' -pkgname=python-twitter -version=3.5 -revision=2 -archs=noarch -build_style=python-module -pycompile_module="twitter" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-future python-requests python-requests-oauthlib" -short_desc="Python2 wrapper around the Twitter API" -maintainer="Peter Bui " -license="Apache-2.0" -homepage="https://github.com/bear/python-twitter" -distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=45855742f1095aa0c8c57b2983eee3b6b7f527462b50a2fa8437a8b398544d90 - -pre_build() { - sed -i '/setup_requires=/d' setup.py -} - -python3-twitter_package() { - archs=noarch - pycompile_module="twitter" - depends="python3-future python3-requests python3-requests-oauthlib" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-twitter b/srcpkgs/python3-twitter deleted file mode 120000 index 4658fe99242..00000000000 --- a/srcpkgs/python3-twitter +++ /dev/null @@ -1 +0,0 @@ -python-twitter \ No newline at end of file diff --git a/srcpkgs/python3-twitter/template b/srcpkgs/python3-twitter/template new file mode 100644 index 00000000000..66f386df72c --- /dev/null +++ b/srcpkgs/python3-twitter/template @@ -0,0 +1,19 @@ +# Template file for 'python3-twitter' +pkgname=python3-twitter +_pkgname=${pkgname/3/} +version=3.5 +revision=3 +wrksrc=$_pkgname-$version +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-future python3-requests python3-requests-oauthlib" +short_desc="Python3 wrapper around the Twitter API" +maintainer="Peter Bui " +license="Apache-2.0" +homepage="https://github.com/bear/python-twitter" +distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz" +checksum=45855742f1095aa0c8c57b2983eee3b6b7f527462b50a2fa8437a8b398544d90 + +pre_build() { + sed -i '/setup_requires=/d' setup.py +}