mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 06:17:14 +02:00
community/py3-requests-file: upgrade to 2.1.0
This commit is contained in:
parent
1eab0f17c6
commit
ad52639218
@ -2,8 +2,8 @@
|
|||||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||||
pkgname=py3-requests-file
|
pkgname=py3-requests-file
|
||||||
_pyname=requests-file
|
_pyname=requests-file
|
||||||
pkgver=2.0.0
|
pkgver=2.1.0
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="Transport adapter for fetching file:// URLs with the requests python library"
|
pkgdesc="Transport adapter for fetching file:// URLs with the requests python library"
|
||||||
url="https://github.com/dashea/requests-file"
|
url="https://github.com/dashea/requests-file"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
@ -18,20 +18,21 @@ builddir="$srcdir/$_pyname-$pkgver"
|
|||||||
build() {
|
build() {
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
||||||
gpep517 build-wheel \
|
gpep517 build-wheel \
|
||||||
--wheel-dir dist \
|
--wheel-dir .dist \
|
||||||
--output-fd 3 3>&1 >&2
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
python3 -m venv --clear --system-site-packages testenv
|
python3 -m venv --clear --system-site-packages .testenv
|
||||||
testenv/bin/python3 -m installer dist/*.whl
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
testenv/bin/python3 -m pytest
|
.testenv/bin/python3 -m pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 -m installer -d "$pkgdir" \
|
python3 -m installer -d "$pkgdir" \
|
||||||
dist/*.whl
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
0e4d0d9ceda33dd2bcbf1d94d1237c0c2b98958aef5837bf8b925adc73b1cb243f6b148a93431d524539af24bfd6327bd0d26d4eca3b844e66f3069973d28563 requests-file-2.0.0.tar.gz
|
64047226585655f02f7877a9d7a97b36d4ed5b2f7b1df435895ebb665205a4d25ab42a7a9a532e880455d5befe0068665b2fd0e94e8acb8297724f36821711d1 requests-file-2.1.0.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user