BSD Ports

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

SystemPortVersion
MidnightBSDwww/py-requests2.34.2
FreeBSDwww/py-requests2.34.2
OpenBSDwww/py-requests2.34.2
DragonFlywww/py-requests2.32.3
HardenedBSDwww/py-requests2.34.2
GhostBSDwww/py-requests2.34.2
OPNsensewww/py-requests2.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

Runtime 4

Test 7

Build dependencies 2
Run dependencies 4
Required by 98

Configuration

Options name: www_requests

OptionDefaultDescription
SOCKSonExtra socks functionalities
USES
cpe python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
requests-2.34.2.tar.gz142856f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
Master sites 2
  • PYPI
  • https://github.com/psf/requests/releases/download/v2.34.2/

Commit history 1

DateCommitCreditsLog 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]>