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
| 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.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.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.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.14 | 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 |
<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>
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.14.3 | 3.14.2 | 3.13.12 | 3.13.11 | 3.12.13_p1 | 3.12.12 | 3.11.14 | 3.10.19 | 2.7.18_p16-r2 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| berkdb | ⚠️ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
| bluetooth | Build Bluetooth protocol support in socket module | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| debug | ⚠️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| 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 | ⚠️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| gdbm | ⚠️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| jit | Enable experimental Just-In-Time compilation support. | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ |
| libedit | ⚠️ | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| ncurses | ⚠️ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ |
| 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 | ⚠️ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ |
| sqlite | ⚠️ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ |
| ssl | Enable additional crypto algorithms via OpenSSL ⚠️ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ |
| 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 | ⚠️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| tk | ⚠️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| 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 | Build bindings for the QtXml module ⚠️ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ⊕ |
| 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-gentoo-patches-2.7.18_p16.tar.xz | 35448 bytes |