+github.com/psf/requests (#5537)

* new file:   projects/github.com/psf/requests/package.yml

* wip
This commit is contained in:
Andrew 2024-03-11 20:12:45 +02:00 committed by GitHub
parent ba8339c629
commit 970d5cb164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,23 @@
distributable:
url: https://github.com/psf/requests/releases/download/{{version.tag}}/requests-{{version}}.tar.gz
strip-components: 1
versions:
github: psf/requests
dependencies:
python.org: ~3.11
github.com/Ousret/charset_normalizer: ^3
github.com/kjd/idna: ^3
github.com/urllib3/urllib3: ^2
certifi.io/python-certifi: ^2024
runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python3.11/site-packages:$PYTHONPATH
build:
pip install --prefix={{prefix}} .
test:
python -c 'import requests; print(requests.__version__)' | grep {{version}}