python-twitter: add python3.4-twitter

This commit is contained in:
Michael Gehring 2016-05-27 20:41:01 +02:00
parent a8e5e99ff7
commit 5b47dee74b
2 changed files with 15 additions and 1 deletions

View File

@ -4,8 +4,9 @@ version=3.1
revision=1
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="twitter"
hostmakedepends="python-setuptools"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-requests python-requests-oauthlib"
short_desc="Python2 wrapper around the Twitter API"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
@ -13,3 +14,15 @@ license="Apache-2.0"
homepage="https://github.com/bear/python-twitter"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=74cfdd6a7bbe00fdd08ce582c9a2ee5d6c080e6c228ffced009a356092fbb923
python3.4-twitter_package() {
noarch=yes
depends="python3.4-requests python3.4-requests-oauthlib"
pycompile_version="3.4"
pycompile_module="twitter"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-twitter Symbolic link
View File

@ -0,0 +1 @@
python-twitter