git: 1f3b001a4d9b - main - graphics/py-django-easy-thumbnails: Update to 2.10.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 10:18:26 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f3b001a4d9ba6e8ece5a5e0160776c517cf12d7
commit 1f3b001a4d9ba6e8ece5a5e0160776c517cf12d7
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-01-17 10:17:34 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-01-17 10:17:34 +0000
graphics/py-django-easy-thumbnails: Update to 2.10.1
* Switch to the PEP517 build framework and adjust the relevant bits of
the DOCS option accordingly.
* Update WWW to point to actual upstream repository.
* Introduce SVG option and make it default as the dependencies were
used unconditionally before.
* Also switch to the more preferred DISTVERSION and take MAINTAINER'ship
due three consecutive timeouts.
Changelog since 2.8.1:
https://github.com/SmileyChris/easy-thumbnails/blob/2.10.1/CHANGES.rst
PR: 291710
Approved by: maintainer timeout (5+ weeks)
---
graphics/py-django-easy-thumbnails/Makefile | 31 ++++++++++++++++-------------
graphics/py-django-easy-thumbnails/distinfo | 6 +++---
2 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/graphics/py-django-easy-thumbnails/Makefile b/graphics/py-django-easy-thumbnails/Makefile
index b8b200f3e97e..aa1785c8196d 100644
--- a/graphics/py-django-easy-thumbnails/Makefile
+++ b/graphics/py-django-easy-thumbnails/Makefile
@@ -1,37 +1,40 @@
PORTNAME= easy-thumbnails
-PORTVERSION= 2.8.1
-PORTREVISION= 4
+DISTVERSION= 2.10.1
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django-
+DISTNAME= easy_thumbnails-${DISTVERSION}
-MAINTAINER= xenophon+fbsdports@irtnog.org
+MAINTAINER= kai@FreeBSD.org
COMMENT= Easy thumbnails for Django
-WWW= https://pypi.org/project/easy-thumbnails/
+WWW= https://github.com/SmileyChris/easy-thumbnails
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}svglib>0:converters/py-svglib@${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}pillow>0:graphics/py-pillow@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
PORTDOCS= *
-OPTIONS_DEFINE= DOCS
-DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
+OPTIONS_DEFINE= DOCS SVG
+OPTIONS_DEFAULT= SVG
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
${PY_PILLOW}
-DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+SVG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}svglib>0:converters/py-svglib@${PY_FLAVOR}
-post-patch-DOCS-on:
- @${REINPLACE_CMD} -e 's|^\(release = \)\(easy_thumbnails.get_version()\)|\1version|' ${WRKSRC}/docs/conf.py
+post-build-DOCS-on:
+ ${SETENV} PYTHONPATH=${WRKSRC} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \
+ -d ${WRKDIR} -b html ${WRKSRC}/docs/ ${WRKSRC}/build/sphinx/html
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/py-django-easy-thumbnails/distinfo b/graphics/py-django-easy-thumbnails/distinfo
index 8dbd49798256..ad7c322480d0 100644
--- a/graphics/py-django-easy-thumbnails/distinfo
+++ b/graphics/py-django-easy-thumbnails/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643097367
-SHA256 (easy-thumbnails-2.8.1.tar.gz) = 1a283fe8a3569c3feab4605e8279929d75c85c1151b2fd627f95b1863b5fc6c2
-SIZE (easy-thumbnails-2.8.1.tar.gz) = 76527
+TIMESTAMP = 1765553393
+SHA256 (easy_thumbnails-2.10.1.tar.gz) = a50aa5f99387546c35ab5ba1ea9b3cbbc5658e65601cd34949f62137c32c222e
+SIZE (easy_thumbnails-2.10.1.tar.gz) = 81446