git: c50d01f6f800 - main - graphics/py-pygeoapi: Fix stage-qa
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 06:14:31 UTC
The branch main has been updated by lbartoletti:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c50d01f6f800cf5171a75e471649f6b3d2436758
commit c50d01f6f800cf5171a75e471649f6b3d2436758
Author: Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2026-09-29 06:13:22 +0000
Commit: Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2026-09-29 06:14:19 +0000
graphics/py-pygeoapi: Fix stage-qa
- Bump PORTREVISION for package change
====> Running Q/A tests (stage-qa)
Error: Python package installs top-level 'tests/' directory in site-packages
Error: Location: lib/python3.12/site-packages/tests
Error: This causes file conflicts with other packages. Exclude it via pyproject.toml:
Error: [tool.setuptools.packages.find]
Error: exclude = ["tests", "tests.*"]
Error: See: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
*** Error code 1
---
graphics/py-pygeoapi/Makefile | 2 +-
graphics/py-pygeoapi/files/patch-setup.py | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/graphics/py-pygeoapi/Makefile b/graphics/py-pygeoapi/Makefile
index da0316ac10bf..71898c12c00c 100644
--- a/graphics/py-pygeoapi/Makefile
+++ b/graphics/py-pygeoapi/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pygeoapi
PORTVERSION= 0.22.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics geography python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-pygeoapi/files/patch-setup.py b/graphics/py-pygeoapi/files/patch-setup.py
new file mode 100644
index 000000000000..27405d87ab9b
--- /dev/null
+++ b/graphics/py-pygeoapi/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2026-09-29 06:01:10 UTC
++++ setup.py
+@@ -157,7 +157,7 @@ setup(
+ url='https://pygeoapi.io',
+ python_requires='>=3.12',
+ install_requires=read('requirements.txt').splitlines(),
+- packages=find_packages(exclude=['pygeoapi.tests']),
++ packages=find_packages(exclude = ["tests", "tests.*"]),
+ include_package_data=True,
+ entry_points={
+ 'console_scripts': [