void-packages/srcpkgs/python-requests-oauthlib/template
2019-03-01 12:04:45 -03:00

32 lines
939 B
Bash

# Template file for 'python-requests-oauthlib'
pkgname=python-requests-oauthlib
version=1.1.0
revision=1
archs=noarch
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=eabd8eb700ebed81ba080c6ead96d39d6bdc39996094bd23000204f6965786b0
post_install() {
vlicense LICENSE
}
python3-requests-oauthlib_package() {
archs=noarch
depends="python3-requests python3-oauthlib"
pycompile_module="requests_oauthlib"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}