blob: e167eec8f73a06745f56a7c00cf0081504098c49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=py3-requests-toolbelt
_pkgname=toolbelt
pkgver=0.10.1
pkgrel=1
pkgdesc="Useful classes and functions to be used with python-requests"
options="!check" # Requires unpackaged 'betamax' module
url="https://github.com/requests/toolbelt"
arch="noarch"
license="Apache-2.0"
depends="py3-requests"
makedepends="py3-setuptools"
checkdepends="py3-mock py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/requests/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52 py3-requests-toolbelt-0.10.1.tar.gz
"
|