Skip to content

Commit edcf584

Browse files
committed
python313: new in 3.13.6: libuuid disabled on NetBSD
python/cpython#124228
1 parent 042c4e5 commit edcf584

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

lang/python313/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.20 2025/06/04 14:15:56 adam Exp $
1+
# $NetBSD: Makefile,v 1.21 2025/08/07 14:23:01 wiz Exp $
22

33
.include "dist.mk"
44

@@ -52,11 +52,16 @@ PTHREAD_OPTS+= require
5252

5353
.include "../../mk/bsd.prefs.mk"
5454

55+
PLIST_VARS+= uuid
56+
5557
# NetBSD-8 curses has enough support for py-curses
5658
USE_CURSES= getsyx update_panels wide
5759
# But we build as ncurses still to get the full feature set easily
5860
.if ${OPSYS} == "NetBSD"
5961
FAKE_NCURSES= yes
62+
.else
63+
# https://github.com/python/cpython/issues/124228
64+
PLIST.uuid= yes
6065
.endif
6166

6267
.if ${USE_CROSS_COMPILE:tl} == yes

lang/python313/PLIST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.7 2025/08/07 11:39:16 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.8 2025/08/07 14:23:01 wiz Exp $
22
bin/idle${PY_VER_SUFFIX}
33
bin/pydoc${PY_VER_SUFFIX}
44
bin/python${PY_VER_SUFFIX}
@@ -1807,7 +1807,7 @@ lib/python${PY_VER_SUFFIX}/lib-dynload/_testlimitedcapi.so
18071807
lib/python${PY_VER_SUFFIX}/lib-dynload/_testmultiphase.so
18081808
lib/python${PY_VER_SUFFIX}/lib-dynload/_testsinglephase.so
18091809
${PLIST.tkinter}lib/python${PY_VER_SUFFIX}/lib-dynload/_tkinter.so
1810-
lib/python${PY_VER_SUFFIX}/lib-dynload/_uuid.so
1810+
${PLIST.uuid}lib/python${PY_VER_SUFFIX}/lib-dynload/_uuid.so
18111811
lib/python${PY_VER_SUFFIX}/lib-dynload/_xxtestfuzz.so
18121812
lib/python${PY_VER_SUFFIX}/lib-dynload/_zoneinfo.so
18131813
lib/python${PY_VER_SUFFIX}/lib-dynload/array.so

0 commit comments

Comments
 (0)