void-packages/srcpkgs/python-twitter/template
2016-05-28 12:48:28 +02:00

28 lines
871 B
Bash

# Template file for 'python-twitter'
pkgname=python-twitter
version=3.1
revision=2
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="twitter"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-future python-requests python-requests-oauthlib"
short_desc="Python2 wrapper around the Twitter API"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
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
pycompile_version="3.4"
pycompile_module="twitter"
depends="python3.4-future python3.4-requests python3.4-requests-oauthlib"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}