void-packages/srcpkgs/python-tweepy/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

32 lines
997 B
Bash

# Template file for 'python-tweepy'
pkgname=python-tweepy
_pypiname=tweepy
version=3.5.0
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-pip python3-pip"
depends="python-requests python-requests-oauthlib python-six"
short_desc="Twitter library for python"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://pypy.python.org/pypi/tweepy/3.5.0"
distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz https://raw.githubusercontent.com/tweepy/tweepy/920f5c49c059c4ea7f16c7c4f070c484161525c3/LICENSE>LICENSE.txt"
checksum="f00ccf5f48c30d559ce0b750dfe3b2df6668dc799d8ce276fd90bfaa68845a58
deeeae0dcc22dbf108a801b8dc4e484bcc1bfb541b1a4f4615ab3e61def44fb5"
noarch=yes
post_install() {
vlicense ../LICENSE.txt
}
python3-tweepy_package() {
noarch=yes
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense ../LICENSE.txt
}
}