mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
www/py-requests: Update to 2.17.3
- Update PORTVERSION and distinfo checksum (2.17.3) - Add RUN_DEPENDS (recently de-vendored/de-bundled) - Add more TEST_DEPENDS that exist in ports - Patch out pytest-cov from test_requirements (unnecessary) - Mark concurrent Python version safe - Update LICENSE (ISCL -> APACHE20) [1] https://github.com/requests/requests/blob/v2.17.3/HISTORY.rst PR: 218578 Submitted by: <takefu airport fm> [1]
This commit is contained in:
parent
4b34374da4
commit
2e7e44b5df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442565
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= requests
|
||||
PORTVERSION= 2.11.1
|
||||
PORTVERSION= 2.17.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -10,13 +10,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= HTTP library written in Python for human beings
|
||||
|
||||
LICENSE= ISCL
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8.1:devel/py-pytest
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.2:textproc/py-chardet \
|
||||
${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna \
|
||||
${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3 \
|
||||
${PYTHON_PKGNAMEPREFIX}certifi>=2017.4.17:security/py-certifi
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8.1:devel/py-pytest \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist \
|
||||
${PYTHON_PKGNAMEPREFIX}execnet>=1.1:sysutils/py-execnet \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
|
||||
|
||||
USES?= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
CONFLICTS_INSTALL= py*-requests1-*
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1473772887
|
||||
SHA256 (requests-2.11.1.tar.gz) = 5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133
|
||||
SIZE (requests-2.11.1.tar.gz) = 485936
|
||||
TIMESTAMP = 1496221008
|
||||
SHA256 (requests-2.17.3.tar.gz) = 8d29f97ed1541709b57caddb77bb20592411d7ca10ec4f03275f49ee8456e225
|
||||
SIZE (requests-2.17.3.tar.gz) = 123148
|
||||
|
13
www/py-requests/files/patch-setup.py
Normal file
13
www/py-requests/files/patch-setup.py
Normal file
@ -0,0 +1,13 @@
|
||||
# pytest-cov and its dependencies are not compulsory
|
||||
|
||||
--- setup.py.orig 2017-06-04 15:11:40 UTC
|
||||
+++ setup.py
|
||||
@@ -45,7 +45,7 @@ requires = [
|
||||
'certifi>=2017.4.17'
|
||||
|
||||
]
|
||||
-test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
|
||||
+test_requirements = ['pytest-httpbin==0.0.7', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
|
||||
|
||||
about = {}
|
||||
with open(os.path.join(here, 'requests', '__version__.py'), 'r', 'utf-8') as f:
|
Loading…
Reference in New Issue
Block a user