aboutsummaryrefslogtreecommitdiff
path: root/lang/python314/Makefile
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2025-11-01 20:02:17 +0000
committerMatthias Andree <mandree@FreeBSD.org>2025-11-01 20:11:56 +0000
commit60648732604548051b170d9e599e05b870f9d008 (patch)
tree64da5d34241ff31caab5b0e9d1b1130e991162c3 /lang/python314/Makefile
parent962f4aa7d8cdfe5ac7244cc806f4d451a0414da0 (diff)
Diffstat (limited to 'lang/python314/Makefile')
-rw-r--r--lang/python314/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/lang/python314/Makefile b/lang/python314/Makefile
index 45097519d7bc..41fa3216fe18 100644
--- a/lang/python314/Makefile
+++ b/lang/python314/Makefile
@@ -6,16 +6,17 @@ PKGNAMESUFFIX= ${PYTHON_SUFFIX}
DISTNAME= Python-${DISTVERSION}
DIST_SUBDIR= python
-MAINTAINER= python@FreeBSD.org
+MAINTAINER= mandree@FreeBSD.org
COMMENT= Interpreted object-oriented programming language
WWW= https://www.python.org/
LICENSE= PSFL
-LIB_DEPENDS= libffi.so:devel/libffi
+LIB_DEPENDS= libffi.so:devel/libffi \
+ libzstd.so:archivers/zstd
USES= compiler:c11 cpe ncurses pathfix pkgconfig readline \
- shebangfix ssl tar:xz
+ shebangfix sqlite ssl tar:xz
PATHFIX_MAKEFILEIN= Makefile.pre.in
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -30,15 +31,16 @@ PYTHON_VER= ${PYTHON_DISTVERSION:R}
PYTHON_VERSION= python${PYTHON_VER}
PYTHON_SUFFIX= ${PYTHON_VER:S/.//g}
-DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm
-CONFIGURE_ARGS+= --enable-shared --without-ensurepip \
- --with-system-ffi
+DISABLED_EXTENSIONS= _tkinter _gdbm
+CONFIGURE_ARGS+= --enable-shared --without-ensurepip
CONFIGURE_ENV+= OPT="" # 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}
+# TEST_TARGET= buildbottest # that's the --slow-ci with more resources/longer timeouts
+TEST_TARGET= test # that's the --fast-ci with tighter timeouts and using less resources
+# TEST_ARGS: test_gdb requires debug symbols for the test_gdb.test_pretty_print test, so skip it unless defined(WITH_DEBUG)
+TEST_ARGS= TESTOPTS="-j${MAKE_JOBS_NUMBER} ${WITH_DEBUG:U-x test_gdb}"
MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library