git: 1c4d937ba723 - main - www/py-dj51-django-rich: Update to 2.2.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 25 Oct 2025 10:14:12 UTC
The branch main has been updated by kai:

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

commit 1c4d937ba7237581b4ceff774755138227982cb5
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-10-25 10:11:16 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-10-25 10:11:16 +0000

    www/py-dj51-django-rich: Update to 2.2.0
    
    Changelog since 2.0.0:
    
    https://github.com/adamchainz/django-rich/blob/2.2.0/CHANGELOG.rst
---
 www/py-dj51-django-rich/Makefile                   |  2 +-
 www/py-dj51-django-rich/distinfo                   |  6 +++---
 www/py-dj51-django-rich/files/patch-pyproject.toml | 24 ++++++++++++++++++++++
 3 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/www/py-dj51-django-rich/Makefile b/www/py-dj51-django-rich/Makefile
index 20fb22b464f4..d71dfb6ba7c7 100644
--- a/www/py-dj51-django-rich/Makefile
+++ b/www/py-dj51-django-rich/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-rich
-DISTVERSION=	2.0.0
+DISTVERSION=	2.2.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj51-
diff --git a/www/py-dj51-django-rich/distinfo b/www/py-dj51-django-rich/distinfo
index ff93b43f1403..f0159f8997fe 100644
--- a/www/py-dj51-django-rich/distinfo
+++ b/www/py-dj51-django-rich/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747327116
-SHA256 (django_rich-2.0.0.tar.gz) = 3646edf7223f05b9775ec9a38ab5a33be93042fc3de3d5e31eacf84da6091913
-SIZE (django_rich-2.0.0.tar.gz) = 61448
+TIMESTAMP = 1759317430
+SHA256 (django_rich-2.2.0.tar.gz) = ecec7842d040024ed8a225699388535e46b87277550c33f46193b52cece2f780
+SIZE (django_rich-2.2.0.tar.gz) = 62427
diff --git a/www/py-dj51-django-rich/files/patch-pyproject.toml b/www/py-dj51-django-rich/files/patch-pyproject.toml
new file mode 100644
index 000000000000..461d3be58401
--- /dev/null
+++ b/www/py-dj51-django-rich/files/patch-pyproject.toml
@@ -0,0 +1,24 @@
+* Relax version requirements of py-setuptools and enable build for
+  older versions of it
+
+--- pyproject.toml.orig	2025-09-18 12:19:48 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+-  "setuptools>=77",
++  "setuptools",
+ ]
+ 
+ [project]
+@@ -12,8 +12,7 @@ keywords = [
+ keywords = [
+   "Django",
+ ]
+-license = "MIT"
+-license-files = [ "LICENSE" ]
++license = { text="MIT" }
+ authors = [
+   { name = "Adam Johnson", email = "me@adamj.eu" },
+ ]