Diff colm-0.13.0.7 with a colm-0.14.7

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

  
4 4
EAPI=7
5 5

  
6
inherit autotools toolchain-funcs
7

  
6 8
DESCRIPTION="COmputer Language Manipulation"
7 9
HOMEPAGE="https://www.colm.net/open-source/colm/"
8 10
SRC_URI="https://www.colm.net/files/${PN}/${P}.tar.gz"
9 11

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

  
17
BDEPEND="
18
	doc? (
19
		|| ( app-text/asciidoc dev-ruby/asciidoctor )
20
		dev-python/pygments
21
	)
22
"
23
# libfsm moved from ragel -> colm, bug #766108
24
RDEPEND="!<dev-util/ragel-7.0.3"
25

  
26
PATCHES=(
27
	"${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch
28
)
29

  
30
src_prepare() {
31
	default
32

  
33
	# bug #733426
34
	sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
35

  
36
	# bug #766069
37
	sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die
38
	sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || die
13 39

  
14
BDEPEND="app-text/asciidoc"
40
	eautoreconf
41
}
15 42

  
16 43
src_configure() {
17
	econf --disable-static
44
	econf $(use_enable doc manual)
45
}
46

  
47
src_test() {
48
	# Build tests
49
	default
50

  
51
	# Run them
52
	cd test || die
53
	./runtests || die
18 54
}
19 55

  
20 56
src_install() {
21 57
	default
22
	find "${D}" -name '*.la' -delete || die
58

  
59
	# NOTE: dev-util/ragel needs the static libraries
60
	# and .la files, unfortunately.
61
	# (May have better luck if we use the CMake port?)
23 62
}
Thank you!