BSD Ports

lang/python314 MidnightBSD

Interpreted object-oriented programming language

System
MidnightBSD
Repository
mports
Last update
Commit
588826a597
License
python
Categories

Description

Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme.

In the other systems

SystemPortVersion
MidnightBSDlang/python314
FreeBSDlang/python3143.14.8
NetBSDlang/python3143.14.7

Install

Binary package:

mport install python${PYTHON_VER:S/.//g}

From mports:

cd /usr/mports/lang/python314 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	python${PYTHON_VER:S/.//g}>0:lang/python314
LIB_DEPENDS=	libpython.so:lang/python314

Dependencies

As this port's Makefile names them.

Library 2

No port depends on this one.

Configuration

Options name: lang_python

OptionDefaultDescription
DEBUGoff
FNVoffModified Fowler-Noll-Vo Algorithm
IPV6off
LIBMPDEConUse libmpdec from ports instead of bundled version
LTOon
NLSoffEnable gettext support for the locale module
PYMALLOConEnable specialized mallocs
SIPHASHoffSipHash24 Algorithm
USES
compiler:c11 cpe ncurses pathfix pkgconfig readline shebangfix ssl tar:xz
Service scripts
none

Files

Manual pages 1
  • python(1)
pkg-plist 8398
  • bin/idle
  • bin/pydoc
  • bin/python
  • bin/python-config
  • include/python%%ABI%%/Python.h
  • include/python%%ABI%%/abstract.h
  • include/python%%ABI%%/audit.h
  • include/python%%ABI%%/bltinmodule.h
  • include/python%%ABI%%/boolobject.h
  • include/python%%ABI%%/bytearrayobject.h
  • include/python%%ABI%%/bytesobject.h
  • include/python%%ABI%%/ceval.h
  • include/python%%ABI%%/codecs.h
  • include/python%%ABI%%/compile.h
  • include/python%%ABI%%/complexobject.h
  • include/python%%ABI%%/cpython/abstract.h
  • include/python%%ABI%%/cpython/audit.h
  • include/python%%ABI%%/cpython/bytearrayobject.h
  • include/python%%ABI%%/cpython/bytesobject.h
  • include/python%%ABI%%/cpython/cellobject.h
  • include/python%%ABI%%/cpython/ceval.h
  • include/python%%ABI%%/cpython/classobject.h
  • include/python%%ABI%%/cpython/code.h
  • include/python%%ABI%%/cpython/compile.h
  • include/python%%ABI%%/cpython/complexobject.h
  • include/python%%ABI%%/cpython/context.h
  • include/python%%ABI%%/cpython/critical_section.h
  • include/python%%ABI%%/cpython/descrobject.h
  • include/python%%ABI%%/cpython/dictobject.h
  • include/python%%ABI%%/cpython/fileobject.h
  • include/python%%ABI%%/cpython/fileutils.h
  • include/python%%ABI%%/cpython/floatobject.h
  • include/python%%ABI%%/cpython/frameobject.h
  • include/python%%ABI%%/cpython/funcobject.h
  • include/python%%ABI%%/cpython/genobject.h
  • include/python%%ABI%%/cpython/import.h
  • include/python%%ABI%%/cpython/initconfig.h
  • include/python%%ABI%%/cpython/listobject.h
  • include/python%%ABI%%/cpython/lock.h
  • include/python%%ABI%%/cpython/longintrepr.h
  • include/python%%ABI%%/cpython/longobject.h
  • include/python%%ABI%%/cpython/memoryobject.h
  • include/python%%ABI%%/cpython/methodobject.h
  • include/python%%ABI%%/cpython/modsupport.h
  • include/python%%ABI%%/cpython/monitoring.h
  • include/python%%ABI%%/cpython/object.h
  • include/python%%ABI%%/cpython/objimpl.h
  • include/python%%ABI%%/cpython/odictobject.h
  • include/python%%ABI%%/cpython/picklebufobject.h
  • include/python%%ABI%%/cpython/pthread_stubs.h
  • include/python%%ABI%%/cpython/pyatomic.h
  • include/python%%ABI%%/cpython/pyatomic_gcc.h
  • include/python%%ABI%%/cpython/pyatomic_msc.h
  • include/python%%ABI%%/cpython/pyatomic_std.h
  • include/python%%ABI%%/cpython/pyctype.h
  • include/python%%ABI%%/cpython/pydebug.h
  • include/python%%ABI%%/cpython/pyerrors.h
  • include/python%%ABI%%/cpython/pyfpe.h
  • include/python%%ABI%%/cpython/pyframe.h
  • include/python%%ABI%%/cpython/pyhash.h
  • include/python%%ABI%%/cpython/pylifecycle.h
  • include/python%%ABI%%/cpython/pymem.h
  • include/python%%ABI%%/cpython/pystate.h
  • include/python%%ABI%%/cpython/pystats.h
  • include/python%%ABI%%/cpython/pythonrun.h
  • include/python%%ABI%%/cpython/pythread.h
  • include/python%%ABI%%/cpython/pytime.h
  • include/python%%ABI%%/cpython/setobject.h
  • include/python%%ABI%%/cpython/traceback.h
  • include/python%%ABI%%/cpython/tracemalloc.h
  • include/python%%ABI%%/cpython/tupleobject.h
  • include/python%%ABI%%/cpython/unicodeobject.h
  • include/python%%ABI%%/cpython/warnings.h
  • include/python%%ABI%%/cpython/weakrefobject.h
  • include/python%%ABI%%/critical_section.h
  • include/python%%ABI%%/datetime.h
  • include/python%%ABI%%/descrobject.h
  • include/python%%ABI%%/dictobject.h
  • include/python%%ABI%%/dynamic_annotations.h
  • include/python%%ABI%%/enumobject.h
  • include/python%%ABI%%/errcode.h
  • include/python%%ABI%%/exports.h
  • include/python%%ABI%%/fileobject.h
  • include/python%%ABI%%/fileutils.h
  • include/python%%ABI%%/floatobject.h
  • include/python%%ABI%%/frameobject.h
  • include/python%%ABI%%/genericaliasobject.h
  • include/python%%ABI%%/import.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc/atomic.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc/internal.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc/prim.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc/track.h
  • include/python%%ABI%%/internal/mimalloc/mimalloc/types.h
  • include/python%%ABI%%/internal/pycore_abstract.h
  • include/python%%ABI%%/internal/pycore_asdl.h
  • include/python%%ABI%%/internal/pycore_ast.h
  • include/python%%ABI%%/internal/pycore_ast_state.h
  • include/python%%ABI%%/internal/pycore_atexit.h
  • include/python%%ABI%%/internal/pycore_audit.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
python/Python-3.14.7.tar.xz2.4053924e+073b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81
Master sites 1
  • PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}

Commit history 2

DateCommitCreditsLog message
588826a597 Lucas Holt lang/python314: fix CVE-2026-12345 (tempfile.TemporaryDirectory race) (#1653)
70f3fe1299 Lucas Holt lang/python314: update to 3.14.7 (#1265)
Update `lang/python314` from 3.14.3 to 3.14.7. Checksum and size match FreeBSD's `lang/python314` distinfo for the same tarball: ``` SHA256 (python/Python-3.14.7.tar.xz) = 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 SIZE (python/Python-3.14.7.tar.xz) = 24053924 ``` ## Dropped `files/patch-Lib_test_test__posix.py` The patch no longer applies, because upstream fixed this themselves. 3.14.7 now handles `EOPNOTSUPP` from `posix_fallocate()` unconditionally: ```python elif inst.errno == errno.EOPNOTSUPP: # ZFS on FreeBSD, FFS on NetBSD, etc. raise unittest.SkipTest( "the file system does not support posix_fallocate()") ``` That is what the patch was adding for FreeBSD. FreeBSD dropped the patch for the same …