python-twitter: drop package
This commit is contained in:
parent
b318856db4
commit
5a9ae773c9
3 changed files with 19 additions and 30 deletions
|
@ -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 <pbui@github.bx612.space>"
|
||||
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*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-twitter
|
19
srcpkgs/python3-twitter/template
Normal file
19
srcpkgs/python3-twitter/template
Normal file
|
@ -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 <pbui@github.bx612.space>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue