python3-tweepy: update to 3.9.0.

This commit is contained in:
Nathan Owens 2020-12-06 11:04:25 -06:00 committed by Andrew J. Hesford
parent 1e34550015
commit 5f479597e5

View file

@ -1,7 +1,7 @@
# Template file for 'python3-tweepy' # Template file for 'python3-tweepy'
pkgname=python3-tweepy pkgname=python3-tweepy
version=3.8.0 version=3.9.0
revision=4 revision=1
wrksrc="tweepy-${version}" wrksrc="tweepy-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
@ -10,14 +10,15 @@ short_desc="Twitter library for Python3"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/tweepy/tweepy" homepage="https://github.com/tweepy/tweepy"
distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz distfiles="https://github.com/tweepy/tweepy/archive/v${version}.tar.gz"
https://raw.githubusercontent.com/tweepy/tweepy/v$version/LICENSE" checksum=2b7ec06cc5d143396423a5eae16b198e69b93df2bc6044f1365270c805e940b7
checksum="8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b
bf9bc5b9dcb8421bb3c342bb7fd29194688e1262b50766bd71b21a07461e74b7" do_check() {
skip_extraction="LICENSE" : # requires packages not provided by Void
}
post_install() { post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE vlicense LICENSE
# remove examples from site-packages root # remove examples from site-packages root
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/examples rm -rf ${DESTDIR}/usr/lib/python*/site-packages/examples
} }