lang/python315 MidnightBSD
Interpreted object-oriented programming language
- System
- MidnightBSD
- Repository
- mports
- Port added
- Last update
- Commit
87a1c38d55- 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
The newest version among them is 3.15.0.r2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | lang/python315 | no data | - | - | 2026-10-24 | |
| FreeBSD | lang/python315 | 3.15.0 | 2 known | - | [email protected] | 2026-10-10 |
| HardenedBSD | lang/python315 | 3.15.0.r2 newest | no data | - | [email protected] | - |
| GhostBSD | lang/python315 | 3.15.0.r2 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install python${PYTHON_VER:S/.//g}
From mports:
cd /usr/mports/lang/python315 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= python${PYTHON_VER:S/.//g}>0:lang/python315
LIB_DEPENDS= libpython.so:lang/python315
Dependencies
As this port's Makefile names them.
Library 2
libffi.so: devel/libffilibzstd.so: archivers/zstd
No port depends on this one.
Configuration
Options name: lang_python
| Option | Default | Description |
|---|---|---|
| DEBUG | off | |
| FNV | off | Modified Fowler-Noll-Vo Algorithm |
| IPV6 | off | |
| LIBMPDEC | on | Use libmpdec from ports instead of bundled version |
| LTO | on | |
| NLS | off | Enable gettext support for the locale module |
| PYMALLOC | on | Enable specialized mallocs |
| SIPHASH | off | SipHash24 Algorithm |
- USES
- compiler:c11 cpe gmake ncurses pathfix pkgconfig readline shebangfix ssl tar:xz
- Service scripts
- none
Files
Manual pages 1
- python(1)
pkg-plist 9183
- lib/python%%XYDOT%%/lib-dynload/_hashlib.cpython-.so
- 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/longintrepr.h
- include/python%%ABI%%/cpython/longobject.h
- include/python%%ABI%%/cpython/marshal.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/pylock.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/sentinelobject.h
- include/python%%ABI%%/cpython/setobject.h
- include/python%%ABI%%/cpython/sliceobject.h
- include/python%%ABI%%/cpython/structseq.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
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python/Python-3.15.1.tar.xz | 3.5789408e+07 | 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b |
Master sites 1
- PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
87a1c38d55 |
Lucas Holt | lang/python315: drop no-op multiarch REINPLACE (#1997) `files/patch-configure` already replaces `MULTIARCH=$($CC
--print-multiarch ...)` with `MULTIARCH=`, so the `post-patch` REINPLACE
matched nothing and fake-qa warned about it. This removes the REINPLACE
line and its comment.
There is no PORTREVISION bump, because the patched `configure` is
identical and the built package is unchanged.
Tested: `bmake patch` completes; `configure` has `MULTIARCH=` and no
`--print-multiarch` call remains.
Refs #1973
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Enhancements:
- Remove the redundant Python 3.15 multiarch configure rewrite from the
post-patch phase.
Signed-off-by: Lucas Holt <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> |
|
533749ca1f |
Lucas Holt | lang/python315: new port (#1966) ## Summary
New port `lang/python315` for Python 3.15.1, released 2026-10-21. The
distfile SHA256 matches the python.org release API. The port is modeled
on `lang/python314` and FreeBSD's `lang/python315`. `PYTHON_DEFAULT`
stays at 3.12.
Changes compared with `lang/python314`:
- **`USES+=gmake`**: 3.15's `Makefile.pre.in` uses GNU make `$(if ...)`
for `PY_CORE_EXE_LDFLAGS`. Under bmake that expands to nothing. FreeBSD
added gmake to python315 too.
- **LIBMPDEC option now uses `CONFIGURE_WITH`**: 3.15 removed the
implicit fallback to the bundled libmpdec, so with the option OFF the
port has to pass `--without-system-libmpdec` explicitly. The default
(ON) is unchanged.
- **`--with-missing-stdlib-config`** (new in 3.15):
`files/missing-stdlib.json.in` replaces the generic "module not found"
… |