mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 10:45:15 +03:00
31 lines
1,014 B
Text
31 lines
1,014 B
Text
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
|
|
pkgname=py3-requests-oauthlib
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
pkgdesc="First-class OAuth library support for Requests"
|
|
options="!check" # No tox.ini file
|
|
url="https://pypi.python.org/pypi/requests-oauthlib"
|
|
arch="noarch"
|
|
license="ISC"
|
|
depends="python3 py3-oauthlib py3-requests"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-mock py3-requests-mock py3-tox"
|
|
source="https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-$pkgver.tar.gz"
|
|
builddir="$srcdir/requests-oauthlib-$pkgver"
|
|
|
|
replaces="py-requests-oauthlib" # Backwards compatibility
|
|
provides="py-requests-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
tox --sitepackages
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="7ef206aaf50cd3289f04175ff3a08022d00aeaaba57a6580912f37c30880322ec71ae9f6af7edc99efe6043fc6c19ba2c9f6fc0f29c126be28cde22bb885510d requests-oauthlib-1.3.0.tar.gz"
|