dev-lang/python (gentoo)

Search

Notice: This package has been listed as an informative package. View the full list here.

Install

Install this package:

emerge -a dev-lang/python

If the package is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask dev-lang/python

Or alternatively:

emerge --autounmask-write -a dev-lang/python

Package Information

Description:
An interpreted, interactive, object-oriented programming language
Homepage:
https://www.python.org/ https://github.com/python/cpython/
License:
PSF-2

Versions

Version EAPI Keywords Slot
3.9.25 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.8.20_p7-r1 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.15.9999 8 $(ver_cut
3.15.0_alpha8-r1 8 $(ver_cut
3.15.0_alpha7 8 $(ver_cut
3.14.9999 8 $(ver_cut
3.14.4 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut
3.14.3 8 ~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.14.2 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.13.9999 8 $(ver_cut
3.13.13 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut
3.13.12 8 ~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.13.11 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.12.9999 8 $(ver_cut
3.12.13_p1 8 ~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.12.12 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.11.9999 8 $(ver_cut
3.11.15 8 ~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.11.14 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.10.9999 8 $(ver_cut
3.10.20 8 ~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
3.10.19 8 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
2.7.18_p16-r2 7 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 $(ver_cut
0.3.15.9999 8 $(ver_cut 2-3)t
0.3.15.0_alpha8-r1 8 $(ver_cut 2-3)t
0.3.15.0_alpha7 8 $(ver_cut 2-3)t
0.3.14.9999 8 $(ver_cut 2-3)t
0.3.14.4 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t
0.3.14.3 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t
0.3.14.2 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t
0.3.13.9999 8 $(ver_cut 2-3)t
0.3.13.13 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t
0.3.13.12 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t
0.3.13.11 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 $(ver_cut 2-3)t

Metadata

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>python@gentoo.org</email>
		<name>Python</name>
	</maintainer>
	<use>
		<flag name="bluetooth">
			Build Bluetooth protocol support in socket module
		</flag>
		<flag name="ensurepip">
			Install the ensurepip module that uses bundled wheels
			to bootstrap pip and setuptools (if disabled, it will
			be only possible to use venv `--without-pip`)
		</flag>
		<flag name="jit">
			Enable experimental Just-In-Time compilation support.
		</flag>
		<flag name="pgo">
			Optimize the build using Profile Guided Optimization (PGO)
			by running Python's test suite and collecting statistics
			based on its performance. This will take longer to build.
		</flag>
		<flag name="tail-call-interp">
			Enable the tail call interpreter. May lead to better
			performance but is still new and dependent on latest
			toolchain versions (Clang 19, GCC 15).
		</flag>
		<flag name="valgrind">
			Disable pymalloc when running under
			<pkg>dev-debug/valgrind</pkg> is detected (may incur minor
			performance penalty even when valgrind is not used)
		</flag>
		<flag name="wininst">
			Install Windows executables required to create an executable
			installer for MS Windows
		</flag>
	</use>
	<upstream>
		<changelog>https://docs.python.org/3/whatsnew/</changelog>
		<doc>https://docs.python.org</doc>
		<bugs-to>https://github.com/python/cpython/issues</bugs-to>
		<remote-id type="cpe">cpe:/a:python:python</remote-id>
		<remote-id type="github">python/cpython</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-lang/python | euse -E <flag> -p dev-lang/python | euse -D <flag> -p dev-lang/python

Flag Description 3.9.25 3.8.20_p7-r1 3.15.9999 3.15.0_alpha8-r1 3.15.0_alpha7 3.14.9999 3.14.4 3.14.3 3.14.2 3.13.9999 3.13.13 3.13.12 3.13.11 3.12.9999 3.12.13_p1 3.12.12 3.11.9999 3.11.15 3.11.14 3.10.9999 3.10.20 3.10.19 2.7.18_p16-r2 0.3.15.9999 0.3.15.0_alpha8-r1 0.3.15.0_alpha7 0.3.14.9999 0.3.14.4 0.3.14.3 0.3.14.2 0.3.13.9999 0.3.13.13 0.3.13.12 0.3.13.11
berkdb Add support for sys-libs/db (Berkeley DB)
bluetooth Build Bluetooth protocol support in socket module
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
ensurepip Install the ensurepip module that uses bundled wheels to bootstrap pip and setuptools (if disabled, it will be only possible to use venv `--without-pip`)
examples Install examples, usually source code
gdbm Add support for sys-libs/gdbm (GNU database libraries)
jit Enable experimental Just-In-Time compilation support.
libedit Use the libedit library (replacement for readline)
ncurses Add ncurses support (console display library)
pgo Optimize the build using Profile Guided Optimization (PGO) by running Python's test suite and collecting statistics based on its performance. This will take longer to build.
readline Enable support for libreadline, a GNU line-editing library that almost everyone wants
sqlite Add support for sqlite - embedded sql database
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
tail-call-interp Enable the tail call interpreter. May lead to better performance but is still new and dependent on latest toolchain versions (Clang 19, GCC 15).
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
tk Add support for Tk GUI toolkit
valgrind Disable pymalloc when running under <pkg>dev-debug/valgrind</pkg> is detected (may incur minor performance penalty even when valgrind is not used)
wininst Install Windows executables required to create an executable installer for MS Windows
xml Add support for XML files

Files

Manifest

Type File Size Versions
DIST Python-3.10.19.tar.xz 19873020 bytes 3.10.19
DIST Python-3.10.19.tar.xz.asc 833 bytes 3.10.19
DIST Python-3.10.20.tar.xz 19868028 bytes 3.10.20
DIST Python-3.10.20.tar.xz.asc 833 bytes 3.10.20
DIST Python-3.11.14.tar.xz 20326860 bytes 3.11.14
DIST Python-3.11.14.tar.xz.asc 833 bytes 3.11.14
DIST Python-3.11.15.tar.xz 20332596 bytes 3.11.15
DIST Python-3.11.15.tar.xz.asc 833 bytes 3.11.15
DIST Python-3.12.12.tar.xz 20798712 bytes 3.12.12
DIST Python-3.12.12.tar.xz.asc 963 bytes 3.12.12
DIST Python-3.13.11.tar.xz 22704352 bytes 3.13.11
DIST Python-3.13.11.tar.xz.asc 963 bytes 3.13.11
DIST Python-3.13.12.tar.xz 22926488 bytes 3.13.12
DIST Python-3.13.12.tar.xz.asc 963 bytes 3.13.12
DIST Python-3.13.13.tar.xz 22957612 bytes 3.13.13
DIST Python-3.13.13.tar.xz.asc 963 bytes 3.13.13
DIST Python-3.14.2.tar.xz 23566248 bytes 3.14.2
DIST Python-3.14.2.tar.xz.sigstore 5119 bytes 3.14.2
DIST Python-3.14.3.tar.xz 23778568 bytes 3.14.3
DIST Python-3.14.3.tar.xz.sigstore 5215 bytes 3.14.3
DIST Python-3.14.4.tar.xz 23855332 bytes 3.14.4
DIST Python-3.14.4.tar.xz.sigstore 5219 bytes 3.14.4
DIST Python-3.15.0a7.tar.xz 35004684 bytes 3.15.0_alpha7
DIST Python-3.15.0a7.tar.xz.sigstore 5168 bytes 3.15.0_alpha7
DIST Python-3.9.25.tar.xz 20183236 bytes 3.9.25
DIST Python-3.9.25.tar.xz.asc 833 bytes 3.9.25
DIST python-gentoo-patches-3.10.18.tar.xz 29664 bytes 3.10.9999
DIST python-gentoo-patches-3.10.19.tar.xz 29136 bytes 3.10.19
DIST python-gentoo-patches-3.10.20.tar.xz 29180 bytes 3.10.20
DIST python-gentoo-patches-3.11.13.tar.xz 16492 bytes 3.11.9999
DIST python-gentoo-patches-3.11.14.tar.xz 15968 bytes 3.11.14
DIST python-gentoo-patches-3.11.15.tar.xz 15988 bytes 3.11.15
DIST python-gentoo-patches-3.12.11.tar.xz 12020 bytes 3.12.9999
DIST python-gentoo-patches-3.12.12.tar.xz 12012 bytes 3.12.12
DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 bytes 3.12.13_p1
DIST python-gentoo-patches-3.13.11.tar.xz 8948 bytes 3.13.11
DIST python-gentoo-patches-3.13.12.tar.xz 8992 bytes 3.13.12
DIST python-gentoo-patches-3.13.13.tar.xz 9000 bytes 3.13.13
DIST python-gentoo-patches-3.13.4.tar.xz 8912 bytes 3.13.9999, 0.3.13.9999
DIST python-gentoo-patches-3.14.0b1.tar.xz 5680 bytes 3.14.9999, 0.3.14.9999
DIST python-gentoo-patches-3.14.2.tar.xz 8008 bytes 3.14.2
DIST python-gentoo-patches-3.14.3.tar.xz 8012 bytes 3.14.3
DIST python-gentoo-patches-3.14.4.tar.xz 8012 bytes 3.14.4
DIST python-gentoo-patches-3.15.0a7.tar.xz 3808 bytes 3.15.0_alpha7
DIST python-gentoo-patches-3.15.0a8.tar.xz 3400 bytes 3.15.9999, 0.3.15.9999
DIST python-gentoo-patches-3.9.25.tar.xz 36604 bytes 3.9.25
Unmatched Entries
Type File Size
DIST Python-2.7.18.tar.xz 12854736 bytes
DIST Python-2.7.18.tar.xz.asc 833 bytes
DIST Python-3.12.13.tar.xz 20801708 bytes
DIST Python-3.12.13.tar.xz.asc 963 bytes
DIST Python-3.15.0a8.tar.xz 35130268 bytes
DIST Python-3.15.0a8.tar.xz.sigstore 5127 bytes
DIST Python-3.8.20.tar.xz 18962788 bytes
DIST Python-3.8.20.tar.xz.asc 833 bytes
DIST python-gentoo-patches-2.7.18_p16.tar.xz 35448 bytes
DIST python-gentoo-patches-3.8.20_p7.tar.xz 54544 bytes