Diff pegtl-2.8.3-r1 with a pegtl-3.2.1
/usr/portage/dev-libs/pegtl/pegtl-3.2.1.ebuild 2023-10-09 14:52:29.752368357 +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 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit cmake |
7 | 7 | |
8 | 8 |
DESCRIPTION="Header-only library for creating parsers according to Parsing Expression Grammar" |
9 | 9 |
HOMEPAGE="https://github.com/taocpp/PEGTL" |
10 | 10 |
SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz" |
11 |
S="${WORKDIR}/${P^^}" |
|
11 | 12 | |
12 | 13 |
LICENSE="MIT" |
13 | 14 |
SLOT="0" |
14 |
KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" |
|
15 |
IUSE="test" |
|
16 | ||
17 |
RESTRICT="!test? ( test )" |
|
18 | ||
19 |
S="${WORKDIR}/PEGTL-${PV}" |
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
|
20 | 16 | |
21 | 17 |
PATCHES=( |
22 |
"${FILESDIR}/${P}-cmake.patch" |
|
23 |
"${FILESDIR}/${P}-gcc-10.patch" # bug 733678 |
|
18 |
"${FILESDIR}"/${P}-werror.patch |
|
24 | 19 |
) |
25 | 20 | |
26 | 21 |
src_configure() { |