Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is the new LTS (= Long Term Support) release which will be supported until April 2026. * Switch most ports that use www/py-django32 to www/py-django42. * Ports that are not compatible with Django 3.2 have already been set with an expiration date were not taken into account. * Bump PORTREVISION due dependency change where necessary. PR: 276319 Reviewed by: dvl, grembo, ultima Approved by: bofh (implicit), dvl, grembo, Kevin Golding, sunpoet, ultima, maintainer timeout (remaining maintainers) Differential Revision: https://reviews.freebsd.org/D44637
37 lines
976 B
Makefile
37 lines
976 B
Makefile
PORTNAME= logan
|
|
PORTVERSION= 0.7.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Toolkit for running standalone Django applications
|
|
WWW= https://github.com/dcramer/logan
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=1.5:www/py-django42@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0.8.0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:devel/py-nose@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= README.rst
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}/README.rst
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|