git: 1328b38bfbcd - main - *: Mark TESTING_UNSAFE

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 01:21:23 UTC
The branch main has been updated by arrowd:

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

commit 1328b38bfbcd583e005254ce82ec739bcd6018d0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-16 01:18:29 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-16 01:20:08 +0000

    *: Mark TESTING_UNSAFE
---
 audio/lilv/Makefile                  | 1 +
 databases/py-sqlite3/Makefile        | 2 ++
 devel/py-importlib-metadata/Makefile | 2 ++
 devel/py-setproctitle/Makefile       | 2 ++
 devel/pygobject3-common/Makefile     | 4 ++++
 security/libsecret/Makefile          | 7 +++++++
 security/nss/Makefile                | 2 ++
 sysutils/py-execnet/Makefile         | 2 ++
 8 files changed, 22 insertions(+)

diff --git a/audio/lilv/Makefile b/audio/lilv/Makefile
index 29100504e2c2..0a1b8c91ff24 100644
--- a/audio/lilv/Makefile
+++ b/audio/lilv/Makefile
@@ -24,5 +24,6 @@ MESON_ARGS=	-Ddocs=disabled \
 		--mandir=${PREFIX}/share/man
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 PLIST_SUB=	VERSION=${PORTVERSION}
+TESTING_UNSAFE=	https://gitlab.com/lv2/lilv/-/issues/12
 
 .include <bsd.port.mk>
diff --git a/databases/py-sqlite3/Makefile b/databases/py-sqlite3/Makefile
index 8baa11da345c..510ad060eac7 100644
--- a/databases/py-sqlite3/Makefile
+++ b/databases/py-sqlite3/Makefile
@@ -25,6 +25,8 @@ WRKSRC_SUBDIR=	Modules
 
 PYDISTUTILS_INSTALLARGS+=	--install-lib ${PYTHON_LIBDIR}/lib-dynload
 
+TESTING_UNSAFE=	ModuleNotFoundError: No module named '_sqlite3'
+
 .include <bsd.port.pre.mk>
 
 post-extract:
diff --git a/devel/py-importlib-metadata/Makefile b/devel/py-importlib-metadata/Makefile
index 6bf58140c034..5510f357683d 100644
--- a/devel/py-importlib-metadata/Makefile
+++ b/devel/py-importlib-metadata/Makefile
@@ -22,4 +22,6 @@ USE_PYTHON=	autoplist pep517 pytest
 
 NO_ARCH=	yes
 
+TESTING_UNSAFE=	ModuleNotFoundError: No module named 'pyfakefs'
+
 .include <bsd.port.mk>
diff --git a/devel/py-setproctitle/Makefile b/devel/py-setproctitle/Makefile
index 962526a8d702..1dd9cff79a2c 100644
--- a/devel/py-setproctitle/Makefile
+++ b/devel/py-setproctitle/Makefile
@@ -20,6 +20,8 @@ OPTIONS_DEFINE=	DOCS
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
+TESTING_UNSAFE=	ImportError: attempted relative import with no known parent package
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/*setproctitle*.so
 
diff --git a/devel/pygobject3-common/Makefile b/devel/pygobject3-common/Makefile
index 920a2dc11445..9c8211695941 100644
--- a/devel/pygobject3-common/Makefile
+++ b/devel/pygobject3-common/Makefile
@@ -13,6 +13,8 @@ COMMENT?=	Common files for the Python bindings for GObject
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
 SLAVE_PORT?=	no
 
 USES=		meson pkgconfig tar:xz
@@ -26,6 +28,8 @@ PLIST_SUB=	ARCH=${ARCH} UNAME_R=${UNAME_R} VERSION=${PORTVERSION} \
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
+TESTING_UNSAFE=	AttributeError: 'NoneType' object has no attribute '_version'
+
 .if ${SLAVE_PORT} == no
 PORTSCOUT?=	limitw:1,even
 
diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile
index 20025cd2ad05..dd8f676da2f4 100644
--- a/security/libsecret/Makefile
+++ b/security/libsecret/Makefile
@@ -14,10 +14,17 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLA
 		docbook-xsl>=0:textproc/docbook-xsl
 LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 		libgpg-error.so:security/libgpg-error
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR}
 
 USES=		compiler gnome meson pkgconfig python tar:xz vala:build
 USE_GNOME=	glib20 intltool introspection:build libxslt:build
 
+TESTING_UNSAFE=	gi.repository.GLib.GError: g-io-error-quark: Remote closed the output
+
+pre-test:
+	@${MKDIR} ${BINARY_LINKDIR}
+	@${LN} -s ${PYTHON_CMD} ${BINARY_LINKDIR}/python3
+
 .include <bsd.port.pre.mk>
 
 .if ${COMPILER_TYPE} == clang
diff --git a/security/nss/Makefile b/security/nss/Makefile
index e50b02a671ca..0cd91a381ffb 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -51,6 +51,8 @@ OPTIONS_DEFINE_powerpc64=	VSX
 VSX_CFLAGS=	-DUSE_PPC_CRYPTO
 VSX_DESC=	Use VSX optimized routines (POWER8 or newer)
 
+TESTING_UNSAFE=	Fatal DOMSUF env. variable is not defined
+
 .include <bsd.port.options.mk>
 
 .if ! ${PORT_OPTIONS:MDEBUG}
diff --git a/sysutils/py-execnet/Makefile b/sysutils/py-execnet/Makefile
index 5180abb672db..fb7dadfe51fa 100644
--- a/sysutils/py-execnet/Makefile
+++ b/sysutils/py-execnet/Makefile
@@ -19,4 +19,6 @@ USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
+TESTING_UNSAFE=	ModuleNotFoundError: No module named 'execnet'
+
 .include <bsd.port.mk>