svn commit: r320430 - in head/www/py-bleach: . files
Kubilay Kocak
koobs at FreeBSD.org
Mon Jun 10 01:48:21 UTC 2013
Author: koobs
Date: Mon Jun 10 01:48:19 2013
New Revision: 320430
URL: http://svnweb.freebsd.org/changeset/ports/320430
Log:
www/py-bleach: Update to 1.2.2
- Update to 1.2.2
- Pin html5lib version in RUN_DEPENDS
- Make regression-test target use test command
- Patch setup.py: Add test_suite integration (and report upstream)
Changes:
- Pin html5lib to version 0.95 for now due to major API break.
Added:
head/www/py-bleach/files/
head/www/py-bleach/files/patch-setup.py (contents, props changed)
Modified:
head/www/py-bleach/Makefile
head/www/py-bleach/distinfo
Modified: head/www/py-bleach/Makefile
==============================================================================
--- head/www/py-bleach/Makefile Mon Jun 10 01:44:30 2013 (r320429)
+++ head/www/py-bleach/Makefile Mon Jun 10 01:48:19 2013 (r320430)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bleach
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ COMMENT= An easy whitelist-based HTML-sa
LICENSE= BSD
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib==0.95:${PORTSDIR}/www/py-html5lib
USE_GITHUB= yes
USE_PYTHON= yes
@@ -19,12 +19,12 @@ USE_PYDISTUTILS= easy_install
GH_ACCOUNT= jsocol
GH_TAGNAME= v${PORTVERSION}
-GH_COMMIT= ab7c8b3
+GH_COMMIT= baf1eac
TEST_DEPENDS:= ${RUN_DEPENDS} \
nosetests:${PORTSDIR}/devel/py-nose \
regression-test: build
- cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} nosetests
-
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
.include <bsd.port.mk>
Modified: head/www/py-bleach/distinfo
==============================================================================
--- head/www/py-bleach/distinfo Mon Jun 10 01:44:30 2013 (r320429)
+++ head/www/py-bleach/distinfo Mon Jun 10 01:48:19 2013 (r320430)
@@ -1,2 +1,2 @@
-SHA256 (bleach-1.2.1.tar.gz) = 5b61fb6369cea2e4aaf6cc34ec4de9bf658f69c16693fad2dfe8da6890ccb72a
-SIZE (bleach-1.2.1.tar.gz) = 27318
+SHA256 (bleach-1.2.2.tar.gz) = 2e7a29881eff2b7f2aa9a24e052edcd296d12c1c206957cd8be9f9e140f266b0
+SIZE (bleach-1.2.2.tar.gz) = 27607
Added: head/www/py-bleach/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-bleach/files/patch-setup.py Mon Jun 10 01:48:19 2013 (r320430)
@@ -0,0 +1,10 @@
+--- ./setup.py.orig 2013-06-10 11:19:04.719234114 +1000
++++ ./setup.py 2013-06-10 11:19:34.305595246 +1000
+@@ -23,5 +23,6 @@
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+- ]
++ ],
++ test_suite='nose.collector'
+ )
More information about the svn-ports-head
mailing list