From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D77815800A for ; Mon, 24 Jul 2023 22:45:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7903AE079C; Mon, 24 Jul 2023 22:45:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B27CE079C for ; Mon, 24 Jul 2023 22:45:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 356F9335D60 for ; Mon, 24 Jul 2023 22:45:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7EB6DBE for ; Mon, 24 Jul 2023 22:45:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1690238704.8b9d01719e16b0016f6525a99e8087e8ee1b50eb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/glibc/glibc-2.37-r3.ebuild sys-libs/glibc/glibc-9999.ebuild X-VCS-Directories: sys-libs/glibc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8b9d01719e16b0016f6525a99e8087e8ee1b50eb X-VCS-Branch: master Date: Mon, 24 Jul 2023 22:45:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 15e1cc43-0ef6-44a5-aefc-403cd9f81bc8 X-Archives-Hash: 044c1b25f1b3257381e9cfbebd6a101a commit: 8b9d01719e16b0016f6525a99e8087e8ee1b50eb Author: Sam James gentoo org> AuthorDate: Mon Jul 24 22:45:04 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 24 22:45:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9d0171 Revert "sys-libs/glibc: relax python dependencies" This reverts commit 018d5f301fe4bf859e66bf5f1f7b9db94d8104c2. Now that bug #910288 is fixed, we don't need to do this anymore. Bug: https://bugs.gentoo.org/910288 Signed-off-by: Sam James gentoo.org> sys-libs/glibc/glibc-2.37-r3.ebuild | 16 ++++++++++------ sys-libs/glibc/glibc-9999.ebuild | 18 +++++++++++------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/sys-libs/glibc/glibc-2.37-r3.ebuild b/sys-libs/glibc/glibc-2.37-r3.ebuild index f46cdcac0bfa..c3c9ca521d37 100644 --- a/sys-libs/glibc/glibc-2.37-r3.ebuild +++ b/sys-libs/glibc/glibc-2.37-r3.ebuild @@ -6,13 +6,10 @@ EAPI=8 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -# Please keep the python line in BDEPEND updated and do NOT use eclasses pr -# ${PYTHON_DEPS} (since they are too strict and lead to problems with the -# package order during upgrades). - +PYTHON_COMPAT=( python3_{9..11} ) TMPFILES_OPTIONAL=1 -inherit prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ +inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ multilib systemd multiprocessing tmpfiles DESCRIPTION="GNU libc C library" @@ -104,7 +101,7 @@ IDEPEND=" !compile-locales? ( sys-apps/locale-gen ) " BDEPEND=" - || ( dev-lang/python:3.11 dev-lang/python:3.10 dev-lang/python:3.9 ) + ${PYTHON_DEPS} >=app-misc/pax-utils-${MIN_PAX_UTILS_VER} sys-devel/bison compile-locales? ( sys-apps/locale-gen ) @@ -867,6 +864,13 @@ pkg_pretend() { upgrade_warning } +# pkg_setup + +pkg_setup() { + # see bug 682570 + [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup +} + # src_unpack src_unpack() { diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 11f5063768f5..a0250a2928fc 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -6,13 +6,10 @@ EAPI=8 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -# Please keep the python line in BDEPEND updated and do NOT use eclasses pr -# ${PYTHON_DEPS} (since they are too strict and lead to problems with the -# package order during upgrades). - +PYTHON_COMPAT=( python3_{9..11} ) TMPFILES_OPTIONAL=1 -inherit prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ +inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ multilib systemd multiprocessing tmpfiles DESCRIPTION="GNU libc C library" @@ -42,7 +39,7 @@ MIN_PAX_UTILS_VER="1.3.3" if [[ ${PV} == 9999* ]]; then inherit git-r3 else - #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" SRC_URI="mirror://gnu/glibc/${P}.tar.xz" SRC_URI+=" https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz" fi @@ -104,7 +101,7 @@ IDEPEND=" !compile-locales? ( sys-apps/locale-gen ) " BDEPEND=" - || ( dev-lang/python:3.11 dev-lang/python:3.10 dev-lang/python:3.9 ) + ${PYTHON_DEPS} >=app-misc/pax-utils-${MIN_PAX_UTILS_VER} sys-devel/bison compile-locales? ( sys-apps/locale-gen ) @@ -867,6 +864,13 @@ pkg_pretend() { upgrade_warning } +# pkg_setup + +pkg_setup() { + # see bug 682570 + [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup +} + # src_unpack src_unpack() {