void-packages/srcpkgs/python-requests-oauthlib/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

31 lines
935 B
Bash

# Template file for 'python-requests-oauthlib'
pkgname=python-requests-oauthlib
version=0.8.0
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="requests_oauthlib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-requests python-oauthlib"
short_desc="OAuthlib authentication support for Requests (Python2)"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="ISC"
homepage="https://github.com/requests/requests-oauthlib"
distfiles="${PYPI_SITE}/r/requests-oauthlib/requests-oauthlib-${version}.tar.gz"
checksum=883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468
post_install() {
vlicense LICENSE
}
python3-requests-oauthlib_package() {
noarch=yes
depends="python3-requests python3-oauthlib"
pycompile_module="requests_oauthlib"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}