void-packages/srcpkgs/python3-tweepy/template

21 lines
685 B
Bash

# Template file for 'python3-tweepy'
pkgname=python3-tweepy
version=4.8.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests-oauthlib python3-pysocks"
short_desc="Twitter library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/tweepy/tweepy"
distfiles="https://github.com/tweepy/tweepy/archive/v${version}.tar.gz"
checksum=6ca49718d9cd0e73080f780062e050dd8ca777201365fb50b935d727f7c1fc18
make_check=no # requires packages not provided by Void
post_install() {
vlicense LICENSE
# remove examples from site-packages root
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/examples
}