New package: python-requests-oauthlib-0.5.0
This commit is contained in:
parent
f93b978c60
commit
89b7aa8ffc
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-requests-oauthlib/template
Normal file
33
srcpkgs/python-requests-oauthlib/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'python-requests-oauthlib'
|
||||||
|
pkgname=python-requests-oauthlib
|
||||||
|
version=0.5.0
|
||||||
|
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="BSD"
|
||||||
|
homepage="https://github.com/requests/requests-oauthlib"
|
||||||
|
distfiles="${PYPI_SITE}/r/requests-oauthlib/requests-oauthlib-${version}.tar.gz"
|
||||||
|
checksum=658d9aba85338be8c1d1532c9fb5807b381dc7166e469ff0f62fcaa4240d9eb8
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-requests-oauthlib
Symbolic link
1
srcpkgs/python3.4-requests-oauthlib
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-requests-oauthlib
|
Loading…
Reference in a new issue