www/py-bleach: Allow build with py-tinycss2 1.2.0+

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2022-12-30 16:46:09 +08:00
parent a1a1adbff1
commit b8f22bc454
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= bleach
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -26,6 +27,6 @@ OPTIONS_DEFINE= CSS
OPTIONS_DEFAULT=CSS
CSS_DESC= CSS support
CSS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=1.1.0<1.2:textproc/py-tinycss2@${PY_FLAVOR}
CSS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=1.1.0<1.3:textproc/py-tinycss2@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2022-06-27 14:39:19 UTC
+++ setup.py
@@ -32,7 +32,7 @@ INSTALL_REQUIRES = [
EXTRAS_REQUIRE = {
"css": [
- "tinycss2>=1.1.0,<1.2",
+ "tinycss2>=1.1.0,<1.3",
],
"dev": [
"black==22.3.0; implementation_name == 'cpython'",