summaryrefslogtreecommitdiff
path: root/package/python3
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-23 03:30:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-28 14:22:38 +0100
commitfa798e251f1ddb88ca4e542a11303ca194f55574 (patch)
tree4cbb5ddc42ec56253ef1cee4879d69c174c3617e /package/python3
parent9408627554cb042c3d6b0e9908173e5a1a92edf2 (diff)
python: downgrade to 3.11.6, missing distutils prevents glib from build
Diffstat (limited to 'package/python3')
-rw-r--r--package/python3/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/package/python3/Makefile b/package/python3/Makefile
index 20d878a27..3982d3762 100644
--- a/package/python3/Makefile
+++ b/package/python3/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= python3
-PKG_VERSION:= 3.12.1
+PKG_VERSION:= 3.11.6
PKG_RELEASE:= 1
-PKG_HASH:= 8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21
+PKG_HASH:= 0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38
PKG_DESCR:= python3 scripting language
PKG_SECTION:= dev/lang
PKG_DEPENDS:= libffi zlib libexpat
@@ -16,8 +16,6 @@ PKG_NEEDS:= threads
PKG_URL:= http://www.python.org/
PKG_SITES:= http://legacy.python.org/ftp/python/${PKG_VERSION}/
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin
-
PKG_FLAVOURS_PYTHON3:= MOD_ZLIB MOD_BZ2 MOD_SQLITE MOD_GDBM
PKG_FLAVOURS_PYTHON3+= MOD_NCURSES MOD_SSL MOD_READLINE
@@ -54,9 +52,9 @@ define PKG_mod_template
INSTALL_MODS_$${ADK_PACKAGE_${1}}+= ${2}-install
${2}-install:
- ${INSTALL_DIR} $$(IDIR_$(1))/usr/lib/python3.12/lib-dynload
+ ${INSTALL_DIR} $$(IDIR_$(1))/usr/lib/python3.11/lib-dynload
for m in ${2}; do \
- ${INSTALL_DATA} $(WRKINST)/usr/lib/python3.12/lib-dynload/$$$${m}*.so $$(IDIR_$(1))/usr/lib/python3.12/lib-dynload ;\
+ ${INSTALL_DATA} $(WRKINST)/usr/lib/python3.11/lib-dynload/$$$${m}*.so $$(IDIR_$(1))/usr/lib/python3.11/lib-dynload ;\
done
endef
@@ -92,15 +90,15 @@ CONFIGURE_ENV+= ac_cv_have_long_long_format=yes \
python3-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_DIR} ${IDIR_PYTHON3}/usr/bin ${IDIR_PYTHON3}/usr/lib
- ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/lib/python3.12
- ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/include/python3.12
+ ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/lib/python3.11
+ ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/include/python3.11
${INSTALL_BIN} ${WRKINST}/usr/bin/python3 ${IDIR_PYTHON3}/usr/bin
${CP} ${WRKINST}/usr/lib/libpython*.so* ${IDIR_PYTHON3}/usr/lib
- ${CP} ${WRKINST}/usr/lib/python3.12/* ${IDIR_PYTHON3}/usr/lib/python3.12
- ${CP} ${WRKINST}/usr/include/python3.12/pyconfig.h \
- ${IDIR_PYTHON3}/usr/include/python3.12
+ ${CP} ${WRKINST}/usr/lib/python3.11/* ${IDIR_PYTHON3}/usr/lib/python3.11
+ ${CP} ${WRKINST}/usr/include/python3.11/pyconfig.h \
+ ${IDIR_PYTHON3}/usr/include/python3.11
@-for i in zlib _bz2 _curses _ssl _gdbm _sqlite pyexpat readline; do \
- rm ${IDIR_PYTHON3}/usr/lib/python3.12/lib-dynload/$${i}*so; \
+ rm ${IDIR_PYTHON3}/usr/lib/python3.11/lib-dynload/$${i}*so; \
done
include ${ADK_TOPDIR}/mk/host-bottom.mk