50 Commits

Author SHA1 Message Date
sthen
74e3cc3e92 bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:02:51 +00:00
sthen
7291b481a2 update to py-requests-2.26.0 2021-08-01 11:54:57 +00:00
danj
e3d54f8cc1 Drop maintainership 2021-07-31 19:52:29 +00:00
kmos
2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00
sthen
181f27e34b update to py-requests-2.25.1, and:
- don't override MODPY_PYTEST's command, just set TEST_ENV instead
- drop unneeded WRKDIST
- drop cert.pem symlink, it just uses py-certifi for this

ok danj@
2021-03-01 16:19:15 +00:00
daniel
f642b140aa disable python2 tests for py-requests so py-flask can move to python3
ok danj@ (MAINTAINER), sthen@
2021-02-26 02:59:02 +00:00
bket
2f847d7fbd Update to py-requests-2.25.0
Changes: https://github.com/psf/requests/blob/v2.25.0/HISTORY.md

This fixes breakage caused by a recent update of py-urllib3.

OK sthen@
2020-11-14 12:35:05 +00:00
danj
7000839e18 Update to py-requests-2.24.0
Requested by ajacoutot@, ok sthen@.
2020-11-03 21:42:32 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
kmos
ddbeac9d94 Add missing www/py-urllib3 to TEST_DEPENDS 2019-11-23 19:51:29 +00:00
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
kmos
b408f5df4e Fix tests for www/py-requests using a patch not yet committed to
upstream.

Tests are broken for pytest >=4 before this patch.

Tweaks from and ok danj@ (maintainer)
2019-06-29 21:42:07 +00:00
danj
b9d13cca47 Slight reordering 2019-05-20 02:30:22 +00:00
danj
348977d6e3 Update to py-requests-2.22.0 2019-05-20 02:28:19 +00:00
kmos
c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
kn
0796219cc0 Convert devel/py-test consumers to new MODPY_PYTEST
lang/python/python.port.mk revision 1.102 and 1.103 added
MODPY_TEST_LOCALE and MODPY_PYTEST respectively, nicely wrapping up the
usual pytest dance.

This removes hand-rolled do-tests from all 70 ports by setting
MODPY_PYTEST=Yes and MODPY_TEST_LOCALE as well as HOME=${WRKDIR} to TESTENV
as needed.

From Kurt Mosiejczuk <kurt at cranky dot work>, thanks!
OK sthen
2019-03-25 14:29:49 +00:00
danj
c77c5460a3 Update to py-requests-2.21.0 2018-12-11 20:44:56 +00:00
danj
b4f50d61da previous change was a mistake: remove one too many ${MODPY_COMMENT} 2018-11-25 19:03:11 +00:00
danj
8fccc1cce3 Update to py-requests-2.20.1
"Fixed bug with unintended Authorization header stripping for redirects
using default ports (http/80, https/443)."
2018-11-25 18:58:14 +00:00
danj
34f85096ba Take maintainership, ok shadchin@ (previous maintainer) 2018-11-08 22:10:31 +00:00
danj
14fcc99c8d Update to py-requests-2.20.0
This fixes CVE-2018-18074: "before 2.20.0 sends an HTTP Authorization header to
an http URI upon receiving a same-hostname https-to-http redirect, which makes
it easier for remote attackers to discover credentials by sniffing the
network."

Based on a diff from Edward Lopez-Acosta
2018-11-02 14:28:38 +00:00
danj
9d55ae30a4 Move requests back to PYPI instead of GH
It was moved from PYPI to GH when it was updated to 2.10.0 because the PYPI tgz
didn't include the tests (fixed in 2667c77 upstream)

Pointed out by Cyril Roelandt
ok shadchin@ (maintainer)
2018-04-04 18:59:59 +00:00
jung
aca90caed8 update py-requests to 2.18.4
tested in a SUBDIRLIST build for all 53 victims with requests in run depends

ok remi shadchin (maintainer)
2018-01-21 23:20:10 +00:00
shadchin
b02d17eaa1 Update to py-requests 2.14.2 2017-05-11 19:10:51 +00:00
shadchin
fd594d3d22 Update to py-requests 2.13.0 2017-02-11 16:47:19 +00:00
shadchin
0eb706831b Update to py-requests 2.12.5 2017-01-19 20:39:36 +00:00
landry
7db433d240 bump ports depending on python3 in www 2017-01-03 19:28:48 +00:00
shadchin
e25b57a2fa Bugfix update to py-requests 2.12.4 2016-12-15 15:28:53 +00:00
shadchin
cc052192c6 Update to py-requests 2.12.3.
ok ajacoutot@
2016-12-04 10:45:17 +00:00
sthen
e33f8aff2f fixup distfile name, and use /etc/ssl/cert.pem rather than py-requests' own
CA listing.  ok shadchin@ dcoppa@
2016-10-11 09:09:50 +00:00
shadchin
a544f1a062 Update to py-requests 2.11.1 2016-09-30 09:45:56 +00:00
shadchin
9396fd79db Update to py-requests 2.10.0.
ok danj@
2016-05-29 15:21:56 +00:00
shadchin
75280fe901 Update to py-requests 2.9.1
ok ajacoutot@
2016-01-08 09:42:24 +00:00
shadchin
3b3eb2140a Update to py-requests 2.8.1.
ok sthen@, jca@
2015-11-05 07:14:30 +00:00
sthen
13359694f0 bump REVISION for setuptools dep change. (should be the last one) 2015-09-29 10:53:16 +00:00
shadchin
25073071c6 Update to py-requests 2.7.0.
ok jca@
2015-05-12 16:04:38 +00:00
shadchin
dee2e30268 Update to py-requests 2.6.0. 2015-04-11 16:38:54 +00:00
jasper
5e91600570 - switch to MODPY_PI 2015-04-02 14:21:12 +00:00
jasper
0cb248fe34 Security fix for CVE-2015-2296 python-requests: session fixation and cookie stealing vulnerability
ok shadchin@ (MAINTAINER)
2015-03-23 15:26:19 +00:00
shadchin
dcb4b589b2 Update to py-requests 2.5.1. 2015-01-25 15:54:07 +00:00
shadchin
acfd34d00c Update to py-requests 2.5.0, add python3 flavor and take maintainership.
ok landry@
2014-12-19 17:26:29 +00:00
bcallah
3d2b5bff37 Update to 2.2.1
ok benoit@
2014-03-27 13:34:53 +00:00
jasper
02f257b143 update to py-requests-1.2.3 2013-12-22 21:05:14 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
jasper
e295a6ae2c - update to py-requests-1.0.4 2012-12-30 17:17:28 +00:00
chl
dca7a4e6db fix MASTER_SITES
ok jasper@
2012-12-01 15:21:54 +00:00
chl
2c61c061f8 forgot to remove some patch files in the previous commit
ok jasper@
2012-12-01 13:41:56 +00:00
chl
9336d961a8 update py-requests to 0.14.2
ok jasper@
2012-12-01 13:39:16 +00:00
jasper
3e7b6b9535 import py-requests 0.6.2
Requests is an ISC Licensed HTTP library, written in Python, for human
beings.
Requests allow you to send HEAD, GET, POST, PUT, PATCH, and DELETE HTTP
requests. You can add headers, form data, multipart files, and
parameters with simple Python dictionaries, and access the response data
in the same way. It's powered by urllib2, but it does all the hard work
and crazy hacks for you.

fixed regress tests and ok rpointel@
2011-10-14 16:32:54 +00:00