Diff ragel-6.10 with a ragel-7.0.0.12

/usr/portage/dev-util/ragel/ragel-7.0.0.12.ebuild 2023-10-09 14:52:30.992368388 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
6 6
inherit autotools
7 7

  
8 8
DESCRIPTION="Compiles finite state machines from regular languages into executable code"
9
HOMEPAGE="http://www.colm.net/open-source/ragel/"
10
SRC_URI="http://www.colm.net/files/ragel/${P}.tar.gz"
9
HOMEPAGE="https://www.colm.net/open-source/ragel/"
10
SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
11 11

  
12
LICENSE="GPL-2"
12
LICENSE="MIT"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
14
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
15
IUSE="vim-syntax"
15 16

  
16
# We need to get the txl language in Portage to have the tests :(
17
RESTRICT="test"
18

  
19
DOCS=( ChangeLog CREDITS README TODO )
17
DEPEND="~dev-util/colm-0.13.0.7"
18
RDEPEND="${DEPEND}"
20 19

  
21 20
src_prepare() {
22 21
	default
23

  
24 22
	eautoreconf
25 23
}
26 24

  
27
src_test() {
28
	cd "${S}"/test
29
	./runtests.in || die
25
src_configure() {
26
	econf --disable-static
30 27
}
31 28

  
32 29
src_install() {
30
	if use vim-syntax; then
31
		insinto /usr/share/vim/vimfiles/syntax
32
		doins ragel.vim
33
	fi
33 34
	default
34

  
35
	insinto /usr/share/vim/vimfiles/syntax
36
	doins ragel.vim
35
	find "${D}" -name '*.la' -delete || die
37 36
}
Thank you!