public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Quentin Retornaz" <gentoo@retornaz.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/
Date: Sun,  5 Mar 2023 14:20:13 +0000 (UTC)	[thread overview]
Message-ID: <1678025976.f2561451a7ee376ac200107c516b20ae4afebc11.quentin@gentoo> (raw)

commit:     f2561451a7ee376ac200107c516b20ae4afebc11
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Feb 27 14:18:55 2023 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sun Mar  5 14:19:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=f2561451

dev-lang/python: Add 3.9.16_p1, 3.9.16_p2, 3.10.10_p2

Also removed 3.9.16-r1.

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-lang/python/Manifest                           |  6 ++++-
 ...n-3.9.16-r1.ebuild => python-3.10.10_p2.ebuild} | 28 ++++++++++++----------
 ...on-3.9.16-r1.ebuild => python-3.9.16_p1.ebuild} |  0
 ...on-3.9.16-r1.ebuild => python-3.9.16_p2.ebuild} |  2 +-
 4 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index e991e8b..3cb28a7 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -1,5 +1,7 @@
 DIST Python-2.7.18.tar.xz 12854736 BLAKE2B 060a621c91dd8e3d321aec99d44c17aa67381998256a1a002d316b38288349884d5960de35c49352d03129ed0bae599e641ec2225898158ebce50a7a2fd74d2c SHA512 a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c0274ff5401bda6fc21bf24337477ccac49e8026c5d651e4b4cafb5eb5086f6c
 DIST Python-2.7.18.tar.xz.asc 833 BLAKE2B 1d98770e46171971fb99994508d238c01d2755281d2f94353314014d9e83e0ec5f0b3e3950ea1fdf5fce9ba6b8f55312355845c2a3fc4291c27ee56fe6215448 SHA512 c2a5f5a52f47dec52460ad3275758d4e5de6e7075c3def4353c988d74d563a39b42cae2d5eb24e2a23a6247cef69100f91620b11a49c2359fbf99b203c9cbda8
+DIST Python-3.10.10.tar.xz 19627028 BLAKE2B 57fc6869fa05586158a170c1892d93a3036823bfafb9484b9d70bca6cdc3e76f75357622eace4bde9a4c0ca62a1bb79665e5751b41655f9f4d7e345547013ad8 SHA512 f0aee65970a68287b34c4eafcf35c6fa09c81ba234ac356db16fbbc6c36417e4ac67071e616d118f5e192d541d7f177dcab5585b9780e842f656c09e01c37ced
+DIST Python-3.10.10.tar.xz.asc 833 BLAKE2B fd60e6268f7dd6676ea58bd7e80c513506ac9810c1a62ff060134207b0fd8e7b096d5f11f3cc536a1578144ff54c00bcb076d3c3f5889a69a898660dd280312b SHA512 591746d74c6123bf36c763b6e8e1de1554f02eeff30c855623ef0f12d3864d5573eb5efe96d6e142f24627c77b90738ada3456df4ad59bddcb008658f2ca8af9
 DIST Python-3.10.9.tar.xz 19612112 BLAKE2B ef2d063a9fbaf234aa4a47149cb184a0379dc403515df10249104a5092750cdaf22ad47916d34e17dd68fff1c30338c0375f4e4e3cc9bde33e0896c1c3ba655b SHA512 d66ea8adeb6dc4951e612175f8838b3092967ff275b7a3470f2d86f470036aa2221e722c3144d90bcd230b88efd53dde204213f72f703e524e4b833e2ccc68e2
 DIST Python-3.10.9.tar.xz.asc 833 BLAKE2B 8895c6cb5031b2463cc6ba3e0dc56bee40c2e99117c062f9c72f2b7adb0d5a49782b968abfc764117e8513bd12816915245677c25b1710e3dae3c9e26937c2b9 SHA512 525e166ede6836086de814c26fc880f41eaf1ed4bff6118f00342e42f7ab1c47148447ced1b565e146d3125fa06b5cd6b394a256bc61096766b26e07f18bbf10
 DIST Python-3.11.1.tar.xz 19856648 BLAKE2B 2a8942e7a145cfcc5b6932865ff9a1afd300bf2e6c4c915e88d0e849441196a3a4cacf94f3db87eaa7538872059085cf7eeff91c436f424448f85d4b180a6f24 SHA512 5edd70c881e083c96199c60471f18f9ebc4c97a2d45dc66f89e16d7c3638d8a5d2cbf2e84b1be3d7f1178ce9f7fa4197884385c1ee3618ff66a538f872f318ed
@@ -7,6 +9,8 @@ DIST Python-3.11.1.tar.xz.asc 833 BLAKE2B 27c6101b2022cb7bea3e6082f1554b31cceb8c
 DIST Python-3.9.16.tar.xz 19738796 BLAKE2B 70dedeb70d9d8f27e4f6db5106623e087c61d451c7a04639cf8d3503ad02d4d43f1b36d0cdf1131aefc9bf6e677e561227dd4baef2c2c3d2dbf6d3e7dc36bd94 SHA512 b5fd0afe131c82bbce6ddf887c59eef6945910d6a9a2bc87c0927f4e4a096bf9ca4d25bcb729c40f6ebb8a65fbe8bf7b0b97a7c4a8c9e551240eb4f34b878653
 DIST Python-3.9.16.tar.xz.asc 833 BLAKE2B 416b4a4be06e101c5971c12a6f21229c425bcabaea58487e0d1b24d6dea318c58806ee43892fc704df8252670451bd6a4a2610c25672d3983ddb081fed34b92d SHA512 468959c36a3ec6136f57a39475fff4745a25be0cb5d3d58cf3e5faf0b9ce2d2a8b89f1f9fea1479c4c6ad12ac49e97c1cfd4291c978bb3d30df5a582ec315210
 DIST python-gentoo-patches-2.7.18_p16.tar.xz 35448 BLAKE2B 0139c0944f62f9cdd236f6a8557e0ed19704c7d72869af1cb7d8bd3e646a746cd4a0201e1b44232a5e78ef49f254db20b0d0271bf744fbfd4fe0f1e99b8f3e6c SHA512 810be590d0e06fab4b2165e6852ca49662f09dcd7e20b47a29f613ad7653252c8dfac3f0eb228d77c8a914efa7c08788b2fbd552a4b47504f5fd0ec17450c48f
+DIST python-gentoo-patches-3.10.10_p2.tar.xz 13992 BLAKE2B e18e708888dd28c8f238d4897aff79483a679396a168d8b5ff4f5e8c7f09cec5f1b13aeb327d3dc3e2149c2117c25da050987f1f1c3322b56c87245ba2d0b54d SHA512 14bc218a2f3c64ef9f42682fd1364208bcaa74f787dee39bd9566e40764c260a65fd42961be47a6e6c6227091cb2fef83e1d689302448647560689e20e07efe0
 DIST python-gentoo-patches-3.10.9.tar.xz 12216 BLAKE2B ced4f951089c51ddaab6c62ade9d2c84f69e7e1baf2acf5247559534c7d0fb0e88dca1222f5bd2209b4e61f5aca17279b8054f269535dbc10de0786c2c5779f5 SHA512 2d01f0f3831beeba004517bb82f7d616f25f08e5c755409ecff79cd68e0a619b5bf6802fffd0e5f7f39f1d9d93e65b018b91cdeb337a5e47f1651f36bea0e96e
 DIST python-gentoo-patches-3.11.1.tar.xz 7076 BLAKE2B 3ec45f7529d34eabc9d9ba7fa7f8dd51d8754d9758a605b61857a9fd80386a0357837c925263ad7b0e207ff916944b94cc0e03c0f59921f839d5e51d92f0e47e SHA512 4253dbfa057a91db584b92550e2d39d87986f33041233bc400dd0254cbd95415b33fc47b0fe997bb84192c755bc16d3d31941bba4c216ee4d65facf0b48c7862
-DIST python-gentoo-patches-3.9.16.tar.xz 23348 BLAKE2B 26b66e57530d167776d2aee60fd4620fc8e6c229f371616fdaa74aa2f03fd5a50b61653a5f34e0f2659901ba167af7c2aadbb0d2db773ab08bac8b3125c84b77 SHA512 8260369d96a6328ad8498359ecc56f48cb02015547065cdaec28a6bb2293bef420cb12764fae9fdd13f4a6faa60c4c402e804a22cbed7dca031ac1679032f9f6
+DIST python-gentoo-patches-3.9.16_p1.tar.xz 25564 BLAKE2B e6b7f20bb0457011d74f441d58eb0c9c4426a61bf0f8a2146f0180104c7b8b5054a04afc664374a17f3770d3ae94836099c362e841e4c00631a75fc56a2b352d SHA512 43f473dba8f6bd19c6a30f169ec8e8abb9eefe7d26c357884ee27cabf1b5876c079ea0e9454b9e52021d15f070e0a824e3366cfde20d57175f5f89774ee50a5b
+DIST python-gentoo-patches-3.9.16_p2.tar.xz 26664 BLAKE2B 7176c58fd4bfe40489de33d67a0c106f9d170656e6ae47318b103ac45a4e0aca14e89790300c3881a3c9b8ca556996573621eb5dac0a71106ea0ae9bbf3e82c2 SHA512 792fcd53385d95e3ba5937b26099fcc19e62d3512783c25e734ee0cd153c8717e618dba010dd98b8647d3265bf94e40665e30494aae1a84181febbd7dbab3f36

diff --git a/dev-lang/python/python-3.9.16-r1.ebuild b/dev-lang/python/python-3.10.10_p2.ebuild
similarity index 95%
copy from dev-lang/python/python-3.9.16-r1.ebuild
copy to dev-lang/python/python-3.10.10_p2.ebuild
index cf5ee9b..bc46c2d 100644
--- a/dev-lang/python/python-3.9.16-r1.ebuild
+++ b/dev-lang/python/python-3.10.10_p2.ebuild
@@ -28,10 +28,10 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="
-	bluetooth build +ensurepip examples gdbm hardened lto +ncurses pgo
-	+readline +sqlite +ssl test tk valgrind +xml
+	bluetooth build +ensurepip examples gdbm hardened libedit lto
+	+ncurses pgo +readline +sqlite +ssl test tk valgrind +xml
 "
 RESTRICT="!test? ( test )"
 
@@ -43,7 +43,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="
 	app-arch/bzip2:=
 	app-arch/xz-utils:=
-	dev-lang/python-exec[python_targets_python3_9(-)]
+	dev-lang/python-exec[python_targets_python3_10(-)]
 	dev-libs/libffi:=
 	dev-python/gentoo-common
 	sys-apps/util-linux:=
@@ -53,7 +53,10 @@ RDEPEND="
 	ensurepip? ( dev-python/ensurepip-wheels )
 	gdbm? ( sys-libs/gdbm:=[berkdb] )
 	ncurses? ( >=sys-libs/ncurses-5.2:= )
-	readline? ( >=sys-libs/readline-4.1:= )
+	readline? (
+		!libedit? ( >=sys-libs/readline-4.1:= )
+		libedit? ( dev-libs/libedit:= )
+	)
 	sqlite? ( >=dev-db/sqlite-3.3.8:3= )
 	ssl? ( >=dev-libs/openssl-1.1.1:= )
 	tk? (
@@ -63,13 +66,14 @@ RDEPEND="
 		dev-tcltk/tix
 	)
 	xml? ( >=dev-libs/expat-2.1:= )
+	!!<sys-apps/sandbox-2.21
 "
 # bluetooth requires headers from bluez
 DEPEND="
 	${RDEPEND}
 	bluetooth? ( net-wireless/bluez )
-	test? ( app-arch/xz-utils[extra-filters(+)] )
 	valgrind? ( dev-util/valgrind )
+	test? ( app-arch/xz-utils[extra-filters(+)] )
 "
 # autoconf-archive needed to eautoreconf
 BDEPEND="
@@ -109,12 +113,9 @@ src_prepare() {
 	rm -r Modules/expat || die
 	rm -r Modules/_ctypes/libffi* || die
 
-	# Causes runtime issues with libressl
-	rm "${WORKDIR}/${PATCHSET}"/0013-bpo-43998-Default-to-TLS-1.2-and-increase-cipher-sui.patch || die
-
 	local PATCHES=(
 		"${WORKDIR}/${PATCHSET}"
-		"${FILESDIR}"/${PN}-3.9.9-r1-libressl.patch
+		"${FILESDIR}"/${PN}-3.10.3-libressl.patch
 	)
 
 	default
@@ -208,6 +209,7 @@ src_configure() {
 		ac_cv_header_stropts_h=no
 
 		--enable-shared
+		--without-static-libpython
 		--enable-ipv6
 		--infodir='${prefix}/share/info'
 		--mandir='${prefix}/share/man'
@@ -222,6 +224,7 @@ src_configure() {
 
 		$(use_with lto)
 		$(use_enable pgo optimizations)
+		$(use_with readline readline "$(usex libedit editline readline)")
 		$(use_with valgrind)
 	)
 
@@ -381,6 +384,8 @@ src_test() {
 	# bug 660358
 	local -x COLUMNS=80
 	local -x PYTHONDONTWRITEBYTECODE=
+	# workaround https://bugs.gentoo.org/775416
+	addwrite "/usr/lib/python${PYVER}/site-packages"
 
 	nonfatal emake test EXTRATESTOPTS="${test_opts[*]}" \
 		CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
@@ -396,9 +401,6 @@ src_install() {
 
 	emake DESTDIR="${D}" altinstall
 
-	# Remove static library
-	rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
-
 	# Fix collisions between different slots of Python.
 	rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
 

diff --git a/dev-lang/python/python-3.9.16-r1.ebuild b/dev-lang/python/python-3.9.16_p1.ebuild
similarity index 100%
copy from dev-lang/python/python-3.9.16-r1.ebuild
copy to dev-lang/python/python-3.9.16_p1.ebuild

diff --git a/dev-lang/python/python-3.9.16-r1.ebuild b/dev-lang/python/python-3.9.16_p2.ebuild
similarity index 99%
rename from dev-lang/python/python-3.9.16-r1.ebuild
rename to dev-lang/python/python-3.9.16_p2.ebuild
index cf5ee9b..84511dc 100644
--- a/dev-lang/python/python-3.9.16-r1.ebuild
+++ b/dev-lang/python/python-3.9.16_p2.ebuild
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
 IUSE="
 	bluetooth build +ensurepip examples gdbm hardened lto +ncurses pgo
 	+readline +sqlite +ssl test tk valgrind +xml


             reply	other threads:[~2023-03-05 14:20 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-05 14:20 Quentin Retornaz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-27 17:36 [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/ orbea
2024-10-18 15:17 orbea
2024-10-18 15:17 orbea
2024-10-06 14:36 orbea
2024-10-06 14:36 orbea
2024-09-20  1:05 orbea
2024-09-18 16:28 orbea
2024-09-13  1:40 orbea
2024-09-07  1:35 orbea
2024-09-07  1:35 orbea
2024-08-30 13:19 orbea
2024-08-29  0:48 orbea
2024-08-29  0:48 orbea
2024-08-12 15:51 orbea
2024-08-09  3:11 orbea
2024-08-08 22:55 orbea
2024-08-08 22:55 orbea
2024-07-29  1:58 orbea
2024-06-28 21:14 orbea
2024-06-28 21:14 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-04-28 20:49 orbea
2024-04-28 20:49 orbea
2024-04-13 16:14 orbea
2024-04-08 14:51 orbea
2024-03-15 19:35 orbea
2024-03-10  7:27 orbea
2024-03-10  7:27 orbea
2024-03-10  7:27 orbea
2024-02-24 19:50 orbea
2024-02-24 19:50 orbea
2024-02-15 20:47 orbea
2024-02-12 23:16 orbea
2024-02-12 23:16 orbea
2024-01-31  0:07 orbea
2024-01-16  1:11 orbea
2024-01-14 15:06 orbea
2024-01-14 15:06 orbea
2023-12-29 14:54 orbea
2023-12-29 14:54 orbea
2023-12-22 14:56 orbea
2023-12-22 14:49 orbea
2023-12-12 17:36 orbea
2023-12-01 15:12 orbea
2023-12-01 14:54 orbea
2023-11-05  3:44 orbea
2023-09-17 16:22 orbea
2023-08-29 23:43 orbea
2023-08-26 15:16 orbea
2023-06-28  1:12 orbea
2023-06-28  1:12 orbea
2023-06-21 15:35 orbea
2023-06-21 15:35 orbea
2023-05-31 15:34 orbea
2023-05-10 21:14 orbea
2023-05-10 21:14 orbea
2023-05-10 21:14 orbea
2023-05-06 18:42 orbea
2023-05-06 18:42 orbea
2023-03-16 21:53 Quentin Retornaz
2023-03-16 21:53 Quentin Retornaz
2023-03-05 21:46 Quentin Retornaz
2023-03-05 14:20 Quentin Retornaz
2023-03-05 14:20 Quentin Retornaz
2023-02-02 21:54 Quentin Retornaz
2023-01-17  0:52 Quentin Retornaz
2023-01-17  0:52 Quentin Retornaz
2022-12-08 14:51 Quentin Retornaz
2022-12-08 14:51 Quentin Retornaz
2022-11-15 21:18 Quentin Retornaz
2022-11-15 21:18 Quentin Retornaz
2022-11-13 14:47 Quentin Retornaz
2022-11-06 21:06 Quentin Retornaz
2022-11-02 23:39 Quentin Retornaz
2022-11-02 23:39 Quentin Retornaz
2022-10-16 11:05 Quentin Retornaz
2022-10-16 11:05 Quentin Retornaz
2022-10-09 18:12 Quentin Retornaz
2022-09-23 16:00 Quentin Retornaz
2022-08-26 20:59 Quentin Retornaz
2022-08-26 20:59 Quentin Retornaz
2022-07-02 22:00 Quentin Retornaz
2022-06-27 23:11 Quentin Retornaz
2022-06-27 23:11 Quentin Retornaz
2022-06-19  4:04 Quentin Retornaz
2022-06-19  4:04 Quentin Retornaz
2022-06-19  4:04 Quentin Retornaz
2022-05-01  0:19 Quentin Retornaz
2022-04-28 23:40 Quentin Retornaz
2022-04-28 23:40 Quentin Retornaz
2022-01-15 19:13 Quentin Retornaz
2022-01-15 19:13 Quentin Retornaz
2021-12-08 18:34 Quentin Retornaz
2021-11-06 18:17 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-09-19 10:41 Quentin Retornaz
2021-08-20 23:56 Quentin Retornaz
2021-08-20 23:56 Quentin Retornaz
2021-07-28 22:26 Quentin Retornaz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678025976.f2561451a7ee376ac200107c516b20ae4afebc11.quentin@gentoo \
    --to=gentoo@retornaz.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox