void-packages/srcpkgs/python3-tweepy/template
2020-12-16 23:49:32 -05:00

25 lines
729 B
Bash

# Template file for 'python3-tweepy'
pkgname=python3-tweepy
version=3.9.0
revision=1
wrksrc="tweepy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests-oauthlib python3-six 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=2b7ec06cc5d143396423a5eae16b198e69b93df2bc6044f1365270c805e940b7
do_check() {
: # 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
}