Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 12:54:57 +0000
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4d0eb2f6119d - main - www/py-django-post_office: Update to 3.11
Message-ID:  <698341a1.31e27.9b8e824@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kai:

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

commit 4d0eb2f6119dff05a6ff8e531e864c0b86094171
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-02-04 12:54:26 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-02-04 12:54:26 +0000

    www/py-django-post_office: Update to 3.11
    
    * Switch to the PEP517 build framework.
    
    * Remove no longer required USE_LOCALE as the UTF-8 mode is enabled
      by default when the locale is C since Python 3.7.
    
    Changelog since 3.9.1:
    
    https://github.com/ui/django-post_office/blob/v3.11/CHANGELOG.md
    
    PR:             292602
    Approved by:    maintimer timeout (14+ days)
---
 www/py-django-post_office/Makefile                 | 13 ++++++-------
 www/py-django-post_office/distinfo                 |  6 +++---
 .../files/patch-pyproject.toml                     | 22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/www/py-django-post_office/Makefile b/www/py-django-post_office/Makefile
index be935409b3ee..e5800d2277dc 100644
--- a/www/py-django-post_office/Makefile
+++ b/www/py-django-post_office/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	django-post_office
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.9.1
-PORTREVISION=	1
+DISTVERSION=	3.11
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,13 +11,13 @@ WWW=		https://github.com/ui/django-post_office
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}bleach>=0:www/py-bleach@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nh3>0:www/py-nh3@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
-USE_LOCALE=	en_US.UTF-8
+USE_PYTHON=	autoplist pep517
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ui
diff --git a/www/py-django-post_office/distinfo b/www/py-django-post_office/distinfo
index 8b64f574ec97..3c6d9f227f5f 100644
--- a/www/py-django-post_office/distinfo
+++ b/www/py-django-post_office/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734389383
-SHA256 (ui-django-post_office-v3.9.1_GH0.tar.gz) = ebb59b0441f5c91923e5433f5350b0f26336301e55f987d4a50757afe7e3948c
-SIZE (ui-django-post_office-v3.9.1_GH0.tar.gz) = 64533
+TIMESTAMP = 1768901348
+SHA256 (ui-django-post_office-v3.11_GH0.tar.gz) = 36cbc6baf74b4c3c4d41d08bab177beaa1ff0a124cb47b279f5a950342ab1b51
+SIZE (ui-django-post_office-v3.11_GH0.tar.gz) = 82515
diff --git a/www/py-django-post_office/files/patch-pyproject.toml b/www/py-django-post_office/files/patch-pyproject.toml
new file mode 100644
index 000000000000..cf4f83a869f7
--- /dev/null
+++ b/www/py-django-post_office/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+Enable build for older versions of py-setuptools.
+
+--- pyproject.toml.orig	2026-01-20 09:51:18 UTC
++++ pyproject.toml
+@@ -4,7 +4,6 @@ name = "django-post_office"
+ 
+ [project]
+ name = "django-post_office"
+-license = "MIT"
+ requires-python = ">=3.9"
+ authors = [{name = "Selwin Ong", email = "selwin.ong@gmail.com"}]
+ description = "A Django app to monitor and send mail asynchronously, complete with template support."
+@@ -38,6 +37,9 @@ dynamic = ["version"]
+     "django>=4.2",
+ ]
+ dynamic = ["version"]
++
++[project.license]
++text = "MIT"
+ 
+ [project.readme]
+ file = "README.md"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698341a1.31e27.9b8e824>