Diff coreutils-9.10 with a coreutils-9.11-r1

/usr/portage/sys-apps/coreutils/coreutils-9.11-r1.ebuild 2026-09-22 20:03:05.261817371 +0300
9 9
#
10 10
# Also recommend subscribing to the coreutils and bug-coreutils MLs.
11 11

  
12
PYTHON_COMPAT=( python3_{11..13} )
12
PYTHON_COMPAT=( python3_{12..14} )
13 13
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc
14 14
inherit branding flag-o-matic python-any-r1 toolchain-funcs verify-sig
15 15

  
......
23 23
elif [[ ${PV} == *_p* ]] ; then
24 24
	# Note: could put this in devspace, but if it's gone, we don't want
25 25
	# it in tree anyway. It's just for testing.
26
	MY_SNAPSHOT="$(ver_cut 1-2).327-71a8c"
26
	MY_SNAPSHOT="$(ver_cut 1-2).299-27a7c"
27 27
	SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz"
28 28
	SRC_URI+=" verify-sig? ( https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig )"
29 29
	S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
......
33 33
		verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
34 34
	"
35 35

  
36
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
36
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
37 37
fi
38 38

  
39 39
SRC_URI+=" !vanilla? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
......
118 118
	local PATCHES=(
119 119
		"${FILESDIR}"/${PN}-9.5-skip-readutmp-test.patch
120 120
		# Upstream patches
121
		"${FILESDIR}"/${PN}-9.10-dash-tests.patch
121
		"${FILESDIR}"/${PN}-9.11-tee.patch
122 122
	)
123 123

  
124 124
	if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then
......
175 175
		myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
176 176
	fi
177 177

  
178
	# https://savannah.gnu.org/support/?111394
179
	# This can be removed when we patch dev-build/autoconf, though
180
	# packages w/o eautoreconf will still need it.
181
	[[ ${enable_year2038} == "no" ]] && myconf+=( --disable-year2038 )
182

  
178 183
	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
179 184
		# bug #311569
180 185
		export fu_cv_sys_stat_statfs2_bsize=yes
......
191 196
		sed -i '/elf_sys=yes/s:yes:no:' configure || die
192 197
	fi
193 198

  
194
	# TODO: Drop CONFIG_SHELL for bash after 9.10
195
	# https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=a72ad1216d8cf96be542e2e7a4dd1d6151d6087b
196
	CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
199
	econf "${myconf[@]}"
197 200
}
198 201

  
199 202
src_test() {
......
246 249
		)
247 250
	fi
248 251

  
252
	[[ ${enable_year2038} == "no" ]] && xfail_tests+=( test-year2038 )
253

  
249 254
	# This test is flaky (bug #910640).
250 255
	cat > tests/tty/tty-eof.pl <<-EOF || die
251 256
	#!/usr/bin/perl
Thank you!