1 |
commit: 44d986efea399a2adcedec918c7a061f1cf1f780 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 00:25:32 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 01:00:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d986ef |
7 |
|
8 |
dev-util/ragel: port 6.10 to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-util/ragel/ragel-6.10.ebuild | 24 ++++++++++++------------ |
14 |
1 file changed, 12 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/ragel/ragel-6.10.ebuild b/dev-util/ragel/ragel-6.10.ebuild |
17 |
index 8c0d3bba319..00b8d07df42 100644 |
18 |
--- a/dev-util/ragel/ragel-6.10.ebuild |
19 |
+++ b/dev-util/ragel/ragel-6.10.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=7 |
26 |
|
27 |
-inherit eutils autotools autotools-utils |
28 |
+inherit autotools |
29 |
|
30 |
DESCRIPTION="Compiles finite state machines from regular languages into executable code" |
31 |
HOMEPAGE="http://www.colm.net/open-source/ragel/" |
32 |
@@ -12,26 +12,26 @@ SRC_URI="http://www.colm.net/files/ragel/${P}.tar.gz" |
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
36 |
-IUSE="vim-syntax" |
37 |
- |
38 |
-DEPEND="" |
39 |
-RDEPEND="" |
40 |
|
41 |
# We need to get the txl language in Portage to have the tests :( |
42 |
-RESTRICT=test |
43 |
+RESTRICT="test" |
44 |
|
45 |
DOCS=( ChangeLog CREDITS README TODO ) |
46 |
|
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
src_test() { |
54 |
cd "${S}"/test |
55 |
./runtests.in || die |
56 |
} |
57 |
|
58 |
src_install() { |
59 |
- autotools-utils_src_install |
60 |
+ default |
61 |
|
62 |
- if use vim-syntax; then |
63 |
- insinto /usr/share/vim/vimfiles/syntax |
64 |
- doins ragel.vim |
65 |
- fi |
66 |
+ insinto /usr/share/vim/vimfiles/syntax |
67 |
+ doins ragel.vim |
68 |
} |