void-packages/srcpkgs/python3-twitter/template

19 lines
606 B
Bash

# Template file for 'python3-twitter'
pkgname=python3-twitter
_pkgname=${pkgname/3/}
version=3.5
revision=7
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-future python3-requests python3-requests-oauthlib"
short_desc="Python3 wrapper around the Twitter API"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}