Date: Mon, 27 Aug 2012 12:40:42 +0000 (UTC) From: Wen Heping <wen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303224 - in head/www/py-requests: . files Message-ID: <201208271240.q7RCegLV097428@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wen Date: Mon Aug 27 12:40:41 2012 New Revision: 303224 URL: http://svn.freebsd.org/changeset/ports/303224 Log: - Update to 0.13.9 - Patch setup.py to hook in test suite - Add test: target for running unit tests PR: 171114 Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> (maintainer) Modified: head/www/py-requests/Makefile head/www/py-requests/distinfo head/www/py-requests/files/patch-setup.py Modified: head/www/py-requests/Makefile ============================================================================== --- head/www/py-requests/Makefile Mon Aug 27 12:17:33 2012 (r303223) +++ head/www/py-requests/Makefile Mon Aug 27 12:40:41 2012 (r303224) @@ -6,7 +6,7 @@ # PORTNAME= requests -PORTVERSION= 0.13.7 +PORTVERSION= 0.13.9 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,4 +22,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cert USE_PYTHON= -3.1 USE_PYDISTUTILS= easy_install +test: build + ${TOUCH} ${WRKSRC}/tests/__init__.py + cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + .include <bsd.port.mk> Modified: head/www/py-requests/distinfo ============================================================================== --- head/www/py-requests/distinfo Mon Aug 27 12:17:33 2012 (r303223) +++ head/www/py-requests/distinfo Mon Aug 27 12:40:41 2012 (r303224) @@ -1,2 +1,2 @@ -SHA256 (requests-0.13.7.tar.gz) = d9c6cf2890a0dc1200407f99130d334ef5ab5270bed3d9b4c14b0bb9c6cc3400 -SIZE (requests-0.13.7.tar.gz) = 521660 +SHA256 (requests-0.13.9.tar.gz) = d887bb1c06948a8930d6e73a1f942f9febe9157a299a984994c20c84b2c21e20 +SIZE (requests-0.13.9.tar.gz) = 522477 Modified: head/www/py-requests/files/patch-setup.py ============================================================================== --- head/www/py-requests/files/patch-setup.py Mon Aug 27 12:17:33 2012 (r303223) +++ head/www/py-requests/files/patch-setup.py Mon Aug 27 12:40:41 2012 (r303224) @@ -1,5 +1,5 @@ ---- ./setup.py.orig 2012-07-27 17:22:56.000000000 +1000 -+++ ./setup.py 2012-07-28 10:46:43.000000000 +1000 +--- setup.py.orig 2012-08-06 14:46:03.000000000 +0800 ++++ setup.py 2012-08-27 20:18:56.000000000 +0800 @@ -15,8 +15,6 @@ os.system('python setup.py sdist upload') sys.exit() @@ -29,9 +29,10 @@ install_requires=requires, license=open('LICENSE').read(), classifiers=( -@@ -66,4 +60,5 @@ +@@ -66,4 +60,6 @@ 'Programming Language :: Python :: 3.0', 'Programming Language :: Python :: 3.1', ), + zip_safe=False, ++ test_suite='tests', )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208271240.q7RCegLV097428>