summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.13.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-08 18:26:45 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-12 20:50:40 +0200
commit6a6793ff7548c44104e9093ffaa1adc5fc6ad786 (patch)
tree2ae1ecb24f20ec9ab3674d0eacde9827a067a346 /dev-lang/python/python-3.13.0.ebuild
parent492d7e68c907475717d3389d45578d679169deb9 (diff)
downloadgentoo-6a6793ff7548c44104e9093ffaa1adc5fc6ad786.tar.gz
gentoo-6a6793ff7548c44104e9093ffaa1adc5fc6ad786.tar.bz2
gentoo-6a6793ff7548c44104e9093ffaa1adc5fc6ad786.zip
dev-lang/python: Remove gil flag from 3.13.0
Remove freethreading support from dev-lang/python:3.13. This variant is not binary-compatible with the regular version of Python, and as such needs to be handled separately. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.13.0.ebuild')
-rw-r--r--dev-lang/python/python-3.13.0.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-lang/python/python-3.13.0.ebuild b/dev-lang/python/python-3.13.0.ebuild
index 1f61895afb04..9216c5683e4c 100644
--- a/dev-lang/python/python-3.13.0.ebuild
+++ b/dev-lang/python/python-3.13.0.ebuild
@@ -34,7 +34,7 @@ LICENSE="PSF-2"
SLOT="${PYVER}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="
- bluetooth build debug +ensurepip examples gdbm +gil jit
+ bluetooth build debug +ensurepip examples gdbm jit
libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
"
REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
@@ -124,12 +124,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
fi
- if ! use gil || use jit; then
- ewarn "USE=-gil and USE=jit flags are considered experimental upstream. Using"
- ewarn "them could lead to unexpected breakage, including race conditions"
+ 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[gil,-jit]. Instead,"
- ewarn "please consider reporting freethreading / JIT problems upstream."
+ ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
+ ewarn "please consider reporting JIT problems upstream."
fi
}
@@ -431,9 +431,9 @@ src_configure() {
--with-platlibdir=lib
--with-pkg-config=yes
--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
+ --enable-gil
$(use_with debug assertions)
- $(use_enable gil)
$(use_enable jit experimental-jit)
$(use_enable pgo optimizations)
$(use_with readline readline "$(usex libedit editline readline)")