pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-sure



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 15 20:26:57 UTC 2025

Modified Files:
        pkgsrc/devel/py-sure: Makefile

Log Message:
py-sure: only set WHEEL_NAME for Python 3.14+

TODO: find out why this is necessary


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-sure/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-sure/Makefile
diff -u pkgsrc/devel/py-sure/Makefile:1.13 pkgsrc/devel/py-sure/Makefile:1.14
--- pkgsrc/devel/py-sure/Makefile:1.13  Thu Oct  9 11:14:24 2025
+++ pkgsrc/devel/py-sure/Makefile       Wed Oct 15 20:26:57 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2025/10/09 11:14:24 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2025/10/15 20:26:57 wiz Exp $
 
 DISTNAME=      sure-2.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,11 +19,15 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-nose-[0-9]
 
 USE_LANGUAGES= # none
 
-WHEEL_NAME=    sure-0.0.0
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} sure sure-${PYVERSSUFFIX} || ${TRUE}
 
+.include "../../lang/python/pyversion.mk"
+# TODO: find out why this is different for Python 3.14+
+.if ${PYTHON_VERSION} > 313
+WHEEL_NAME=    sure-0.0.0
+.endif
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index