Date: Sun, 4 Jun 2017 15:30:26 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442565 - in head/www/py-requests: . files Message-ID: <201706041530.v54FUQeZ074112@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sun Jun 4 15:30:26 2017 New Revision: 442565 URL: https://svnweb.freebsd.org/changeset/ports/442565 Log: 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] Added: head/www/py-requests/files/ head/www/py-requests/files/patch-setup.py (contents, props changed) Modified: head/www/py-requests/Makefile head/www/py-requests/distinfo Modified: head/www/py-requests/Makefile ============================================================================== --- head/www/py-requests/Makefile Sun Jun 4 15:10:58 2017 (r442564) +++ head/www/py-requests/Makefile Sun Jun 4 15:30:26 2017 (r442565) @@ -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-* Modified: head/www/py-requests/distinfo ============================================================================== --- head/www/py-requests/distinfo Sun Jun 4 15:10:58 2017 (r442564) +++ head/www/py-requests/distinfo Sun Jun 4 15:30:26 2017 (r442565) @@ -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 Added: head/www/py-requests/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-requests/files/patch-setup.py Sun Jun 4 15:30:26 2017 (r442565) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706041530.v54FUQeZ074112>