diff --git a/www/py-django-photologue/Makefile b/www/py-django-photologue/Makefile index 20274b73f306..552daa120570 100644 --- a/www/py-django-photologue/Makefile +++ b/www/py-django-photologue/Makefile @@ -1,25 +1,26 @@ PORTNAME= django-photologue PORTVERSION= 3.18 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Powerful image management and gallery application for Django WWW= https://github.com/richardbarran/django-photologue LICENSE= BSD3CLAUSE 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}django-sortedm2m>=4.0.0:www/py-django-sortedm2m@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ExifRead>=3:graphics/py-exifread@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10:graphics/py-pillow@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes .include diff --git a/www/py-django-photologue/files/patch-setup.py b/www/py-django-photologue/files/patch-setup.py new file mode 100644 index 000000000000..f6ab7436d7a6 --- /dev/null +++ b/www/py-django-photologue/files/patch-setup.py @@ -0,0 +1,14 @@ +Prevent installation of the "scripts" directory into the top-level of +the Python site-lib directory. + +--- setup.py.orig 2026-02-11 16:50:04 UTC ++++ setup.py +@@ -17,7 +17,7 @@ setup( + author="Justin Driscoll, Marcos Daniel Petry, Richard Barran", + author_email="justin@driscolldev.com, marcospetry@gmail.com, richard@arbee-design.co.uk", + url="https://github.com/richardbarran/django-photologue", +- packages=find_packages(), ++ packages=find_packages(exclude=['scripts']), + include_package_data=True, + zip_safe=False, + classifiers=['Development Status :: 5 - Production/Stable',