Date: Fri, 5 Jun 2015 04:43:15 +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: r388566 - in head/www/py-requests: . files Message-ID: <201506050443.t554hFxi047533@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Fri Jun 5 04:43:14 2015 New Revision: 388566 URL: https://svnweb.freebsd.org/changeset/ports/388566 Log: www/py-requests: Update to 2.7.0 - Update to 2.7.0 - Update regression-test to canonical test invocation [1] - Patch setup.py to add tests dependencies and support test command [1] Changes: https://github.com/kennethreitz/requests/blob/v2.7.0/HISTORY.rst [1] https://github.com/kennethreitz/requests/pull/2630 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 Fri Jun 5 03:54:01 2015 (r388565) +++ head/www/py-requests/Makefile Fri Jun 5 04:43:14 2015 (r388566) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= requests -PORTVERSION= 2.4.3 +PORTVERSION= 2.7.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,6 +21,6 @@ USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= py*-requests1-* regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} test_requests.py + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> Modified: head/www/py-requests/distinfo ============================================================================== --- head/www/py-requests/distinfo Fri Jun 5 03:54:01 2015 (r388565) +++ head/www/py-requests/distinfo Fri Jun 5 04:43:14 2015 (r388566) @@ -1,2 +1,2 @@ -SHA256 (requests-2.4.3.tar.gz) = 53c68313c5c6149b1a899234c000296e60a8900682accf73d6f0c6d608afc6b1 -SIZE (requests-2.4.3.tar.gz) = 438132 +SHA256 (requests-2.7.0.tar.gz) = 398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d +SIZE (requests-2.7.0.tar.gz) = 451723 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 Fri Jun 5 04:43:14 2015 (r388566) @@ -0,0 +1,19 @@ +--- setup.py.orig 2015-06-05 04:36:25 UTC ++++ setup.py +@@ -27,6 +27,7 @@ packages = [ + ] + + requires = [] ++tests_require = ['pytest'] + + version = '' + with open('requests/__init__.py', 'r') as fd: +@@ -54,6 +55,8 @@ setup( + package_dir={'requests': 'requests'}, + include_package_data=True, + install_requires=requires, ++ tests_require=tests_require, ++ test_suite='test_requests', + license='Apache 2.0', + zip_safe=False, + classifiers=(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506050443.t554hFxi047533>