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
33 lines
792 B
Makefile
33 lines
792 B
Makefile
PORTNAME= diskcache
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 5.6.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES+= b89111d.patch:-p1 # https://github.com/grantjenks/python-diskcache/pull/311
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Disk and file backed persistent cache
|
|
WWW= https://grantjenks.com/docs/diskcache/
|
|
|
|
LICENSE= APACHE20
|
|
|
|
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>0:www/py-django52@${PY_FLAVOR}
|
|
BUILD_DEPENDS= ${PY_DEPENDS}
|
|
RUN_DEPENDS= ${PY_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist pytest
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= grantjenks
|
|
GH_PROJECT= python-diskcache
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|