34 lines
997 B
Bash
34 lines
997 B
Bash
# Template file for 'python-requests-oauthlib'
|
|
pkgname=python-requests-oauthlib
|
|
version=0.6.2
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module="requests_oauthlib"
|
|
hostmakedepends="python-setuptools python3.4-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=161ec8aaa360befac7079bcf20dc2a3993d1ddef19bc21d8118232a98f716e7a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-requests-oauthlib_package() {
|
|
noarch=yes
|
|
depends="python3.4-requests python3.4-oauthlib"
|
|
pycompile_version="3.4"
|
|
pycompile_module="requests_oauthlib"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|