mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
www/py-bleach: Update to 1.4
- Update to 1.4 - Switch from GITHUB to CHEESESHOP for MASTER_SITES - Add BUILD_DEPENDS on six - Update minimum version for html5lib RUN_DEPENDS - Add TESTS option and tweak existing QA/Test entries - Modernize Python framework entries - Add LICENSE_FILE Changes: * https://github.com/jsocol/bleach/blob/v1.4/CHANGES PR: 146461 Submitted by: Muhammad Rahman <5u623l20 at gmail dotcom> (with changes)
This commit is contained in:
parent
23367d56b0
commit
c115dc0c5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366588
@ -2,30 +2,31 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bleach
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.4
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Easy whitelist-based HTML-sanitizing tool for Python
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
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:= ${RUN_DEPENDS} \
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib \
|
||||
nosetests:${PORTSDIR}/devel/py-nose
|
||||
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
OPTIONS_DEFINE= TESTS
|
||||
|
||||
GH_ACCOUNT= jsocol
|
||||
GH_TAGNAME= v${PORTVERSION}
|
||||
GH_COMMIT= baf1eac
|
||||
TESTS_DESC= Install tools for test suite
|
||||
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (bleach-1.2.2.tar.gz) = 2e7a29881eff2b7f2aa9a24e052edcd296d12c1c206957cd8be9f9e140f266b0
|
||||
SIZE (bleach-1.2.2.tar.gz) = 27607
|
||||
SHA256 (bleach-1.4.tar.gz) = ab6947515ac2cc2fb894e718cbab1beeb342843fd816d4c2a277599ddbefba7b
|
||||
SIZE (bleach-1.4.tar.gz) = 17454
|
||||
|
Loading…
Reference in New Issue
Block a user