1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/py3-requests-file/APKBUILD
2020-04-24 23:37:15 +00:00

27 lines
832 B
Text

# 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"