diff --git a/dev-lang/python/python-3.14.10.ebuild b/dev-lang/python/python-3.14.10.ebuild index 19200cef0e7a1..57ecf4165614a 100644 --- a/dev-lang/python/python-3.14.10.ebuild +++ b/dev-lang/python/python-3.14.10.ebuild @@ -3,12 +3,10 @@ EAPI="8" -LLVM_COMPAT=( 19 ) -LLVM_OPTIONAL=1 VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" -inherit autotools check-reqs flag-o-matic linux-info llvm-r1 +inherit autotools check-reqs flag-o-matic linux-info inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig @@ -37,10 +35,9 @@ if [[ ${PV} != *_rc* ]]; then KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi IUSE=" - bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " -REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" RESTRICT="!test? ( test )" # Do not add a dependency on dev-lang/python to this ebuild. @@ -90,12 +87,6 @@ BDEPEND=" dev-build/autoconf-archive app-alternatives/awk virtual/pkgconfig - jit? ( - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - ) tail-call-interp? ( || ( >=sys-devel/gcc-16:* @@ -132,19 +123,10 @@ pkg_pretend() { if use pgo || use test; then check-reqs_pkg_pretend fi - - if use jit; then - ewarn "USE=jit is considered experimental upstream. Using it" - ewarn "could lead to unexpected breakage, including race conditions" - ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" - ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead," - ewarn "please consider reporting JIT problems upstream." - fi } pkg_setup() { if [[ ${MERGE_TYPE} != binary ]]; then - use jit && llvm-r1_pkg_setup if use test || use pgo; then check-reqs_pkg_setup @@ -419,7 +401,6 @@ src_configure() { --enable-gil $(use_with debug assertions) - $(use_enable jit experimental-jit) $(use_enable pgo optimizations) $(use_with readline readline "$(usex libedit editline readline)") $(use_with tail-call-interp) diff --git a/dev-lang/python/python-3.14.10_p1.ebuild b/dev-lang/python/python-3.14.10_p1.ebuild index 7b7cdc6f3c7b2..bad843ae73eda 100644 --- a/dev-lang/python/python-3.14.10_p1.ebuild +++ b/dev-lang/python/python-3.14.10_p1.ebuild @@ -3,12 +3,10 @@ EAPI="8" -LLVM_COMPAT=( 19 ) -LLVM_OPTIONAL=1 VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" -inherit autotools check-reqs flag-o-matic linux-info llvm-r1 +inherit autotools check-reqs flag-o-matic linux-info inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig @@ -37,10 +35,9 @@ if [[ ${PV} != *_rc* ]]; then KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" fi IUSE=" - bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " -REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" RESTRICT="!test? ( test )" # Do not add a dependency on dev-lang/python to this ebuild. @@ -90,12 +87,6 @@ BDEPEND=" dev-build/autoconf-archive app-alternatives/awk virtual/pkgconfig - jit? ( - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - ) tail-call-interp? ( || ( >=sys-devel/gcc-16:* @@ -132,19 +123,10 @@ pkg_pretend() { if use pgo || use test; then check-reqs_pkg_pretend fi - - if use jit; then - ewarn "USE=jit is considered experimental upstream. Using it" - ewarn "could lead to unexpected breakage, including race conditions" - ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" - ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead," - ewarn "please consider reporting JIT problems upstream." - fi } pkg_setup() { if [[ ${MERGE_TYPE} != binary ]]; then - use jit && llvm-r1_pkg_setup if use test || use pgo; then check-reqs_pkg_setup @@ -419,7 +401,6 @@ src_configure() { --enable-gil $(use_with debug assertions) - $(use_enable jit experimental-jit) $(use_enable pgo optimizations) $(use_with readline readline "$(usex libedit editline readline)") $(use_with tail-call-interp) diff --git a/dev-lang/python/python-3.14.9999.ebuild b/dev-lang/python/python-3.14.9999.ebuild index 3cec1e04baa24..97cd73c5cd2eb 100644 --- a/dev-lang/python/python-3.14.9999.ebuild +++ b/dev-lang/python/python-3.14.9999.ebuild @@ -3,11 +3,9 @@ EAPI="8" -LLVM_COMPAT=( 19 ) -LLVM_OPTIONAL=1 WANT_LIBTOOL="none" -inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 +inherit autotools check-reqs flag-o-matic git-r3 linux-info inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs PYVER=$(ver_cut 1-2) @@ -27,10 +25,9 @@ EGIT_BRANCH=${PYVER} LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " -REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" RESTRICT="!test? ( test )" # Do not add a dependency on dev-lang/python to this ebuild. @@ -80,12 +77,6 @@ BDEPEND=" dev-build/autoconf-archive app-alternatives/awk virtual/pkgconfig - jit? ( - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - ) tail-call-interp? ( || ( >=sys-devel/gcc-16:* @@ -118,19 +109,10 @@ pkg_pretend() { if use pgo || use test; then check-reqs_pkg_pretend fi - - if use jit; then - ewarn "USE=jit is considered experimental upstream. Using it" - ewarn "could lead to unexpected breakage, including race conditions" - ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" - ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead," - ewarn "please consider reporting JIT problems upstream." - fi } pkg_setup() { if [[ ${MERGE_TYPE} != binary ]]; then - use jit && llvm-r1_pkg_setup if use test || use pgo; then check-reqs_pkg_setup @@ -403,7 +385,6 @@ src_configure() { --enable-gil $(use_with debug assertions) - $(use_enable jit experimental-jit) $(use_enable pgo optimizations) $(use_with readline readline "$(usex libedit editline readline)") $(use_with tail-call-interp)