Date: Tue, 31 Mar 2026 16:09:42 +0000 From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5d988351700e - main - www/py-django-tagging: Remove expired port Message-ID: <69cbf1c6.3b24a.2c06d55e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d988351700e8725ec725032db0333ea9ebbaecd commit 5d988351700e8725ec725032db0333ea9ebbaecd Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2026-03-31 16:09:35 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2026-03-31 16:09:35 +0000 www/py-django-tagging: Remove expired port 2026-03-31 www/py-django-tagging: Upstream inactive since 5+ years, not compatible with Django 5+. Please use www/py-django-taggit instead --- MOVED | 1 + www/Makefile | 1 - www/py-django-tagging/Makefile | 26 ---------------- www/py-django-tagging/distinfo | 3 -- .../files/patch-tagging_models.py | 36 ---------------------- www/py-django-tagging/pkg-descr | 2 -- 6 files changed, 1 insertion(+), 68 deletions(-) diff --git a/MOVED b/MOVED index 7430cd81c9b3..41902a2a8711 100644 --- a/MOVED +++ b/MOVED @@ -5177,3 +5177,4 @@ 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 +www/py-django-tagging|www/py-django-taggit|2026-03-31|Has expired: Upstream inactive since 5+ years, not compatible with Django 5+. Please use www/py-django-taggit instead diff --git a/www/Makefile b/www/Makefile index 044d88360176..a116b4cc3391 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1677,7 +1677,6 @@ SUBDIR += py-django-storages SUBDIR += py-django-stubs-ext SUBDIR += py-django-tables2 - SUBDIR += py-django-tagging SUBDIR += py-django-taggit SUBDIR += py-django-tasks SUBDIR += py-django-tastypie diff --git a/www/py-django-tagging/Makefile b/www/py-django-tagging/Makefile deleted file mode 100644 index 44b7ce2f53d9..000000000000 --- a/www/py-django-tagging/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -PORTNAME= django-tagging -PORTVERSION= 0.5.0 -PORTREVISION= 4 -CATEGORIES= www python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= ports@caomhin.org -COMMENT= Generic tagging application for Django -WWW= https://github.com/Fantomas42/django-tagging - -LICENSE= BSD3CLAUSE MIT -LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= Upstream inactive since 5+ years, not compatible with Django 5+. Please use www/py-django-taggit instead -EXPIRATION_DATE=2026-03-31 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} - -USES= python -USE_PYTHON= distutils autoplist - -NO_ARCH= yes - -.include <bsd.port.mk> diff --git a/www/py-django-tagging/distinfo b/www/py-django-tagging/distinfo deleted file mode 100644 index 384e016935af..000000000000 --- a/www/py-django-tagging/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1587633783 -SHA256 (django-tagging-0.5.0.tar.gz) = 28d68fa4831705e51ad7d1e845ed6dd9e354f9b6f8a5f63b655a430646ef4e8d -SIZE (django-tagging-0.5.0.tar.gz) = 42827 diff --git a/www/py-django-tagging/files/patch-tagging_models.py b/www/py-django-tagging/files/patch-tagging_models.py deleted file mode 100644 index f1391404addb..000000000000 --- a/www/py-django-tagging/files/patch-tagging_models.py +++ /dev/null @@ -1,36 +0,0 @@ -Add compatibility for Django 4.x - -Obtained from: - -https://patch-diff.githubusercontent.com/raw/Fantomas42/django-tagging/pull/23.patch - ---- tagging/models.py.orig 2020-03-06 17:56:16 UTC -+++ tagging/models.py -@@ -5,7 +5,8 @@ from django.db import models - from django.contrib.contenttypes.models import ContentType - from django.db import connection - from django.db import models --from django.utils.encoding import smart_text -+from django.db.models.query_utils import Q -+from django.utils.encoding import smart_str - from django.utils.translation import gettext_lazy as _ - - from tagging import settings -@@ -155,8 +156,9 @@ class TagManager(models.Manager): - filters = {} - - queryset = model._default_manager.filter() -- for f in filters.items(): -- queryset.query.add_filter(f) -+ for k, v in filters.items(): -+ # Add support for both Django 4 and inferior versions -+ queryset.query.add_q(Q((k, v))) - usage = self.usage_for_queryset(queryset, counts, min_count) - - return usage -@@ -519,4 +521,4 @@ class TaggedItem(models.Model): - verbose_name_plural = _('tagged items') - - def __str__(self): -- return '%s [%s]' % (smart_text(self.object), smart_text(self.tag)) -+ return '%s [%s]' % (smart_str(self.object), smart_str(self.tag)) diff --git a/www/py-django-tagging/pkg-descr b/www/py-django-tagging/pkg-descr deleted file mode 100644 index 6b0518997656..000000000000 --- a/www/py-django-tagging/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -A generic tagging application for Django projects, which allows association of -a number of tags with any Model instance and makes retrieval of tags simple.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cbf1c6.3b24a.2c06d55e>
