aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-requests-file/APKBUILD
blob: 6bf01cac70a89185d37b6074300f91dc797f810d (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname="py3-requests-file"
_pyname="requests-file"
pkgver="1.4.3"
pkgrel=0
pkgdesc="Transport adapter for fetching file:// URLs with the requests python library"
url="https://github.com/dashea/requests-file"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$_pyname-$pkgver.tar.gz::https://github.com/dashea/requests-file/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="30998998513ce9f21cdc37b9174f8236887aa2a40789f70f6fbfd7977059acad2edcf06e3db112f8ee59fdc9536174898229e926f680021232a16482d1a932b5  requests-file-1.4.3.tar.gz"