Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/
Date: Wed, 29 Sep 2021 08:16:29
Message-Id: 1632903381.cde673a325cf031ba0bc7cbb540e9dd0c427c9a2.mgorny@gentoo
1 commit: cde673a325cf031ba0bc7cbb540e9dd0c427c9a2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 07:29:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 08:16:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde673a3
7
8 sys-apps/portage: Bump to 3.0.26
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-apps/portage/Manifest | 1 +
13 .../{portage-9999.ebuild => portage-3.0.26.ebuild} | 22 +++++++++++++++++-----
14 sys-apps/portage/portage-9999.ebuild | 2 +-
15 3 files changed, 19 insertions(+), 6 deletions(-)
16
17 diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
18 index 06543c64f72..715d91e67f3 100644
19 --- a/sys-apps/portage/Manifest
20 +++ b/sys-apps/portage/Manifest
21 @@ -9,3 +9,4 @@ DIST portage-3.0.20.tar.gz 1348818 BLAKE2B e8af0662d073110a921ef23865872b0440f5e
22 DIST portage-3.0.22.tar.bz2 1150425 BLAKE2B af9cb1eeb96d887fe13514b14b9820c37b0de3204ebd423e69fea839a2908db2a916a03e82186ee9cc64562b770c27e407431fc00427ec1a5119b80ce35d5128 SHA512 0c227cb5a532235e735f973a5eb8f018189abb067e4b94276a780357b6ce93c9c967a03a3320affddf3c614fd26188e7598eeaee350305013b427a343892b016
23 DIST portage-3.0.23.tar.bz2 1150929 BLAKE2B 26009cd2c19a138783a713d524744215796d35bb495e753e0fc76a354db89cfd210bdb62eea2dc54609e18024be49cec0e1de96bb6225f6d50fe9d8f52d8cbe5 SHA512 e0b21cd9f2eeaf201e2caf9f39afd9d0525a25d1576955b277ea9b44f0fcfdbe27ff54de16a06da53f72a08bbafc73a14f9d874dba4edebca3cbdf69fbf31862
24 DIST portage-3.0.24.tar.bz2 1153838 BLAKE2B b2cbb8b3156987f42ff6c8f140586eae40da4a0a42091a4d11f46b61b66e81ac8e4c366e69b12c06d3a300405f089d68e70175efb7eabe25bb19c47679c19873 SHA512 b16751ba0b4c604cd7d72ad8dfaad40d845f87066b4e54fe264093b88a0b29a6af4e8b72f00be2da501fd288dfa23143d8f61f49048e8565b9d17687ef3732d9
25 +DIST portage-3.0.26.tar.bz2 1153321 BLAKE2B bec2409fa80b236bff10ba1840f6b11294a2a08148e2fd143e13f09f8baf68a1fe1a0a448169850e33b4bb00eefbd0745e6503ffe61d0e5ca604d949a93c997c SHA512 d3ac941a3f9b24747e66ceda508ca6b6211c6ec412b7fbdfbbc9191696b67516aec4ab5ee5e49a086e32567e54f9156c3bf5c4fddb85ccebb1c61bb4c87e719a
26
27 diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-3.0.26.ebuild
28 similarity index 88%
29 copy from sys-apps/portage/portage-9999.ebuild
30 copy to sys-apps/portage/portage-3.0.26.ebuild
31 index 362444730f0..2520a5c5919 100644
32 --- a/sys-apps/portage/portage-9999.ebuild
33 +++ b/sys-apps/portage/portage-3.0.26.ebuild
34 @@ -3,24 +3,24 @@
35
36 EAPI=7
37
38 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
39 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
40 PYTHON_REQ_USE='bzip2(+),threads(+)'
41 TMPFILES_OPTIONAL=1
42
43 -inherit distutils-r1 git-r3 linux-info tmpfiles prefix
44 +inherit distutils-r1 linux-info tmpfiles prefix
45
46 DESCRIPTION="The package management and distribution system for Gentoo"
47 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
48 -EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git
49 - https://github.com/gentoo/portage.git"
50 +SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2"
51
52 LICENSE="GPL-2"
53 -KEYWORDS=""
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
55 SLOT="0"
56 IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr"
57 RESTRICT="!test? ( test )"
58
59 BDEPEND="
60 + app-arch/xz-utils
61 test? ( dev-vcs/git )"
62 DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
63 >=app-arch/tar-1.27
64 @@ -82,6 +82,8 @@ pkg_pretend() {
65 python_prepare_all() {
66 distutils-r1_python_prepare_all
67
68 + sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
69 +
70 if use gentoo-dev; then
71 einfo "Disabling --dynamic-deps by default for gentoo-dev..."
72 sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
73 @@ -249,4 +251,14 @@ pkg_preinst() {
74 if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then
75 chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog}
76 fi
77 +
78 + if has_version "<${CATEGORY}/${PN}-2.3.77"; then
79 + elog "The emerge --autounmask option is now disabled by default, except for"
80 + elog "portions of behavior which are controlled by the --autounmask-use and"
81 + elog "--autounmask-license options. For backward compatibility, previous"
82 + elog "behavior of --autounmask=y and --autounmask=n is entirely preserved."
83 + elog "Users can get the old behavior simply by adding --autounmask to the"
84 + elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this"
85 + elog "change, see https://bugs.gentoo.org/658648."
86 + fi
87 }
88
89 diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
90 index 362444730f0..8d3f85a5772 100644
91 --- a/sys-apps/portage/portage-9999.ebuild
92 +++ b/sys-apps/portage/portage-9999.ebuild
93 @@ -3,7 +3,7 @@
94
95 EAPI=7
96
97 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
98 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
99 PYTHON_REQ_USE='bzip2(+),threads(+)'
100 TMPFILES_OPTIONAL=1