| 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_{11..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
|
| 122 |
121 |
)
|
| 123 |
122 |
|
| 124 |
123 |
if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then
|
| ... | ... | |
| 175 |
174 |
myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
|
| 176 |
175 |
fi
|
| 177 |
176 |
|
|
177 |
# https://savannah.gnu.org/support/?111394
|
|
178 |
# This can be removed when we patch dev-build/autoconf, though
|
|
179 |
# packages w/o eautoreconf will still need it.
|
|
180 |
[[ ${enable_year2038} == "no" ]] && myconf+=( --disable-year2038 )
|
|
181 |
|
| 178 |
182 |
if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
|
| 179 |
183 |
# bug #311569
|
| 180 |
184 |
export fu_cv_sys_stat_statfs2_bsize=yes
|
| ... | ... | |
| 191 |
195 |
sed -i '/elf_sys=yes/s:yes:no:' configure || die
|
| 192 |
196 |
fi
|
| 193 |
197 |
|
| 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[@]}"
|
|
198 |
econf "${myconf[@]}"
|
| 197 |
199 |
}
|
| 198 |
200 |
|
| 199 |
201 |
src_test() {
|