diff options
Diffstat (limited to 'package/python3/Makefile')
-rw-r--r-- | package/python3/Makefile | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/package/python3/Makefile b/package/python3/Makefile index 3d8761af2..46acb8e12 100644 --- a/package/python3/Makefile +++ b/package/python3/Makefile @@ -4,20 +4,20 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= python3 -PKG_VERSION:= 3.11.8 +PKG_VERSION:= 3.12.9 PKG_RELEASE:= 1 -PKG_HASH:= 9e06008c8901924395bc1da303eac567a729ae012baa182ab39269f650383bb3 +PKG_HASH:= 7220835d9f90b37c006e9842a8dff4580aaca4318674f947302b8d28f3f81112 PKG_DESCR:= python scripting language PKG_SECTION:= dev/lang PKG_DEPENDS:= libffi zlib libexpat PKG_BUILDDEP:= python3-host libffi zlib expat -HOST_BUILDDEP:= libffi-host libressl-host zlib-host bzip2-host ncurses-host sqlite-host +HOST_BUILDDEP:= libffi-host openssl-host zlib-host bzip2-host ncurses-host sqlite-host PKG_NEEDS:= threads PKG_URL:= http://www.python.org/ PKG_SITES:= http://legacy.python.org/ftp/python/${PKG_VERSION}/ PKG_FLAVOURS_PYTHON3:= MOD_ZLIB MOD_BZ2 MOD_SQLITE MOD_GDBM -PKG_FLAVOURS_PYTHON3+= MOD_NCURSES MOD_LIBRESSL MOD_OPENSSL MOD_READLINE +PKG_FLAVOURS_PYTHON3+= MOD_NCURSES MOD_OPENSSL MOD_READLINE PKGFD_MOD_ZLIB:= zlib support PKGFB_MOD_ZLIB:= zlib @@ -37,9 +37,6 @@ PKGFS_MOD_NCURSES:= libncurses PKGFD_MOD_READLINE:= readline support PKGFB_MOD_READLINE:= readline PKGFS_MOD_READLINE:= libreadline -PKGFD_MOD_LIBRESSL:= libressl support -PKGFB_MOD_LIBRESSL:= libressl -PKGFS_MOD_LIBRESSL:= libressl PKGFD_MOD_OPENSSL:= openssl support PKGFB_MOD_OPENSSL:= openssl PKGFS_MOD_OPENSSL:= libopenssl @@ -55,9 +52,9 @@ define PKG_mod_template INSTALL_MODS_$${ADK_PACKAGE_${1}}+= ${2}-install ${2}-install: - ${INSTALL_DIR} $$(IDIR_$(1))/usr/lib/python3.11/lib-dynload + ${INSTALL_DIR} $$(IDIR_$(1))/usr/lib/python3.12/lib-dynload for m in ${2}; do \ - ${INSTALL_DATA} $(WRKINST)/usr/lib/python3.11/lib-dynload/$$$${m}*.so $$(IDIR_$(1))/usr/lib/python3.11/lib-dynload ;\ + ${INSTALL_DATA} $(WRKINST)/usr/lib/python3.12/lib-dynload/$$$${m}*.so $$(IDIR_$(1))/usr/lib/python3.12/lib-dynload ;\ done endef @@ -70,7 +67,6 @@ $(eval $(call PKG_template,PYTHON3_MOD_BZ2,python3-mod-bz2,$(PKG_VERSION)-${PKG_ $(eval $(call PKG_template,PYTHON3_MOD_SQLITE,python3-mod-sqlite,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_SQLITE},${PKGFD_MOD_SQLITE},${PKG_SECTION})) $(eval $(call PKG_template,PYTHON3_MOD_GDBM,python3-mod-gdbm,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_GDBM},${PKGFD_MOD_GDBM},${PKG_SECTION})) $(eval $(call PKG_template,PYTHON3_MOD_NCURSES,python3-mod-ncurses,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_NCURSES},${PKGFD_MOD_NCURSES},${PKG_SECTION})) -$(eval $(call PKG_template,PYTHON3_MOD_LIBRESSL,python3-mod-libressl,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_LIBRESSL},${PKGFD_MOD_LIBRESSL},${PKG_SECTION})) $(eval $(call PKG_template,PYTHON3_MOD_OPENSSL,python3-mod-openssl,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_OPENSSL},${PKGFD_MOD_OPENSSL},${PKG_SECTION})) $(eval $(call PKG_template,PYTHON3_MOD_READLINE,python3-mod-readline,$(PKG_VERSION)-${PKG_RELEASE},${PKGFS_MOD_READLINE},${PKGFD_MOD_READLINE},${PKG_SECTION})) @@ -79,17 +75,17 @@ $(eval $(call PKG_mod_template,PYTHON3_MOD_BZ2,_bz2)) $(eval $(call PKG_mod_template,PYTHON3_MOD_SQLITE,_sqlite)) $(eval $(call PKG_mod_template,PYTHON3_MOD_GDBM,_gdbm)) $(eval $(call PKG_mod_template,PYTHON3_MOD_NCURSES,_curses)) -$(eval $(call PKG_mod_template,PYTHON3_MOD_LIBRESSL,_ssl)) $(eval $(call PKG_mod_template,PYTHON3_MOD_OPENSSL,_ssl)) $(eval $(call PKG_mod_template,PYTHON3_MOD_READLINE,readline)) MAKE_ENV+= HOSTPGEN=$(STAGING_HOST_DIR)/usr/bin/pgen3 FAKE_FLAGS+= ENSUREPIP=no CONFIGURE_ARGS:= --with-system-expat \ - --disable-ipv6 \ - --with-build-python + --disable-test-modules \ + --with-build-python=$(STAGING_HOST_DIR)/usr/bin/python3 CONFIGURE_ENV+= ac_cv_have_long_long_format=yes \ + ac_cv_buggy_getaddrinfo=no \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=no \ ac_cv_header_libintl_h=no @@ -102,15 +98,15 @@ endif 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.11 - ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/include/python3.11 + ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/lib/python3.12 + ${INSTALL_DIR} ${IDIR_PYTHON3}/usr/include/python3.12 ${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.11/* ${IDIR_PYTHON3}/usr/lib/python3.11 - ${CP} ${WRKINST}/usr/include/python3.11/pyconfig.h \ - ${IDIR_PYTHON3}/usr/include/python3.11 + ${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 @-for i in zlib _bz2 _curses _ssl _gdbm _sqlite pyexpat readline; do \ - rm ${IDIR_PYTHON3}/usr/lib/python3.11/lib-dynload/$${i}*so; \ + rm ${IDIR_PYTHON3}/usr/lib/python3.12/lib-dynload/$${i}*so; \ done include ${ADK_TOPDIR}/mk/host-bottom.mk |