1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-requests-oauthlib/APKBUILD
2023-03-01 23:37:51 +00:00

33 lines
1,011 B
Text

# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-requests-oauthlib
pkgver=1.3.1
pkgrel=2
pkgdesc="First-class OAuth library support for Requests"
options="!check" # No tox.ini file
url="https://pypi.org/project/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 --skip-build --root="$pkgdir"
}
sha512sums="
fb4b52edf5f3e4f82f9bedc13b4bc4032e629fd17fef62e72c9eeb734d1963c08c081c9a96db464539637c678e1f5b7f4bf9bb618a8bc1b6aa2024c7b5c620ea requests-oauthlib-1.3.1.tar.gz
"