www/py-requests 2.34.2 MidnightBSD
Python HTTP for Humans
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
b50da7be66- License
- Apache-2.0
- Categories
- www, python
Description
Requests is an elegant and simple HTTP library for Python, built for human beings.
Beloved Features:
- Requests is ready for today's web
- Keep-Alive & Connection Pooling
- International Domains and URLs
- Sessions with Cookie Persistence
- Browser-style SSL Verification
- Automatic Content Decoding
- Basic/Digest Authentication
- Elegant Key/Value Cookies
- Automatic Decompression
- Unicode Response Bodies
- HTTP(S) Proxy Support
- Multipart File Uploads
- Streaming Downloads
- Connection Timeouts
- Chunked Requests
- .netrc Support
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/py-requests | 2.34.2 |
| FreeBSD | www/py-requests | 2.34.2 |
| OpenBSD | www/py-requests | 2.34.2 |
| DragonFly | www/py-requests | 2.32.3 |
| HardenedBSD | www/py-requests | 2.34.2 |
| GhostBSD | www/py-requests | 2.34.2 |
| OPNsense | www/py-requests | 2.34.2 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}requests
From mports:
cd /usr/mports/www/py-requests && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 4
${PYTHON_PKGNAMEPREFIX}certifi>=2023.5.7: security/py-certifi${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2<4: textproc/py-charset-normalizer${PYTHON_PKGNAMEPREFIX}idna>=2.5<4: dns/py-idna${PYTHON_PKGNAMEPREFIX}urllib3>=1.26,1<3,1: net/py-urllib3
Test 7
${PYTHON_PKGNAMEPREFIX}httpbin>=0.10.0<0.11: www/py-httpbin${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6: net/py-pysocks${PYTHON_PKGNAMEPREFIX}pytest-cov>=0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-httpbin>=2.1.0<2.1.0.99: devel/py-pytest-httpbin${PYTHON_PKGNAMEPREFIX}pytest-mock>=0: devel/py-pytest-mock${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1: devel/py-pytest-xdist${PYTHON_PKGNAMEPREFIX}trustme>=0: security/py-trustme
Build dependencies 2
Run dependencies 4
Required by 98
- ai/py-codecarbon
- ai/py-datasets
- ai/py-diffusers
- ai/py-evaluate
- ai/py-google-genai
- ai/py-langchain-classic
- ai/py-langchain-community
- ai/py-langchain-community-inspire-hep
- ai/py-langchain-google-community
- ai/py-langsmith
- ai/py-mistral-common
- ai/py-mistral-vibe
- ai/py-mlflow-skinny
- ai/py-sagemaker-core
- ai/py-sagemaker-train
- ai/py-torchdata
- ai/py-torchvision
- ai/py-transformers
- audio/py-gtts
- cad/apio
- cad/uranium
- databases/mongodb80
- databases/py-pyiceberg
- deskutils/virt-manager
- devel/b2
- devel/eric7
- devel/py-azure-core
- devel/py-b2sdk
- devel/py-codecov
- devel/py-cookiecutter
- devel/py-coveralls
- devel/py-databricks-sdk
- devel/py-datadog
- devel/py-flex
- devel/py-flit
- devel/py-google-i18n-address
- devel/py-id
- devel/py-jschon
- devel/py-jsonref
- devel/py-jsonschema-path
- devel/py-moto
- devel/py-msal
- devel/py-opentelemetry-exporter-credential-provider-gcp
- devel/py-opentelemetry-exporter-otlp-proto-http
- devel/py-pooch
- devel/py-prance
- devel/py-python-gitlab
- devel/py-responses
- devel/py-trimesh
- devel/py-twine
- devel/py-twine1
- dns/py-dns-lexicon
- dns/py-tldextract
- finance/py-stripe
- graphics/inkscape
- graphics/py-OWSLib
- graphics/qgis
- mail/mailman3
- mail/py-mailmanclient
- mail/py-premailer
- misc/py-laspy
- multimedia/streamlink
- net/liferea
- print/py-fontaine
- print/py-fontbakery
- print/py-glyphsets
- security/py-acme
- security/wapiti
- sysutils/conan
- sysutils/duplicity
- sysutils/py-docker
- sysutils/py-fwget
- textproc/py-mkdocs-material
- textproc/py-mkdocs-mermaid2-plugin
- textproc/py-mkdocs-rss-plugin
- textproc/py-sphinx
- textproc/py-sphinxcontrib-issuetracker
- textproc/py-tiktoken
- textproc/py-youseedee
- textproc/xml2rfc
- www/py-cachecontrol
- www/py-dropbox
- www/py-google-api-core
- www/py-google-cloud-bigquery
- www/py-google-cloud-storage
- www/py-requests-aws4auth
- www/py-requests-cache
- www/py-requests-file
- www/py-requests-futures
- www/py-requests-mock
- www/py-requests-oauthlib
- www/py-requests-toolbelt
- www/py-requests-unixsocket
- www/py-requests_ntlm
- www/py-treq
- www/yt-dlp
- x11-toolkits/py-wxPython4
- x11/cinnamon
Configuration
Options name: www_requests
| Option | Default | Description |
|---|---|---|
| SOCKS | on | Extra socks functionalities |
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| requests-2.34.2.tar.gz | 142856 | f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed |
Master sites 2
- PYPI
- https://github.com/psf/requests/releases/download/v2.34.2/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b50da7be66 |
Lucas Holt | www/py-requests: fix the dependency version upper bound mport.query does not match a package when the lower bound of a range equals
the upper bound's base version and the upper bound carries a _N suffix:
"version>=1.1.1<1.1.1_99" reports not found for an installed 1.1.1, while
"version>=1.1.1<1.1.1.99" matches, including packages carrying a
PORTREVISION. Spell the bound with .99 so the dependency resolves.
AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |