summaryrefslogtreecommitdiff
path: root/user/py3-requests-toolbelt/APKBUILD
blob: 80d5353e6f15cee903fadffa864b2c0a0bb8a9b3 (plain) (blame)
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
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-requests-toolbelt
_pkgname=${pkgname##*-}
pkgver=0.8.0
pkgrel=0
pkgdesc="Useful classes and functions to be used with python-requests"
url="https://github.com/requests/toolbelt"
arch="noarch"
options="!check" # needs betamax
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/requests/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="55bf93d386442f5deb81eabd85812ffd49e98ff88c0bb96e15271efd84deb7c5d854a2cdc81c989a7d74870e8a218fc968d080052d9ca7cd9733a2378ea9c2f5  py3-requests-toolbelt-0.8.0.tar.gz"