# Template file for 'python-tweepy' pkgname=python-tweepy version=3.8.0 revision=2 archs=noarch wrksrc="tweepy-${version}" build_style=python-module pycompile_module="tweepy" hostmakedepends="python-setuptools python3-setuptools" depends="python-requests-oauthlib python-six python-pysocks" short_desc="Twitter library for Python2" maintainer="Orphaned " license="MIT" homepage="https://github.com/tweepy/tweepy" distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz" checksum=8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b python_version=2 post_install() { # We cannot fetch this as distfile without create_wrksrc=yes which # OTOH makes it difficult to build. Just fetch the LICENSE text now. $XBPS_FETCH_CMD -o LICENSE.txt https://raw.githubusercontent.com/tweepy/tweepy/master/LICENSE digest=$($XBPS_DIGEST_CMD