Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2026 08:36:45 +0000
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f69201f36af8 - main - www/py-django-photologue: Fix stage QA
Message-ID:  <69a0061d.1f3b9.92c1314@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f69201f36af8378cadd2cc7daff00a9b3a21f8cc

commit f69201f36af8378cadd2cc7daff00a9b3a21f8cc
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-02-26 08:33:50 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-02-26 08:33:50 +0000

    www/py-django-photologue: Fix stage QA
    
    * This was overlooked in 21900d66eda3 and was then noticed
      retrospectively during a bulk run after stage QA was extended in
      f35f902eb8f1:
    
    [...]
    ====> Running Q/A tests (stage-qa)
    Error: Python package installs top-level 'scripts/' directory in site-packages
    Error:   Location: lib/python3.11/site-packages/scripts
    [...]
    
    * Bump PORTREVISION due changed package contents.
    
    Approved by:    portmgr (build fix blanket)
    Fixes:  21900d66eda3 www/py-django-photologue: Update to 3.18
---
 www/py-django-photologue/Makefile             |  1 +
 www/py-django-photologue/files/patch-setup.py | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

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,5 +1,6 @@
 PORTNAME=	django-photologue
 PORTVERSION=	3.18
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
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',


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a0061d.1f3b9.92c1314>