FreeBSD Bugzilla – Attachment 208789 Details for
Bug 239302
www/py-requests: Update to 2.22.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-requests-2.22-with-fixed-tests.patch
py-requests-2.22-with-fixed-tests.patch (text/plain), 2.54 KB, created by
Kai Knoblich
on 2019-11-02 09:37:57 UTC
(
hide
)
Description:
py-requests-2.22-with-fixed-tests.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2019-11-02 09:37:57 UTC
Size:
2.54 KB
patch
obsolete
>Index: www/py-requests/Makefile >=================================================================== >--- www/py-requests/Makefile (revision 516142) >+++ www/py-requests/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= requests >-PORTVERSION= 2.21.0 >+PORTVERSION= 2.22.0 > CATEGORIES= www python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -21,12 +21,10 @@ > ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} > >-# Actually 2.6-2.7,3.4+ >+# Actually 2.7,3.5+ > USES= python > USE_PYTHON= autoplist concurrent distutils > >-CONFLICTS_INSTALL= py*-requests1-* >- > NO_ARCH= yes > > do-test: >Index: www/py-requests/distinfo >=================================================================== >--- www/py-requests/distinfo (revision 516142) >+++ www/py-requests/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1548125465 >-SHA256 (requests-2.21.0.tar.gz) = 502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e >-SIZE (requests-2.21.0.tar.gz) = 111528 >+TIMESTAMP = 1572339862 >+SHA256 (requests-2.22.0.tar.gz) = 11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4 >+SIZE (requests-2.22.0.tar.gz) = 113406 >Index: www/py-requests/files/patch-tests_test__utils.py >=================================================================== >--- www/py-requests/files/patch-tests_test__utils.py (nonexistent) >+++ www/py-requests/files/patch-tests_test__utils.py (working copy) >@@ -0,0 +1,17 @@ >+Make tests work with devel/py-pytest >= 4 >+ >+Obtained from: >+https://github.com/psf/requests/commit/0fe6653eabc3e0a4b8c48e374fb7ee83a3bf829b >+ >+--- tests/test_utils.py.orig 2019-05-16 14:18:16 UTC >++++ tests/test_utils.py >+@@ -33,7 +33,8 @@ class TestSuperLen: >+ 'stream, value', ( >+ (StringIO.StringIO, 'Test'), >+ (BytesIO, b'Test'), >+- pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')), >++ pytest.param(cStringIO, 'Test', >++ marks=pytest.mark.skipif('cStringIO is None')), >+ )) >+ def test_io_streams(self, stream, value): >+ """Ensures that we properly deal with different kinds of IO streams.""" > >Property changes on: www/py-requests/files/patch-tests_test__utils.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kai
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 239302
:
205892
| 208789