summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-10-28 18:49:10 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-10-28 20:25:00 +0300
commitcdcb83181ad2d42aadd3c5449103e9d364b5f781 (patch)
tree9213b3dfee0bee198ed5c006e66022f1d509234f
parentdevel/py-pygobject: update to 3.50.2 (diff)
devel/pygobject-common: Enable make test
-rw-r--r--devel/pygobject-common/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/pygobject-common/Makefile b/devel/pygobject-common/Makefile
index 9faa06e77a70..34f82088547c 100644
--- a/devel/pygobject-common/Makefile
+++ b/devel/pygobject-common/Makefile
@@ -3,11 +3,18 @@ PKGNAMESUFFIX= -common
COMMENT= Common files for Python bindings for GObject Introspection
+TEST_DEPENDS= bash:shells/bash \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/pygobject-3.0/pygobject.h \
libdata/pkgconfig/pygobject-3.0.pc
+# tests/test_glib.py is flaky - its tests fail when run together, but pass when
+# executed separately
+TEST_ENV= PYTEST_ADDOPTS='-k "not test_io_add_watch and not test_main_loop"'
+
SLAVE_PORT= common
MASTERDIR= ${.CURDIR}/../../devel/py-pygobject