void-packages/srcpkgs/python3-twitter/template

20 lines
636 B
Bash

# Template file for 'python3-twitter'
pkgname=python3-twitter
_pkgname=${pkgname/3/}
version=3.5
revision=5
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
}