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: tnn
Date: Sun Aug 18 10:25:34 UTC 2024
Modified Files:
pkgsrc/x11/py-Tk: Makefile
Log Message:
py-Tk: enable for Python 3.12
Basic sanity check seems to work:
import tkinter as tk
w = tk.Tk()
w.title("Hello")
w.mainloop()
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 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.75 pkgsrc/x11/py-Tk/Makefile:1.76
--- pkgsrc/x11/py-Tk/Makefile:1.75 Thu Aug 15 22:04:25 2024
+++ pkgsrc/x11/py-Tk/Makefile Sun Aug 18 10:25:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2024/08/15 22:04:25 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2024/08/18 10:25:34 tnn Exp $
PKGNAME= ${PYPKGPREFIX}-Tk-${PY_DISTVERSION}
PKGREVISION= 8
@@ -18,8 +18,9 @@ PY_SETUP_SUBST+= TKRTPREFIX=${BUILDLINK_
PY_SETUP_SUBST+= X11BASE=${X11BASE}
PYSETUPINSTALLARGS+= --install-lib ${PREFIX}/${PYLIB}/lib-dynload
-# srcdist.mk needs to be adapted for distutils removal in 3.12
-PYTHON_VERSIONS_ACCEPTED= 311 310 27
+PYTHON_VERSIONS_ACCEPTED= 312 311 310 27
+
+CPPFLAGS+= -I${PREFIX}/include/python${PYVERSSUFFIX}/internal
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index