void-packages/srcpkgs/python-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
820 B
Bash

# Template file for 'python-oauthlib'
pkgname=python-oauthlib
version=2.0.6
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="oauthlib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 implementation of the OAuth request-signing logic"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="3-clause-BSD"
homepage="https://github.com/idan/oauthlib"
distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz"
checksum=ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1
post_install() {
vlicense LICENSE
}
python3-oauthlib_package() {
noarch=yes
depends="python3"
pycompile_module="oauthlib"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}