git: 22354aa9308c - main - devel/py-mime: Mark IGNORE on python 3.12 and later
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jun 2026 14:13:58 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=22354aa9308c9f7a84b35688c22e09ae565087cb
commit 22354aa9308c9f7a84b35688c22e09ae565087cb
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-06-28 12:38:23 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-06-28 14:13:34 +0000
devel/py-mime: Mark IGNORE on python 3.12 and later
Fails at 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.*"]
Given the inactivity of the upstream for the last 10 years IGNORE is
better than BROKEN
Approved by: portmgr (blanket)
---
devel/py-mime/Makefile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/devel/py-mime/Makefile b/devel/py-mime/Makefile
index 46bc7fb5f45e..8718afa909e0 100644
--- a/devel/py-mime/Makefile
+++ b/devel/py-mime/Makefile
@@ -19,4 +19,15 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+#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.*"]
+.if ${PYTHON_REL} >= 31200
+IGNORE= Does not support Python 3.12 or later
+.endif
+
+.include <bsd.port.post.mk>