BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.8.5.202407062.8.5.202407062.8.3_12.8.5.202407062.8.5.20240706
FreeBSD:14:quarterly2.8.5.202407062.8.5.20240706n/a2.8.5.202407062.8.5.20240706
FreeBSD:15:latest2.8.5.202407062.8.5.20240706n/a2.8.5.202407062.8.5.20240706
FreeBSD:15:quarterly2.8.5.202407062.8.5.20240706n/an/an/a
FreeBSD:16:latest2.8.5.202407062.8.5.20240706n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DEBUGoffBuild with debugging support
IPV6offIPv6 protocol support
LIBFFIonUse libffi from ports instead of bundled version
LTOoffApply Link-Time Optimizations (implies OPTIMIZATIONS)
NLSoffEnable gettext support for the locale module
OPTIMIZATIONSoffEnable code optimizations (notably PGO)
PYMALLOConEnable specialized mallocs
THREADSonThreading support
UCS2offEnable UCS2 Unicode Strings
UCS4onEnable UCS4 Unicode Strings
USES
pathfix shebangfix autoreconf ncurses pkgconfig readline ssl tar:xz compiler
Service scripts
none

Message after installing

Note that some standard Python modules are not included as they require
additional dependencies. These are:
- bsddb
- gdbm
- sqlite3
- tkinter
If needed, they should be provided in other ports. Porters welcome!

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Uses Python 2.7 codebase.

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
FileSizeSHA256
naftaliharris-tauthon-v2.8.5-20240706-b787044f7c9a3728604471119e6d6220d09d6d94_GH0.tar.gz1.8481726e+07e3ae96666d452db5e5ed0d30c514a3e001293b90cb49920ff75cab72416b5dae

Commit history 0

No commits in the history this site was built from.