void-packages/srcpkgs/python-oauthlib/template

34 lines
871 B
Bash
Raw Normal View History

2015-08-03 16:47:15 +00:00
# Template file for 'python-oauthlib'
pkgname=python-oauthlib
2016-05-01 09:54:18 +00:00
version=1.1.1
2015-08-03 16:47:15 +00:00
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="oauthlib"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
short_desc="Python2 implementation of the OAuth request-signing logic"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="https://github.com/idan/oauthlib"
distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz"
2016-05-01 09:54:18 +00:00
checksum=2adb8aea38b57b0f997f5165ade8228c8a105ac1a32b485fba04ce545e887e0e
2015-08-03 16:47:15 +00:00
post_install() {
vlicense LICENSE
}
python3.4-oauthlib_package() {
2015-08-31 11:34:52 +00:00
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="oauthlib"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
2015-08-03 16:47:15 +00:00
vlicense LICENSE
2015-08-31 11:34:52 +00:00
}
2015-08-03 16:47:15 +00:00
}