Diff crosstool-ng-1.26.0-r1 with a crosstool-ng-1.27.0

/usr/portage/sys-devel/crosstool-ng/crosstool-ng-1.27.0.ebuild 2025-07-29 16:22:17.916470157 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{10..12} )
6
PYTHON_COMPAT=( python3_{10..13} )
7 7
inherit python-single-r1
8 8

  
9 9
DESCRIPTION="Versatile (cross-)toolchain generator"
......
11 11

  
12 12
if [[ ${PV} == 9999 ]] ; then
13 13
	EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git"
14
	inherit git-r3
14
	inherit autotools git-r3
15 15
else
16 16
	SRC_URI="
17 17
		https://github.com/crosstool-ng/crosstool-ng/releases/download/${PN}-${PV/_rc/-rc}/${P}.tar.xz
......
56 56
	${BDEPEND}
57 57
"
58 58

  
59
src_prepare() {
60
	if [[ ${PV} == 9999 ]]; then
61
		# Some data files must be generated before autoreconf, and the logic
62
		# is non-trivial, so the upstream bootstrap script must be used.
63
		# In addition, eautoreconf mis-detects the project to make use of
64
		# gettext while it actually isn't, so just rely on the invocation of
65
		# autoreconf for us in the bootstrap script.
66
		./bootstrap || die "bootstrap failed"
67
	fi
68

  
69
	default
70
}
71

  
59 72
src_configure() {
60 73
	# Needs bison+flex
61 74
	unset YACC LEX
62 75

  
63
	default
76
	CONFIG_SHELL="${BROOT}"/bin/bash econf
64 77
}
65 78

  
66 79
src_install() {
67 80
	emake DESTDIR="${D}" install
68 81

  
69
	if use doc ; then
70
		mv "${ED}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} "${ED}"/usr/share/doc/ || die
71
	fi
72

  
73
	rm -rf "${ED}"/usr/share/doc/crosstool-ng || die
74
	rm -rf "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
82
	rm -f "${ED}"/usr/share/man/man1/ct-ng.1.gz || die
75 83
	doman docs/ct-ng.1
76 84
}
Thank you!