26 lines
843 B
Bash
26 lines
843 B
Bash
# Template file for 'python-requests-toolbelt'
|
|
pkgname=python-requests-toolbelt
|
|
version=0.9.1
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="requests_toolbelt"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-requests"
|
|
short_desc="Utilities for advanced use of python-requests (Python2)"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="Apache-2.0"
|
|
homepage="https://toolbelt.readthedocs.io"
|
|
distfiles="${PYPI_SITE}/r/requests-toolbelt/requests-toolbelt-${version}.tar.gz"
|
|
checksum=968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0
|
|
|
|
python3-requests-toolbelt_package() {
|
|
archs=noarch
|
|
pycompile_module="requests_toolbelt"
|
|
depends="python3-requests"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|