pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-dunamai
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jun 30 17:14:29 UTC 2026
Modified Files:
pkgsrc/devel/py-dunamai: Makefile
Log Message:
py-dunamai: git is just a test dependency
Fix tests by setting up environment; reported upstream.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-dunamai/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-dunamai/Makefile
diff -u pkgsrc/devel/py-dunamai/Makefile:1.3 pkgsrc/devel/py-dunamai/Makefile:1.4
--- pkgsrc/devel/py-dunamai/Makefile:1.3 Sun Apr 5 11:35:14 2026
+++ pkgsrc/devel/py-dunamai/Makefile Tue Jun 30 17:14:29 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2026/04/05 11:35:14 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/06/30 17:14:29 wiz Exp $
DISTNAME= dunamai-1.26.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/dunamai/}
@@ -14,11 +15,17 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-cor
DEPENDS+= ${PYPKGPREFIX}-packaging>=20.9:../../devel/py-packaging
USE_LANGUAGES= # none
-# for testing
-USE_TOOLS+= git
+USE_TOOLS+= git:test
# as of 1.26.1
-# 10 failed, 47 passed, 6 skipped
+# 57 passed, 6 skipped, 49 warnings
+# https://github.com/mtkennerly/dunamai/issues/114
+.if make(test)
+ALLOW_NETWORK_ACCESS= yes
+.endif
+pre-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} git config --global user.email "example%pkgsrc.org@localhost"
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} git config --global user.name "pkgsrc test"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index