git: d6038bdfe110 - main - www/py-bleach: Allow build with py-tinycss2 1.4.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:41:47 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d6038bdfe11010d45867e72e43e9941a911fcd4d

commit d6038bdfe11010d45867e72e43e9941a911fcd4d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-29 14:20:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-29 14:38:40 +0000

    www/py-bleach: Allow build with py-tinycss2 1.4.0+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/mozilla/bleach/commit/6a2ec5ca371cb666fbd843f14ecf1e93e8f7ea87
---
 www/py-bleach/Makefile             | 4 ++--
 www/py-bleach/files/patch-setup.py | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile
index 88a8802c45f1..742f6ffaa78f 100644
--- a/www/py-bleach/Makefile
+++ b/www/py-bleach/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bleach
 PORTVERSION=	6.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,6 +31,6 @@ OPTIONS_DEFINE=	CSS
 OPTIONS_DEFAULT=CSS
 CSS_DESC=	CSS support
 
-CSS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tinycss2>=1.1.0<1.4:textproc/py-tinycss2@${PY_FLAVOR}
+CSS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tinycss2>=1.1.0<1.5:textproc/py-tinycss2@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/www/py-bleach/files/patch-setup.py b/www/py-bleach/files/patch-setup.py
index 2d4c434ee708..60d71a0db4e0 100644
--- a/www/py-bleach/files/patch-setup.py
+++ b/www/py-bleach/files/patch-setup.py
@@ -1,3 +1,5 @@
+Obtained from:	https://github.com/mozilla/bleach/commit/6a2ec5ca371cb666fbd843f14ecf1e93e8f7ea87
+
 --- setup.py.orig	2023-10-06 16:19:57 UTC
 +++ setup.py
 @@ -32,7 +32,7 @@ EXTRAS_REQUIRE = {
@@ -5,7 +7,7 @@
  EXTRAS_REQUIRE = {
      "css": [
 -        "tinycss2>=1.1.0,<1.3",
-+        "tinycss2>=1.1.0,<1.4",
++        "tinycss2>=1.1.0,<1.5",
      ],
  }