Install this package:
emerge -a dev-lang/python
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.15.2 | 8 | ~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.15.2 |
|---|---|---|
| bluetooth | Build Bluetooth protocol support in socket module | ✓ |
| build | ⚠️ | ✓ |
| debug | Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems ⚠️ | ✓ |
| 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 | ⚠️ | ✓ |
| 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 | ⚠️ | ⊕ |
| 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 | Perform rocblas-test to compare the result between rocBLAS and system BLAS ⚠️ | ✓ |
| 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) | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | Python-3.15.2.tar.xz | 27960396 bytes | 3.15.2 |
| DIST | Python-3.15.2.tar.xz.sigstore | 7083 bytes | 3.15.2 |
| DIST | python-gentoo-patches-3.15.2.tar.xz | 3436 bytes | 3.15.2 |
| Type | File | Size |
|---|