32 lines
820 B
Bash
32 lines
820 B
Bash
# Template file for 'python-oauthlib'
|
|
pkgname=python-oauthlib
|
|
version=2.0.7
|
|
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="BSD-3-Clause"
|
|
homepage="https://github.com/idan/oauthlib"
|
|
distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz"
|
|
checksum=909665297635fa11fe9914c146d875f2ed41c8c2d78e21a529dd71c0ba756508
|
|
|
|
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
|
|
}
|
|
}
|