summaryrefslogtreecommitdiff
path: root/dev-lang/python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/Manifest8
-rw-r--r--dev-lang/python/python-3.10.14_p1-r1.ebuild32
-rw-r--r--dev-lang/python/python-3.11.9-r1.ebuild32
-rw-r--r--dev-lang/python/python-3.12.3-r1.ebuild32
-rw-r--r--dev-lang/python/python-3.13.0_beta1_p3.ebuild87
5 files changed, 159 insertions, 32 deletions
diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index 33c0f4ef94b5..436fa88a5cb8 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -26,15 +26,15 @@ DIST python-gentoo-patches-3.8.19_p2.tar.xz 35524 BLAKE2B a6b81e6ae907b60eea676c
DIST python-gentoo-patches-3.9.19_p2.tar.xz 27684 BLAKE2B a69f00548c153da7b13dfeccb332d3d67ecf649fb5ae054590492f3e2fc2c84b78ebaf90bcf9738157c9022778e5bf2a6b4fb6a99e996dcb63859dcf6f84af23 SHA512 552a5f2d89307d4193d76df5a2cf1deb4bd5c8ad9ec81e6768987f1649f6571a318e68b92d8f8ecdba12bfe9c5f1a427a4cc577e6aaebf7748027cc50e412804
DIST python-gentoo-patches-3.9.19_p3.tar.xz 28240 BLAKE2B 35c70b1f9a590abe9a74795f478ab788cd72c96e9d84f2756685e61324dc4203148e71b00a236bb4af8fb8315e3582ecec255b39749a653e0511d4a9f9fef725 SHA512 6b8f4dab4aa7d4d646ee4091b5cf76bbc8896d4299a3623660a2c5fec06c0cf56c0a50ac87604885cd155141bc85e0e80acdbedb7b34a813901aad021b9b8ab2
EBUILD python-2.7.18_p16-r2.ebuild 8603 BLAKE2B 6a2ee7f1a5d0eae487cf0293fb2528c97679d0fb395cd51f00a08ede8abb473f3e16051c8b7b797a99c4462d520955c01b1b0d238caf0652a3166034bed60839 SHA512 e498d3f4904e2cf2de6a6d0beb8e573a462bc96970c861616bd12956434154146e1625ea36b44f984b82f3d6cc90b33860b71c4067002b7f96510eb5e632e572
-EBUILD python-3.10.14_p1-r1.ebuild 14084 BLAKE2B 448ed696b37c57843a4aad248aa37db89bb61d87d7965112f7ddfda2662a70f7ffed046d21970eeed54f1acf31e270ae09dfa1c2fa554d91d4ff062cecf3756b SHA512 cecf43213c020c40441c3731f13ca6fbd4132b6ea1efac0040b5f44ebfe4fda5e2b7e32d65bd5e8db467b12b648ba838bc30607af79029785d26cfde1d3607eb
+EBUILD python-3.10.14_p1-r1.ebuild 14750 BLAKE2B 66b25f15ad2b70e66cf39b00fcf6c87b6a5addd9bffa57b5fb829e39c2a152ea0b9a03dcb36c3aca055451ea26c08033c025d041dfbf512dce21b071dda93266 SHA512 49803d7fb19b44728ab249202880df88c716fbe5c016cd837d2c7f77c56fb9da4df8fe128da37b807e8818b912705607ad2ed7dde5b883131ff03499903d8593
EBUILD python-3.10.14_p1.ebuild 14029 BLAKE2B a75f0cad3d531e041636974296d1fc2d9c8ec3f3032be20f32edfa4c2b0ab8fcceec9e144722f640e23e29e38fafd72810dfe37046c66b0a66ebc26a0f7280bb SHA512 a1885c8b00cf8a2542f971381dfe4de4ceef5773f00c33017eadff15e14fce4460bcd2b0f3106de0decb91b7613456eb3ee668a05d5db13e2d72dec8fe7d960c
-EBUILD python-3.11.9-r1.ebuild 15196 BLAKE2B e5c3ef7e624ba650b3091dc26bfefd298418b0b7264144e3f27c10baaf6fbe57e9298bac13ba651420e54d64bbb5da27cc4e7bbca28f688427d15a0a1bbe2022 SHA512 1b2e8b16e241a33705bb2856ae57b84432044301a5f36a409ade25aeeafd2cd82047a9cc27d1d3483efbbce667a94f71cb6ae7b16a869b1e77c511a687e0ef76
+EBUILD python-3.11.9-r1.ebuild 15862 BLAKE2B fc891fe1f5f5ab510b3a2c2b2b5e74db8799a8a4b241c8502f857f31836f91df4e5076d9d039a2105d66e99587dc0b247423b7f6e632f6e0e2f0df602b367482 SHA512 44703bf01e73a6af4f8917e9aff82b5bb95a94eb2ad56459df7bc4079e81e18d3c4b0176e42fede562d77500b1d31aea63c37967068f13a021feab6c83c7cd87
EBUILD python-3.11.9.ebuild 15141 BLAKE2B 26a6359f2ed875e5a9cb470868244b9f7fa66cb3b67b1c19e9f9b68a574651398868d47cf7e2cb05ffff3897b633adb97d7ef2facf8774f8f81c7a169da2d019 SHA512 2f3220403e8c21b2dbafb3c611e4d38bc22b75ee4b95eef8bc2247ed9781167e1c9e660bf09094f8301264319a9a6eb782e6070391e6a941ba1b07e591da37a2
-EBUILD python-3.12.3-r1.ebuild 14757 BLAKE2B 6f735b7cb258a7af4eec0e18736cfd6b87bb958cc2f781cccd94489bd9f265d86e9dbc14a63d51c615735b4b121fce380286eb5fb7bd678b2af8d130474d83d5 SHA512 2b32e8f0c201ec919f16cacaa80da5eba80d736e707cce25c142cfd4d714be9c868705104de6080a0d81d9e12b4a047fc64e548bc3df8eb3fe7210240b7fa21d
+EBUILD python-3.12.3-r1.ebuild 15423 BLAKE2B 7527475de13b9237d95dc0733b8d9fd4bc49aa5468e263dac8c599250f732adfb13fd48eac8d29515a3e6e8cf812fb799049deb0aebe8512de38c9d0c5028fb3 SHA512 e2a66398ed19f1a30be032db5777933e72069505b67160d584360699b4fbdfebcbb90c81af56665ae6f16936b739e84e9851acfceb188d3d8380438e4fa37369
EBUILD python-3.12.3.ebuild 14702 BLAKE2B e4dbc9370a9d846754b89cf13ec6db2674364061080dbc6cfe60faa8350e70772b31502bf650ae31aad4204b907095de07db201431afe6dcdc1f2973ddf0b603 SHA512 5446caf7a5aaba96604b5de6424ff359d190ed850eea7f035a3412f816388140aca01cbaba65d245db493f38cd0f2ecdbb8bc39c34e3921657ec0e091977e77d
EBUILD python-3.13.0_beta1_p1.ebuild 15551 BLAKE2B 4c92847ac19dc66bf6093bb1207c4e83d821af861817b9b15794639d3dbbfa51991c64bd02edca652413aee31a1c663c50862564d563814d34a6a07922e2cb5a SHA512 1f0876376a13bd96f2e4c68b56ae6cf0155c6702609c532225c13c339dec79bf92a245d60230237c790f787814c48db1e3bffcc9b5eb0f46eb8ef590e906f22c
EBUILD python-3.13.0_beta1_p2.ebuild 16998 BLAKE2B 5b554cedf13960c02c8fb5b597a290471887475a1ace7063857f42f1c3dd32d9d3af777b054851968aefcec8ba3f82db479853365deec28884fafbef1b6bf155 SHA512 069a0df320ab10b36519bafd93388e82d828bc10084735f47da21b0f5480c48bb08f8b57d2b785dc38ecfa3a0ef2d1d65e87ccf4fff904290b0e81867e3d0c60
-EBUILD python-3.13.0_beta1_p3.ebuild 16973 BLAKE2B 30776f09806e600e2729dcf410a2270c241553c1397d2c693f6eb4e3ea4e41f4ca67ebe010b9a1383dde9ce7489886b03ac86f8e7708bd68cea04ecb79257859 SHA512 89d6c345ef03c1a7ea3bb78d33740fde2a145652c3054cec8efcc9de48078c5a3c381eda764eebdfc09162057d0bf81239016a19898659a82c73e641cf25d071
+EBUILD python-3.13.0_beta1_p3.ebuild 17690 BLAKE2B 02720e230d6a720a3d3dfb9f2aa91fc18d062e9ded12996cfbe1c51b400694230498940b3c4c6e2ce59c5567f07b87250cbe6218891efdd3954d5b7beb2d825c SHA512 3f4adf9634987853637e5d1121f8b6248106f00f4c1a585df22d6d5babe4062392c4187bc91a697647f6071a71bfaed81674e569b3c517a449ae81ed2abe6bbd
EBUILD python-3.8.19_p1.ebuild 12170 BLAKE2B bb93535f4876869a58622df01f0c4d4ee4eead693604b9b195965d67933760e3911ab983b4cf1f75f5548b3b228b3353405b4e9029f1434e0e6a91bd01a00fee SHA512 69afe727c59cdb5f8a64c6d6c11ab45c28c8eefad53355d933558573fcdd8dbb6c69f658c5f8f85068bd42200a6f067ed85761afbe3260f45b77874b6761484c
EBUILD python-3.8.19_p2.ebuild 12225 BLAKE2B b39ffe181bfd0928056b9d4463795279ce41a64c2cd8ef2829ec3aeb7093de9b2514d0c2d54fd877f83581b30d659f295cafa6cda88bf4aa68378ce0d1ca75b2 SHA512 b810c88c716b7f71f9c0875cd63da5dda4894f743880432a1d07be42c5fa62a412f51217a3f4003019405791008e9be0e9b43a5d722b98fcb67131283ded9ea3
EBUILD python-3.9.19_p2.ebuild 13620 BLAKE2B 25ef087c8e4fccf9d2e52fb7b4ba08f3cfe6582d40ab820289a069f54cd06ab2b7a1ec20ff16283485834e73dca0651136d4206bf2ad7b6bbd316542d5ed82fd SHA512 98a73032aad45f9ca6058f7dcd88617554afb1083149b877a858d62d2f4085fdb675b9a22bbf7f08d0029dc6ef0bc1ad2f31c747b5800a65bb4a6b933c85e8d3
diff --git a/dev-lang/python/python-3.10.14_p1-r1.ebuild b/dev-lang/python/python-3.10.14_p1-r1.ebuild
index b8af8162f838..0b054e7e0898 100644
--- a/dev-lang/python/python-3.10.14_p1-r1.ebuild
+++ b/dev-lang/python/python-3.10.14_p1-r1.ebuild
@@ -260,6 +260,22 @@ src_configure() {
-x test_tools
)
+ # musl-specific skips
+ use elibc_musl && profile_task_flags+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
if has_version "app-arch/rpm" ; then
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
profile_task_flags+=(
@@ -399,6 +415,22 @@ src_test() {
)
fi
+ # musl-specific skips
+ use elibc_musl && test_opts+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
# workaround docutils breaking tests
cat > Lib/docutils.py <<-EOF || die
raise ImportError("Thou shalt not import!")
diff --git a/dev-lang/python/python-3.11.9-r1.ebuild b/dev-lang/python/python-3.11.9-r1.ebuild
index 7a7aa3767d0e..d793d7efc7b4 100644
--- a/dev-lang/python/python-3.11.9-r1.ebuild
+++ b/dev-lang/python/python-3.11.9-r1.ebuild
@@ -250,6 +250,22 @@ src_configure() {
-x test_tools
)
+ # musl-specific skips
+ use elibc_musl && profile_task_flags+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
if has_version "app-arch/rpm" ; then
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
profile_task_flags+=(
@@ -413,6 +429,22 @@ src_test() {
)
fi
+ # musl-specific skips
+ use elibc_musl && test_opts+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
# workaround docutils breaking tests
cat > Lib/docutils.py <<-EOF || die
raise ImportError("Thou shalt not import!")
diff --git a/dev-lang/python/python-3.12.3-r1.ebuild b/dev-lang/python/python-3.12.3-r1.ebuild
index 67af3b08ac90..5ae290e1e120 100644
--- a/dev-lang/python/python-3.12.3-r1.ebuild
+++ b/dev-lang/python/python-3.12.3-r1.ebuild
@@ -250,6 +250,22 @@ src_configure() {
-x test_tools
)
+ # musl-specific skips
+ use elibc_musl && profile_task_flags+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
if has_version "app-arch/rpm" ; then
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
profile_task_flags+=(
@@ -407,6 +423,22 @@ src_test() {
)
fi
+ # musl-specific skips
+ use elibc_musl && test_opts+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
# workaround docutils breaking tests
cat > Lib/docutils.py <<-EOF || die
raise ImportError("Thou shalt not import!")
diff --git a/dev-lang/python/python-3.13.0_beta1_p3.ebuild b/dev-lang/python/python-3.13.0_beta1_p3.ebuild
index 585746c726fa..792927c05468 100644
--- a/dev-lang/python/python-3.13.0_beta1_p3.ebuild
+++ b/dev-lang/python/python-3.13.0_beta1_p3.ebuild
@@ -33,7 +33,7 @@ LICENSE="PSF-2"
SLOT="${PYVER}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="
- big-endian bluetooth build +debug +ensurepip examples gdbm +gil jit
+ bluetooth build +debug +ensurepip examples gdbm +gil jit
libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind
"
REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
@@ -250,9 +250,9 @@ src_configure() {
)
# Arch-specific skips. See #931888 for a collection of these.
- case ${ARCH} in
- alpha)
- test_opts+=(
+ case ${CHOST} in
+ alpha*)
+ COMMON_TEST_SKIPS+=(
-x test_builtin
-x test_capi
-x test_cmath
@@ -262,36 +262,37 @@ src_configure() {
-x test_math
-x test_numeric_tower
-x test_random
+ -x test_statistics
# bug 653850
-x test_resource
-x test_strtod
)
;;
- ia64)
- test_opts+=(
+ ia64*)
+ COMMON_TEST_SKIPS+=(
-x test_ctypes
-x test_external_inspection
)
;;
- mips)
- test_opts+=(
+ mips*)
+ COMMON_TEST_SKIPS+=(
-x test_ctypes
-x test_external_inspection
-x test_statistics
)
;;
- ppc64)
- if use big-endian; then
- test_opts+=( -x test_descr )
- fi
+ powerpc64-*) # big endian
+ COMMON_TEST_SKIPS+=(
+ -x test_descr
+ )
;;
- riscv)
- test_opts+=(
+ riscv*)
+ COMMON_TEST_SKIPS+=(
-x test_urllib2
)
;;
- sparc)
- test_opts+=(
+ sparc*)
+ COMMON_TEST_SKIPS+=(
# bug 788022
-x test_multiprocessing_fork
-x test_multiprocessing_forkserver
@@ -304,6 +305,22 @@ src_configure() {
;;
esac
+ # musl-specific skips
+ use elibc_musl && COMMON_TEST_SKIPS+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
if use pgo; then
local profile_task_flags=(
-m test
@@ -339,13 +356,13 @@ src_configure() {
)
# Arch-specific skips. See #931888 for a collection of these.
- case ${ARCH} in
- alpha)
+ case ${CHOST} in
+ alpha*)
profile_task_flags+=(
-x test_os
)
;;
- hppa)
+ hppa*)
profile_task_flags+=(
-x test_descr
# bug 931908
@@ -353,26 +370,40 @@ src_configure() {
-x test_os
)
;;
- ia64)
+ ia64*)
profile_task_flags+=(
-x test_signal
)
;;
- ppc64)
- if use big-endian; then
- profile_task_flags+=(
- # bug 931908
- -x test_exceptions
- )
- fi
+ powerpc64-*) # big endian
+ profile_task_flags+=(
+ # bug 931908
+ -x test_exceptions
+ )
;;
- riscv)
+ riscv*)
profile_task_flags+=(
-x test_statistics
)
;;
esac
+ # musl-specific skips
+ use elibc_musl && profile_task_flags+=(
+ # various musl locale deficiencies
+ -x test__locale
+ -x test_c_locale_coercion
+ -x test_locale
+ -x test_re
+
+ # known issues with find_library on musl
+ # https://bugs.python.org/issue21622
+ -x test_ctypes
+
+ # fpathconf, ttyname errno values
+ -x test_os
+ )
+
if has_version "app-arch/rpm" ; then
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
profile_task_flags+=(