mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
www/py-bleach: Update to 1.4.1
- Update to 1.4.1 - Update LICENSE (APACHE20) - Match COMMENT to upstream (setup.py) description field - Update html5lib {RUN,TEST}_DEPENDS version - Switch nose from binary to package-based dependency - Update TESTS_DESC - Sort USE_PYTHON values - Remove setup.py patch (upstreamed) Reported by: Nathan Fisher <nfisher.sr gmx com> (via email)
This commit is contained in:
parent
596f66d49e
commit
b045fe5b07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378140
@ -2,29 +2,29 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bleach
|
||||
PORTVERSION= 1.4
|
||||
PORTVERSION= 1.4.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Easy whitelist-based HTML-sanitizing tool for Python
|
||||
COMMENT= Easy whitelist-based HTML-sanitizing tool
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib \
|
||||
nosetests:${PORTSDIR}/devel/py-nose
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib \
|
||||
${PYTHON_PKGNAMEPREFIX}nose>=1.3:${PORTSDIR}/devel/py-nose
|
||||
|
||||
OPTIONS_DEFINE= TESTS
|
||||
|
||||
TESTS_DESC= Install tools for test suite
|
||||
TESTS_DESC= Install test suite requirements
|
||||
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (bleach-1.4.tar.gz) = ab6947515ac2cc2fb894e718cbab1beeb342843fd816d4c2a277599ddbefba7b
|
||||
SIZE (bleach-1.4.tar.gz) = 17454
|
||||
SHA256 (bleach-1.4.1.tar.gz) = 152af29d4580b112fc52966864492791c951e6382b56070e95e128c6b614833b
|
||||
SIZE (bleach-1.4.1.tar.gz) = 17449
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- ./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'
|
||||
)
|
Loading…
Reference in New Issue
Block a user