git: 05dadcfe25b5 - main - www/py-django-bleach: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Mar 2026 16:09:00 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=05dadcfe25b5eb24b48db194b26d977b64ad2d5a
commit 05dadcfe25b5eb24b48db194b26d977b64ad2d5a
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-03-31 16:08:54 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-03-31 16:08:54 +0000
www/py-django-bleach: Remove expired port
2026-03-31 www/py-django-bleach: Upstream has been archived on November 5, 2024
---
MOVED | 1 +
www/Makefile | 1 -
www/py-django-bleach/Makefile | 28 --------------
www/py-django-bleach/distinfo | 3 --
www/py-django-bleach/files/patch-bleach6 | 64 --------------------------------
www/py-django-bleach/pkg-descr | 3 --
6 files changed, 1 insertion(+), 99 deletions(-)
diff --git a/MOVED b/MOVED
index 9d99cd16273a..7430cd81c9b3 100644
--- a/MOVED
+++ b/MOVED
@@ -5176,3 +5176,4 @@ sysutils/tmate-ssh-server||2026-03-31|Has expired: Upstream unmaintained
editors/wordgrinder||2026-03-31|Has expired: broken since 2023, maintainer AWOL
www/py-django-cron||2026-03-31|Has expired: Upstream inactive since 3+ years, not compatible with Django 5.2 or newer
deskutils/py-paperless|deskutils/py-paperless-ngx|2026-03-31|Has expired: Upstream repository archived since 2021 and no compatibility for Django 5+. Please migrate to deskutils/py-paperless-ngx
+www/py-django-bleach||2026-03-31|Has expired: Upstream has been archived on November 5, 2024
diff --git a/www/Makefile b/www/Makefile
index 887780b08258..044d88360176 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1592,7 +1592,6 @@
SUBDIR += py-django-autocomplete-light
SUBDIR += py-django-bakery
SUBDIR += py-django-bitfield
- SUBDIR += py-django-bleach
SUBDIR += py-django-bootstrap3
SUBDIR += py-django-bootstrap4
SUBDIR += py-django-braces
diff --git a/www/py-django-bleach/Makefile b/www/py-django-bleach/Makefile
deleted file mode 100644
index 9bc315416704..000000000000
--- a/www/py-django-bleach/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME= django-bleach
-PORTVERSION= 3.1.0
-PORTREVISION= 1
-CATEGORIES= www python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= Easily use bleach with Django models and templates
-WWW= https://github.com/marksweb/django-bleach
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Upstream has been archived on November 5, 2024
-EXPIRATION_DATE=2026-03-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bleach>=5:www/py-bleach@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist concurrent pep517
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/www/py-django-bleach/distinfo b/www/py-django-bleach/distinfo
deleted file mode 100644
index cd2c09db54f2..000000000000
--- a/www/py-django-bleach/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1692211821
-SHA256 (django-bleach-3.1.0.tar.gz) = 766405a32b877a5beb6b377ace0d8bbe2a7d4d6304f04542aa14fd74b14398a7
-SIZE (django-bleach-3.1.0.tar.gz) = 22197
diff --git a/www/py-django-bleach/files/patch-bleach6 b/www/py-django-bleach/files/patch-bleach6
deleted file mode 100644
index 157e9581e206..000000000000
--- a/www/py-django-bleach/files/patch-bleach6
+++ /dev/null
@@ -1,64 +0,0 @@
---- django_bleach/tests/test_forms.py.orig 2023-08-05 01:36:02 UTC
-+++ django_bleach/tests/test_forms.py
-@@ -127,7 +127,7 @@ class TestCustomWidget(TestCase):
- # Define form inside function with overridden settings so
- # get_default_widget() sees the modified setting.
- no_tags = BleachField(
-- max_length=100, strip_tags=True, allowed_tags=[]
-+ max_length=100, strip_tags=True, allowed_tags={}
- )
- no_strip = BleachField(
- max_length=100, allowed_tags=None, allowed_attributes=None
---- setup.py.orig 2023-08-05 01:36:02 UTC
-+++ setup.py
-@@ -43,7 +43,7 @@ setup(
- license="MIT",
- packages=find_packages(exclude=("testproject*",)),
- install_requires=[
-- "bleach[css]>=5,<6",
-+ "bleach[css]>=5",
- "Django>=3.2",
- ],
- python_requires=">=3.8",
---- testproject/constants.py.orig 2023-08-05 01:36:02 UTC
-+++ testproject/constants.py
-@@ -2,11 +2,11 @@ ALLOWED_ATTRIBUTES = {"*": ["class", "style"], "a": ["
-
- ALLOWED_CSS_PROPERTIES = ["color"]
-
--ALLOWED_PROTOCOLS = [
-+ALLOWED_PROTOCOLS = {
- "https",
- "data",
--]
-+}
-
- ALLOWED_STYLES = ALLOWED_CSS_PROPERTIES
-
--ALLOWED_TAGS = ["a", "li", "ul"]
-+ALLOWED_TAGS = {"a", "li", "ul"}
---- testproject/forms.py.orig 2023-08-05 01:36:02 UTC
-+++ testproject/forms.py
-@@ -23,7 +23,7 @@ class CustomBleachWidget(forms.Textarea):
- class BleachForm(forms.Form):
- """Form for testing BleachField"""
-
-- no_tags = BleachField(max_length=100, strip_tags=True, allowed_tags=[])
-+ no_tags = BleachField(max_length=100, strip_tags=True, allowed_tags={})
-
- no_strip = BleachField(
- max_length=100, allowed_tags=None, allowed_attributes=None
---- testproject/models.py.orig 2023-08-05 01:36:02 UTC
-+++ testproject/models.py
-@@ -10,9 +10,9 @@ class Person(models.Model):
- biography = BleachField(
- max_length=100,
- verbose_name="Person biography",
-- allowed_tags=["p", "a", "li", "ul", "strong"],
-+ allowed_tags={"p", "a", "li", "ul", "strong"},
- allowed_attributes=["class", "href", "style"],
-- allowed_protocols=["http", "https"],
-+ allowed_protocols={"http", "https"},
- css_sanitizer=CSSSanitizer(
- allowed_css_properties=["color", "background-color"]
- ),
diff --git a/www/py-django-bleach/pkg-descr b/www/py-django-bleach/pkg-descr
deleted file mode 100644
index 007cc20fe24e..000000000000
--- a/www/py-django-bleach/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Bleach is a Python module that takes any HTML input, and returns valid,
-sanitised HTML that contains only an allowed subset of HTML tags, attributes and
-styles. django-bleach is a Django app that makes using bleach extremely easy.