summaryrefslogtreecommitdiff
path: root/dev-lang/python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-14 17:14:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-14 17:14:26 +0000
commitb249bbf4d9b4883ceb69ca46250cc1fb73e00dbf (patch)
tree75bddf71ee3d4b457c1bf4f59d4fa296660ff324 /dev-lang/python
parent5abae9e973fe596f28f78b4d83209ffab108e2cd (diff)
downloadbaldeagleos-repo-b249bbf4d9b4883ceb69ca46250cc1fb73e00dbf.tar.gz
baldeagleos-repo-b249bbf4d9b4883ceb69ca46250cc1fb73e00dbf.tar.xz
baldeagleos-repo-b249bbf4d9b4883ceb69ca46250cc1fb73e00dbf.zip
Adding metadata
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/python-3.13.0-r1.ebuild (renamed from dev-lang/python/python-3.13.0.ebuild)25
1 files changed, 14 insertions, 11 deletions
diff --git a/dev-lang/python/python-3.13.0.ebuild b/dev-lang/python/python-3.13.0-r1.ebuild
index ad433cde6c48..d1a2e8fc05cc 100644
--- a/dev-lang/python/python-3.13.0.ebuild
+++ b/dev-lang/python/python-3.13.0-r1.ebuild
@@ -1,6 +1,5 @@
# Copyright 2021-2024 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
-
EAPI="8"
LLVM_COMPAT=( 18 )
@@ -31,9 +30,9 @@ S="${WORKDIR}/${MY_P}"
LICENSE="PSF-2"
SLOT="${PYVER}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+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
libressl libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
"
REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
@@ -118,7 +117,7 @@ QA_PKGCONFIG_VERSION=${PYVER}
# false positives -- functions specific to *BSD
QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
-declare -rA PYTHON_KERNEL_CHECKS=(
+declare -rgA PYTHON_KERNEL_CHECKS=(
["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
["DNOTIFY"]="test_fcntl" # bug 938662
)
@@ -128,11 +127,11 @@ 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"
+ if use jit; then
+ ewarn "USE=jit flags are considered experimental upstream. Using"
ewarn "them 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 "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
ewarn "please consider reporting freethreading / JIT problems upstream."
fi
}
@@ -272,6 +271,8 @@ src_configure() {
COMMON_TEST_SKIPS=(
# this is actually test_gdb.test_pretty_print
-x test_pretty_print
+ # https://bugs.gentoo.org/933840
+ -x test_perf_profiler
)
# Arch-specific skips. See #931888 for a collection of these.
@@ -302,7 +303,7 @@ src_configure() {
;;
powerpc64-*) # big endian
COMMON_TEST_SKIPS+=(
- -x test_descr
+ -x test_gdb
)
;;
riscv*)
@@ -315,16 +316,16 @@ src_configure() {
# bug 788022
-x test_multiprocessing_fork
-x test_multiprocessing_forkserver
+ -x test_multiprocessing_spawn
-x test_ctypes
- -x test_descr
+ -x test_gdb
# bug 931908
-x test_exceptions
)
;;
esac
-
# Kernel-config specific skips
for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
if ! linux_config_exists || ! linux_chkconfig_present "${option}"
@@ -442,9 +443,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)")
@@ -525,6 +526,7 @@ src_compile() {
# bug 660358
local -x COLUMNS=80
local -x PYTHONDONTWRITEBYTECODE=
+ local -x TMPDIR=/tmp
fi
# also need to clear the flags explicitly here or they end up
@@ -564,6 +566,7 @@ src_test() {
# bug 660358
local -x COLUMNS=80
local -x PYTHONDONTWRITEBYTECODE=
+ local -x TMPDIR=/tmp
nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty