pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/py-Tk



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Jan 28 16:21:28 UTC 2025

Modified Files:
        pkgsrc/x11/py-Tk: Makefile

Log Message:
x11/py-Tk: Fix TOOL_DEPENDS for python27 case.

setuptools lives under devel/py-setuptools44 for python27, not under
devel/py-setuptools.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/x11/py-Tk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/py-Tk/Makefile
diff -u pkgsrc/x11/py-Tk/Makefile:1.79 pkgsrc/x11/py-Tk/Makefile:1.80
--- pkgsrc/x11/py-Tk/Makefile:1.79      Mon Nov 25 10:45:23 2024
+++ pkgsrc/x11/py-Tk/Makefile   Tue Jan 28 16:21:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2024/11/25 10:45:23 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2025/01/28 16:21:28 riastradh Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-Tk-${PY_DISTVERSION}
 PKGREVISION=   9
@@ -11,7 +11,9 @@ LICENSE=      python-software-foundation
 
 USE_GCC_RUNTIME=       yes
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+PYSETUPTOOLSVER=       ${"${PYTHON_VERSION:M2*}" != "":?44:}
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools${PYSETUPTOOLSVER}
 
 PYDISTUTILSPKG=                yes
 PY_SETUP_SUBST+=       BLPREFIX=${LOCALBASE}



Home | Main Index | Thread Index | Old Index