From 970d5cb1640e45b71c8a74c01a24022fceab1b83 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:12:45 +0200 Subject: [PATCH] +github.com/psf/requests (#5537) * new file: projects/github.com/psf/requests/package.yml * wip --- projects/github.com/psf/requests/package.yml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/github.com/psf/requests/package.yml diff --git a/projects/github.com/psf/requests/package.yml b/projects/github.com/psf/requests/package.yml new file mode 100644 index 00000000..ee039c6a --- /dev/null +++ b/projects/github.com/psf/requests/package.yml @@ -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}}