diff --git a/lang/python-doc-html/distinfo b/lang/python-doc-html/distinfo index e9052a9ffbc1..e8e4ac8c9a0b 100644 --- a/lang/python-doc-html/distinfo +++ b/lang/python-doc-html/distinfo @@ -1,31 +1,31 @@ -TIMESTAMP = 1749087559 +TIMESTAMP = 1749685346 SHA256 (python/python-2.7.18-docs-html.tar.bz2) = 20445e9a571cacdd350f702f0980e4dc559b6ff81f1d69affe9b0a862fef2f0e SIZE (python/python-2.7.18-docs-html.tar.bz2) = 4634932 SHA256 (python/python-2.7.18-docs-pdf-a4.tar.bz2) = dbac6953e48aac341351067ba0938393e415b10bf48ac8cbbc7247deaf13ab67 SIZE (python/python-2.7.18-docs-pdf-a4.tar.bz2) = 11486967 SHA256 (python/python-2.7.18-docs-text.tar.bz2) = c86f5b5a2bd8f90158523efd350198d6cde7353965ef5a6ca5e54e5174af47f2 SIZE (python/python-2.7.18-docs-text.tar.bz2) = 1631043 SHA256 (python/python-3.10.18-docs-html.tar.bz2) = acf6a9cc3afd5a748b2142b9e1e86e974dd71ae0abdf47e79f7b809b8d30c823 SIZE (python/python-3.10.18-docs-html.tar.bz2) = 7462926 SHA256 (python/python-3.10.18-docs-pdf-a4.tar.bz2) = 7865a143f4a173ac30984ef3396ec04a34f7c58b5c52d52872bc5acc59ab70e5 SIZE (python/python-3.10.18-docs-pdf-a4.tar.bz2) = 16768269 SHA256 (python/python-3.10.18-docs-text.tar.bz2) = 5d9d5e8f0d20b02772c50e8f70ba6f236c1ce4f1d0b2bc291243475e677ec24b SIZE (python/python-3.10.18-docs-text.tar.bz2) = 2678237 -SHA256 (python/python-3.11.12-docs-html.tar.bz2) = 43eb8c160873d3f0d4966962862273496f62409ab02b3a3a3f563f930066325b -SIZE (python/python-3.11.12-docs-html.tar.bz2) = 7994774 -SHA256 (python/python-3.11.12-docs-pdf-a4.tar.bz2) = 551c8147a92747bebdff497549f4d95703149460b213760349794e2b5a6aabfe -SIZE (python/python-3.11.12-docs-pdf-a4.tar.bz2) = 17602805 -SHA256 (python/python-3.11.12-docs-text.tar.bz2) = 489685da36206b2c36a47623c83429eab9acd3ffdf1ba9c2350311c6c23df924 -SIZE (python/python-3.11.12-docs-text.tar.bz2) = 2841995 +SHA256 (python/python-3.11.13-docs-html.tar.bz2) = 954bfe769459645fb45802c920bcf59f8881c74c4f94d30922d44edd7a08c542 +SIZE (python/python-3.11.13-docs-html.tar.bz2) = 8003127 +SHA256 (python/python-3.11.13-docs-pdf-a4.tar.bz2) = 46a92e8742de3267e69ea380678e4e6395fdc002fafb7842db25d672a6236e9b +SIZE (python/python-3.11.13-docs-pdf-a4.tar.bz2) = 17604236 +SHA256 (python/python-3.11.13-docs-text.tar.bz2) = b93b9cc1439fea23df90e0ded2c6faadb9f0ec7c773738371e26c1b7e6209300 +SIZE (python/python-3.11.13-docs-text.tar.bz2) = 2836348 SHA256 (python/python-3.12.11-docs-html.tar.bz2) = 20785e40d6a3d161c125aa83332290805b8910b68571c93571188a5164339774 SIZE (python/python-3.12.11-docs-html.tar.bz2) = 8438004 SHA256 (python/python-3.12.11-docs-pdf-a4.tar.bz2) = adc28efc7f4425cfe5ea18306c9e3a693eaa1b08da17c286bd721094d5eeb27d SIZE (python/python-3.12.11-docs-pdf-a4.tar.bz2) = 18705372 SHA256 (python/python-3.12.11-docs-text.tar.bz2) = f682495b444bd09b00ca6e18607db3f87787691cf01492bb8b2d5d583a387967 SIZE (python/python-3.12.11-docs-text.tar.bz2) = 2912019 SHA256 (python/python-3.9.23-docs-html.tar.bz2) = 7e299c24b164d87600ded5d67fb6bbc793881fa6eac938950516169abaa403e1 SIZE (python/python-3.9.23-docs-html.tar.bz2) = 7012126 SHA256 (python/python-3.9.23-docs-pdf-a4.tar.bz2) = 27f38e33382ad58a2e28ad552e8c38410bd162556515b234864f789b763ec2f0 SIZE (python/python-3.9.23-docs-pdf-a4.tar.bz2) = 15766111 SHA256 (python/python-3.9.23-docs-text.tar.bz2) = 05c50b0e7c65a4e727cb4d7cae152730e690935cf8420d4320cc49c924372d3f SIZE (python/python-3.9.23-docs-text.tar.bz2) = 2555981 diff --git a/lang/python311/Makefile b/lang/python311/Makefile index d5f997e72b3d..ab53f485c3be 100644 --- a/lang/python311/Makefile +++ b/lang/python311/Makefile @@ -1,165 +1,161 @@ PORTNAME= python DISTVERSION= ${PYTHON_DISTVERSION} -PORTREVISION= 1 CATEGORIES= lang python MASTER_SITES= PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//} PKGNAMESUFFIX= ${PYTHON_SUFFIX} DISTNAME= Python-${DISTVERSION} DIST_SUBDIR= python -PATCH_SITES= https://github.com/python/cpython/commit/ -PATCHFILES= 0c33e5baedf18ebcb04bc41dff7cfc614d5ea5fe.patch:-p1 - MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language WWW= https://www.python.org/ LICENSE= PSFL LIB_DEPENDS= libffi.so:devel/libffi USES= compiler:c11 cpe ncurses pathfix pkgconfig \ python:${PYTHON_DISTVERSION:R},env readline shebangfix ssl tar:xz PATHFIX_MAKEFILEIN= Makefile.pre.in USE_LDCONFIG= yes GNU_CONFIGURE= yes python_CMD= ${PREFIX}/bin/python${PYTHON_DISTVERSION:R} SHEBANG_FILES= Lib/*.py Lib/*/*.py Lib/*/*/*.py Lib/*/*/*/*.py SHEBANG_FILES+= Lib/test/ziptestdata/exe_with_z64 \ Lib/test/ziptestdata/exe_with_zip \ Lib/test/ziptestdata/header.sh DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+= --enable-shared --without-ensurepip \ --with-system-ffi CONFIGURE_ENV+= OPT="" ac_cv_prog_cc_g=false # Null out OPT to respect user CFLAGS and remove optimizations INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files TEST_TARGET= buildbottest TEST_ARGS= TESTOPTS=-j${MAKE_JOBS_NUMBER} MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library SUB_FILES= pkg-message SUB_LIST= PYTHON_SUFFIX=${PYTHON_SUFFIX} PLIST_SUB= ABI=${ABIFLAGS} \ DISTVERSION=${DISTVERSION} \ OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC OPTIONS_DEFAULT= LIBMPDEC LTO PYMALLOC OPTIONS_EXCLUDE_riscv64= LTO OPTIONS_EXCLUDE_powerpc64le= LTO OPTIONS_RADIO= HASH OPTIONS_RADIO_HASH= FNV SIPHASH OPTIONS_SUB= yes LIBMPDEC_DESC= Use libmpdec from ports instead of bundled version NLS_DESC= Enable gettext support for the locale module PYMALLOC_DESC= Enable specialized mallocs HASH_DESC= Hash Algorithm (PEP-456) FNV_DESC= Modified Fowler-Noll-Vo Algorithm SIPHASH_DESC= SipHash24 Algorithm FNV_CONFIGURE_ON= --with-hash-algorithm=fnv SIPHASH_CONFIGURE_ON= --with-hash-algorithm=siphash24 DEBUG_CONFIGURE_WITH= pydebug IPV6_CONFIGURE_ENABLE= ipv6 LIBMPDEC_CONFIGURE_ON= --with-system-libmpdec LIBMPDEC_LIB_DEPENDS= libmpdec.so:math/mpdecimal LTO_CONFIGURE_ON= --with-lto # Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat # to break in Python 2.7, or preprocessor complaints in Python >= 3.3 # Upstream Issue: https://bugs.python.org/issue6299 NLS_USES= gettext NLS_CPPFLAGS= -I${LOCALBASE}/include NLS_LIBS= -L${LOCALBASE}/lib -lintl NLS_CONFIGURE_ENV_OFF= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no PYMALLOC_CONFIGURE_WITH= pymalloc .include "${.CURDIR}/Makefile.version" .include .if ${PORT_OPTIONS:MDEBUG} ABIFLAGS:= d${ABIFLAGS} .endif .if !empty(ABIFLAGS) PLIST_FILES+= bin/python${PYTHON_VER}${ABIFLAGS} \ bin/python${PYTHON_VER}${ABIFLAGS}-config \ libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}.pc \ libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}-embed.pc .endif # See https://bugs.freebsd.org/115940 and https://bugs.freebsd.org/193650 .if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) PLIST_SUB+= NO_NIS="@comment " DISABLED_EXTENSIONS+= nis .else PLIST_SUB+= NO_NIS="" .endif .if ${SSL_DEFAULT:Mlibressl*} EXTRA_PATCHES+= ${PATCHDIR}/libressl CONFIGURE_ENV+= ac_cv_working_openssl_hashlib=yes .endif .include # llvm17 with -flto=thin makes Programs/_freeze_module crash on armv7; workaround # cf. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276249 .if ${ARCH} == armv7 && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 170 && \ ${COMPILER_VERSION} < 180 CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N${LTO_CONFIGURE_ON}} .endif post-patch: # disable the detection of includes and library from e2fsprogs-libuuid, # which introduces hidden dependency and breaks build @${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure # disable detection of multiarch as it breaks with clang >= 13, which adds a # major.minor version number in -print-multiarch output, confusing Python @${REINPLACE_CMD} -e 's|^\( *MULTIARCH=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure # Apply DISABLED_EXTENSIONS @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local . for _module in ${DISABLED_EXTENSIONS} @${ECHO_CMD} ${_module} >> ${WRKSRC}/Modules/Setup.local . endfor post-install: .if ! ${PORT_OPTIONS:MDEBUG} ${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975 .endif ${LN} -sf libpython${PYTHON_VER}${ABIFLAGS}.so.1.0 ${STAGEDIR}${PREFIX}/lib/libpython${PYTHON_VER}${ABIFLAGS}.so.1 # This code block exists for the qemu-user enabled cross build environment. # When using this environment in poudriere, CC is not set to the default # of /usr/bin/cc and a cross-compile toolchain is used. We need to hand # edit this so that the run time configuration for python matches what the # FreeBSD base system provides. sbruno 02Aug2017 .if ${CC} == /nxb-bin/usr/bin/cc @${REINPLACE_CMD} -e 's=/nxb-bin==' \ ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py @cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \ ./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \ ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py @cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \ ./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \ ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py @${REINPLACE_CMD} -e 's=/nxb-bin==' \ ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}${ABIFLAGS}/Makefile .endif for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \ ${STRIP_CMD} $$i; done # Strip shared extensions ${INSTALL_DATA} ${WRKSRC}/Tools/gdb/libpython.py \ ${STAGEDIR}${PREFIX}/lib/libpython${PYTHON_VER}${ABIFLAGS}.so.1.0-gdb.py .include diff --git a/lang/python311/Makefile.version b/lang/python311/Makefile.version index 7e91f31153cc..9b38b86b4222 100644 --- a/lang/python311/Makefile.version +++ b/lang/python311/Makefile.version @@ -1,7 +1,7 @@ # Mk/Uses/python.mk includes this file, don't remove it! # Do not forget to # 1. Update python documentation (lang/python-doc-*) # Run "make -C lang/python-doc-html makesum" # 2. Remove PORTREVISION in Makefile -PYTHON_DISTVERSION= 3.11.12 +PYTHON_DISTVERSION= 3.11.13 diff --git a/lang/python311/distinfo b/lang/python311/distinfo index ad8e4eb4d944..2ad4cdb62efe 100644 --- a/lang/python311/distinfo +++ b/lang/python311/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1748493299 -SHA256 (python/Python-3.11.12.tar.xz) = 849da87af4df137710c1796e276a955f7a85c9f971081067c8f565d15c352a09 -SIZE (python/Python-3.11.12.tar.xz) = 20112232 +TIMESTAMP = 1749685283 +SHA256 (python/Python-3.11.13.tar.xz) = 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +SIZE (python/Python-3.11.13.tar.xz) = 20117496 SHA256 (python/0c33e5baedf18ebcb04bc41dff7cfc614d5ea5fe.patch) = 2b9857d46cb45cbf0db322a7149f940f8aae8265f66f8ff8f5cd88d2af4015c5 SIZE (python/0c33e5baedf18ebcb04bc41dff7cfc614d5ea5fe.patch) = 23930