aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-requests-file/APKBUILD
blob: afe6c9d06f77515ab8bef4d63a4f800055905264 (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.5.0
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="e4daceb2c9d8249b97b7a95d7fcae50c1659d14592835e8b296f9fe7c76fc4c740f6c4b19fc886c5d688b5c975f931ac5dbc8b5a50c7b6d1a898f90f7ed16c72  requests-file-1.5.0.tar.gz"