Сравнение ed-1.18 с ed-1.19-r1

/usr/portage/sys-apps/ed/ed-1.19-r1.ebuild 2023-10-09 14:52:35.368368498 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="7"
4
EAPI=8
5 5

  
6 6
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/antoniodiazdiaz.asc
7
inherit toolchain-funcs unpacker verify-sig
7
inherit edo toolchain-funcs unpacker verify-sig
8 8

  
9 9
MY_P="${PN}-${PV/_/-}"
10 10

  
11 11
DESCRIPTION="Your basic line editor"
12 12
HOMEPAGE="https://www.gnu.org/software/ed/"
13
SRC_URI="mirror://gnu/ed/${P}.tar.lz"
14
SRC_URI+=" verify-sig? ( mirror://gnu/ed/${P}.tar.lz.sig )"
13
SRC_URI="
14
	mirror://gnu/ed/${MY_P}.tar.lz
15
	https://download.savannah.gnu.org/releases/ed/${MY_P}.tar.lz
16
	verify-sig? (
17
		mirror://gnu/ed/${MY_P}.tar.lz.sig
18
		https://download.savannah.gnu.org/releases/ed/${MY_P}.tar.lz.sig
19
	)
20
"
15 21
S="${WORKDIR}"/${MY_P}
16 22

  
17 23
LICENSE="GPL-2+"
18 24
SLOT="0"
19 25
if [[ ${PV} != *_rc* ]] ; then
20
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
26
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
21 27
fi
22 28

  
23
BDEPEND="sys-apps/texinfo
29
BDEPEND="
30
	sys-apps/texinfo
24 31
	$(unpacker_src_uri_depends)
25
	verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )"
32
	verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )
33
"
26 34

  
27 35
src_unpack() {
28
	use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.lz{,.sig}
29
	unpacker "${DISTDIR}"/${P}.tar.lz
36
	use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.lz{,.sig}
37
	unpacker "${DISTDIR}"/${MY_P}.tar.lz
30 38
}
31 39

  
32 40
src_configure() {
33
	./configure \
41
	edo ./configure \
34 42
		CC="$(tc-getCC)" \
35 43
		CFLAGS="${CFLAGS}" \
36 44
		LDFLAGS="${LDFLAGS}" \
37 45
		CPPFLAGS="${CPPFLAGS}" \
38 46
		--bindir="${EPREFIX}/bin" \
39
		--prefix="${EPREFIX}/usr" || die
47
		--prefix="${EPREFIX}/usr"
40 48
}
Спасибо!