summaryrefslogtreecommitdiff
path: root/user/py3-requests/APKBUILD
blob: 2638dbc67d8d844e2106fc81956ff363cf12f194 (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
30
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-requests
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.22.0
pkgrel=0
pkgdesc="A HTTP request library for Python"
url="https://2.python-requests.org/"
arch="noarch"
license="Apache-2.0"
options="!check" # tests connect to remote sites
depends="python3 py3-chardet py3-idna py3-certifi py3-urllib3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5  requests-2.22.0.tar.gz"