svn commit: r303224 - in head/www/py-requests: . files
Wen Heping
wen at FreeBSD.org
Mon Aug 27 12:40:42 UTC 2012
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 at 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',
)
More information about the svn-ports-head
mailing list