ce59801b72
Django 4.2 reached its End-of-Life on 7th April 2026 and Django 5.2 is the new LTS (= Long Term Support) release which will be supported until April 2028. * Switch most ports that use www/py-django42 to www/py-django52. * Where necessary, remove PORTSCOUT, which is no longer needed because an update to a newer version that no longer supports Django 4.2 should now be possible. * Bump PORTREVISION due dependency change where necessary. PR: 291707 Reviewed by: sunpoet (python) Differential Revision: https://reviews.freebsd.org/D56966
49 lines
1.8 KiB
Makefile
49 lines
1.8 KiB
Makefile
PORTNAME= postorius
|
|
PORTVERSION= 1.3.13
|
|
PORTREVISION= 4
|
|
CATEGORIES= www
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
PATCH_SITES= https://gitlab.com/mailman/postorius/-/commit/
|
|
PATCHFILES= c4706abd05ba6bcf472fc674b160d3a9d6a4868b.patch:-p1
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Web user interface for GNU Mailman
|
|
WWW= https://docs.mailman3.org/projects/postorius/en/latest/ \
|
|
https://gitlab.com/mailman/postorius
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-mailman3>=1.3.13:mail/py-django-mailman3@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django52>=4.2<5.3:www/py-django52@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mailmanclient>=3.3.3:mail/py-mailmanclient@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}readme-renderer>=0:devel/py-readme-renderer@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-debug-toolbar>=0:www/py-django-debug-toolbar@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-requests-debug-toolbar>=0:www/py-django-requests-debug-toolbar@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR}
|
|
|
|
USES= cpe python shebangfix
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
CPE_VENDOR= postorius_project
|
|
|
|
SHEBANG_FILES= example_project/manage.py
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-patch:
|
|
# https://gitlab.com/mailman/postorius/-/commit/c4706abd05ba6bcf472fc674b160d3a9d6a4868b
|
|
@${RM} ${WRKSRC}/src/postorius/doc/news.rst.orig
|
|
@${RM} ${WRKSRC}/src/postorius/static/postorius/js/held_messages.js.orig
|
|
|
|
post-install-EXAMPLES-on:
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} example_project ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|