From owner-svn-ports-all@FreeBSD.ORG Fri Jun 5 04:43:15 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E884AEEA; Fri, 5 Jun 2015 04:43:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC2ED14BF; Fri, 5 Jun 2015 04:43:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t554hFMM047538; Fri, 5 Jun 2015 04:43:15 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t554hFxi047533; Fri, 5 Jun 2015 04:43:15 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201506050443.t554hFxi047533@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 5 Jun 2015 04:43:15 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 04:43:16 -0000 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 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=(