Deprecated: Uses Python 2.7 codebase
lang/tauthon 2.8.5.20240706 FreeBSD
Backwards-compatible fork of CPython 2.7 with Python 3.x features
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- PSFL
- Categories
- lang, python
- Package size
- 12566.0 KiB, 75346.3 KiB installed
Description
Tauthon is a backward-compatible fork of Python's 2.7.18 interpreter with new syntax, builtins, and libraries backported from Python 3.x.
Python code and C-extensions targeting Python 2.7 or below are expected to run unmodified on Tauthon and produce the same output. But with Tauthon, that code can now use some of the new features from Python 3.x.
This is not an official Python release. Because of its new features, while preserving 2.7 compatibility, Tauthon reports 2.8 as its major/minor versions.
Non-exhaustive list of new features:
- Function Annotations
- Keyword-Only Arguments
- "async" and "await" Syntax
- Argument-less "super"
- New Metaclass Syntax
- "nonlocal"
- "yield from" Syntax
- "concurrent.futures" Module
- UTF-8 as the default source encoding
Install
Binary package:
pkg install tauthon
From the ports tree:
cd /usr/ports/lang/tauthon/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tauthon>0:lang/tauthon
LIB_DEPENDS= libtauthon.so:lang/tauthon
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.8.5.20240706 | 2.8.5.20240706 | 2.8.3_1 | 2.8.5.20240706 | 2.8.5.20240706 |
| FreeBSD:14:quarterly | 2.8.5.20240706 | 2.8.5.20240706 | n/a | 2.8.5.20240706 | 2.8.5.20240706 |
| FreeBSD:15:latest | 2.8.5.20240706 | 2.8.5.20240706 | n/a | 2.8.5.20240706 | 2.8.5.20240706 |
| FreeBSD:15:quarterly | 2.8.5.20240706 | 2.8.5.20240706 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.8.5.20240706 | 2.8.5.20240706 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 4
No port depends on this one.
Configuration
Options name: lang_tauthon
| Option | Default | Description |
|---|---|---|
| DEBUG | off | Build with debugging support |
| IPV6 | off | IPv6 protocol support |
| LIBFFI | on | Use libffi from ports instead of bundled version |
| LTO | off | Apply Link-Time Optimizations (implies OPTIMIZATIONS) |
| NLS | off | Enable gettext support for the locale module |
| OPTIMIZATIONS | off | Enable code optimizations (notably PGO) |
| PYMALLOC | on | Enable specialized mallocs |
| THREADS | on | Threading support |
| UCS2 | off | Enable UCS2 Unicode Strings |
| UCS4 | on | Enable UCS4 Unicode Strings |
- USES
- pathfix shebangfix autoreconf ncurses pkgconfig readline ssl tar:xz compiler
- Service scripts
- none
Message after installing
Files
Manual pages 1
- tauthon(1)
pkg-plist 4718
- bin/2to3-
- bin/idle
- bin/pydoc
- bin/python-config
- bin/tauthon
- bin/tauthon
- include/tauthon%%VERSION_NOMICRO%%/Python-ast.h
- include/tauthon%%VERSION_NOMICRO%%/Python.h
- include/tauthon%%VERSION_NOMICRO%%/abstract.h
- include/tauthon%%VERSION_NOMICRO%%/asdl.h
- include/tauthon%%VERSION_NOMICRO%%/ast.h
- include/tauthon%%VERSION_NOMICRO%%/bitset.h
- include/tauthon%%VERSION_NOMICRO%%/boolobject.h
- include/tauthon%%VERSION_NOMICRO%%/bufferobject.h
- include/tauthon%%VERSION_NOMICRO%%/bytearrayobject.h
- include/tauthon%%VERSION_NOMICRO%%/bytes_methods.h
- include/tauthon%%VERSION_NOMICRO%%/bytesobject.h
- include/tauthon%%VERSION_NOMICRO%%/cStringIO.h
- include/tauthon%%VERSION_NOMICRO%%/cellobject.h
- include/tauthon%%VERSION_NOMICRO%%/ceval.h
- include/tauthon%%VERSION_NOMICRO%%/classobject.h
- include/tauthon%%VERSION_NOMICRO%%/cobject.h
- include/tauthon%%VERSION_NOMICRO%%/code.h
- include/tauthon%%VERSION_NOMICRO%%/codecs.h
- include/tauthon%%VERSION_NOMICRO%%/compile.h
- include/tauthon%%VERSION_NOMICRO%%/complexobject.h
- include/tauthon%%VERSION_NOMICRO%%/datetime.h
- include/tauthon%%VERSION_NOMICRO%%/descrobject.h
- include/tauthon%%VERSION_NOMICRO%%/dictobject.h
- include/tauthon%%VERSION_NOMICRO%%/dtoa.h
- include/tauthon%%VERSION_NOMICRO%%/enumobject.h
- include/tauthon%%VERSION_NOMICRO%%/errcode.h
- include/tauthon%%VERSION_NOMICRO%%/eval.h
- include/tauthon%%VERSION_NOMICRO%%/fileobject.h
- include/tauthon%%VERSION_NOMICRO%%/floatobject.h
- include/tauthon%%VERSION_NOMICRO%%/frameobject.h
- include/tauthon%%VERSION_NOMICRO%%/funcobject.h
- include/tauthon%%VERSION_NOMICRO%%/genobject.h
- include/tauthon%%VERSION_NOMICRO%%/graminit.h
- include/tauthon%%VERSION_NOMICRO%%/grammar.h
- include/tauthon%%VERSION_NOMICRO%%/import.h
- include/tauthon%%VERSION_NOMICRO%%/intobject.h
- include/tauthon%%VERSION_NOMICRO%%/intrcheck.h
- include/tauthon%%VERSION_NOMICRO%%/iterobject.h
- include/tauthon%%VERSION_NOMICRO%%/listobject.h
- include/tauthon%%VERSION_NOMICRO%%/longintrepr.h
- include/tauthon%%VERSION_NOMICRO%%/longobject.h
- include/tauthon%%VERSION_NOMICRO%%/marshal.h
- include/tauthon%%VERSION_NOMICRO%%/memoryobject.h
- include/tauthon%%VERSION_NOMICRO%%/metagrammar.h
- include/tauthon%%VERSION_NOMICRO%%/methodobject.h
- include/tauthon%%VERSION_NOMICRO%%/modsupport.h
- include/tauthon%%VERSION_NOMICRO%%/moduleobject.h
- include/tauthon%%VERSION_NOMICRO%%/node.h
- include/tauthon%%VERSION_NOMICRO%%/object.h
- include/tauthon%%VERSION_NOMICRO%%/objimpl.h
- include/tauthon%%VERSION_NOMICRO%%/opcode.h
- include/tauthon%%VERSION_NOMICRO%%/osdefs.h
- include/tauthon%%VERSION_NOMICRO%%/parsetok.h
- include/tauthon%%VERSION_NOMICRO%%/patchlevel.h
- include/tauthon%%VERSION_NOMICRO%%/pgen.h
- include/tauthon%%VERSION_NOMICRO%%/pgenheaders.h
- include/tauthon%%VERSION_NOMICRO%%/py_curses.h
- include/tauthon%%VERSION_NOMICRO%%/pyarena.h
- include/tauthon%%VERSION_NOMICRO%%/pycapsule.h
- include/tauthon%%VERSION_NOMICRO%%/pyconfig.h
- include/tauthon%%VERSION_NOMICRO%%/pyctype.h
- include/tauthon%%VERSION_NOMICRO%%/pydebug.h
- include/tauthon%%VERSION_NOMICRO%%/pyerrors.h
- include/tauthon%%VERSION_NOMICRO%%/pyexpat.h
- include/tauthon%%VERSION_NOMICRO%%/pyfpe.h
- include/tauthon%%VERSION_NOMICRO%%/pygetopt.h
- include/tauthon%%VERSION_NOMICRO%%/pymacconfig.h
- include/tauthon%%VERSION_NOMICRO%%/pymacro.h
- include/tauthon%%VERSION_NOMICRO%%/pymactoolbox.h
- include/tauthon%%VERSION_NOMICRO%%/pymath.h
- include/tauthon%%VERSION_NOMICRO%%/pymem.h
- include/tauthon%%VERSION_NOMICRO%%/pyport.h
- include/tauthon%%VERSION_NOMICRO%%/pystate.h
- include/tauthon%%VERSION_NOMICRO%%/pystrcmp.h
- include/tauthon%%VERSION_NOMICRO%%/pystrtod.h
- include/tauthon%%VERSION_NOMICRO%%/pythonrun.h
- include/tauthon%%VERSION_NOMICRO%%/pythread.h
- include/tauthon%%VERSION_NOMICRO%%/pytime.h
- include/tauthon%%VERSION_NOMICRO%%/rangeobject.h
- include/tauthon%%VERSION_NOMICRO%%/setobject.h
- include/tauthon%%VERSION_NOMICRO%%/sliceobject.h
- include/tauthon%%VERSION_NOMICRO%%/stringobject.h
- include/tauthon%%VERSION_NOMICRO%%/structmember.h
- include/tauthon%%VERSION_NOMICRO%%/structseq.h
- include/tauthon%%VERSION_NOMICRO%%/symtable.h
- include/tauthon%%VERSION_NOMICRO%%/sysmodule.h
- include/tauthon%%VERSION_NOMICRO%%/timefuncs.h
- include/tauthon%%VERSION_NOMICRO%%/token.h
- include/tauthon%%VERSION_NOMICRO%%/traceback.h
- include/tauthon%%VERSION_NOMICRO%%/tupleobject.h
- include/tauthon%%VERSION_NOMICRO%%/ucnhash.h
- include/tauthon%%VERSION_NOMICRO%%/unicodeobject.h
- include/tauthon%%VERSION_NOMICRO%%/warnings.h
- include/tauthon%%VERSION_NOMICRO%%/weakrefobject.h
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| naftaliharris-tauthon-v2.8.5-20240706-b787044f7c9a3728604471119e6d6220d09d6d94_GH0.tar.gz | 1.8481726e+07 | e3ae96666d452db5e5ed0d30c514a3e001293b90cb49920ff75cab72416b5dae |
Commit history 0
No commits in the history this site was built from.