Skip to content
Snippets Groups Projects
Commit ad526392 authored by Galen Abell's avatar Galen Abell Committed by Celeste
Browse files

community/py3-requests-file: upgrade to 2.1.0

parent 1eab0f17
No related branches found
No related tags found
2 merge requests!66949Draft: [3.20] main/raspberrypi-bootloader: upgrade to 1.20240524,!66381community/py3-requests-file: upgrade to 2.1.0
Pipeline #236071 canceled
......@@ -2,8 +2,8 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-requests-file
_pyname=requests-file
pkgver=2.0.0
pkgrel=1
pkgver=2.1.0
pkgrel=0
pkgdesc="Transport adapter for fetching file:// URLs with the requests python library"
url="https://github.com/dashea/requests-file"
arch="noarch"
......@@ -18,20 +18,21 @@ builddir="$srcdir/$_pyname-$pkgver"
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
gpep517 build-wheel \
--wheel-dir dist \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 -m venv --clear --system-site-packages testenv
testenv/bin/python3 -m installer dist/*.whl
testenv/bin/python3 -m pytest
python3 -m venv --clear --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
.dist/*.whl
}
sha512sums="
0e4d0d9ceda33dd2bcbf1d94d1237c0c2b98958aef5837bf8b925adc73b1cb243f6b148a93431d524539af24bfd6327bd0d26d4eca3b844e66f3069973d28563 requests-file-2.0.0.tar.gz
64047226585655f02f7877a9d7a97b36d4ed5b2f7b1df435895ebb665205a4d25ab42a7a9a532e880455d5befe0068665b2fd0e94e8acb8297724f36821711d1 requests-file-2.1.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment