Diff snowball-stemmer-2.1.0-r1 with a snowball-stemmer-2.2.0

/usr/portage/dev-libs/snowball-stemmer/snowball-stemmer-2.2.0.ebuild 2023-10-09 14:52:29.760368357 +0300
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8
MY_TESTDATA_COMMIT="887fb7a3e006f32b4979e0d55f2543abe78a42f1"
8
MY_TESTDATA_COMMIT="0703f1d6a21802c3ff00c2c8b31bd255b74b2aec"
9 9

  
10 10
DESCRIPTION="Snowball compiler and stemming algorithms"
11 11
HOMEPAGE="https://snowballstem.org/ https://github.com/snowballstem/snowball/"
......
14 14

  
15 15
LICENSE="BSD"
16 16
SLOT="0/$(ver_cut 1)"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos"
18 18
IUSE="static-libs test"
19 19

  
20 20
BDEPEND="dev-lang/perl
......
28 28
)
29 29

  
30 30
src_compile() {
31
	export CC="$(tc-getCC)"
32
	export AR="$(tc-getAR)"
31
	tc-export CC AR
33 32
	default
34 33
}
35 34

  
35
src_test() {
36
	emake -j1 STEMMING_DATA="${WORKDIR}/snowball-data-${MY_TESTDATA_COMMIT}" check
37
}
38

  
36 39
src_install() {
37 40
	dodoc README.rst NEWS
38 41

  
......
46 49

  
47 50
	use static-libs && dolib.a libstemmer.a
48 51
}
49

  
50
src_test() {
51
	emake -j1 STEMMING_DATA="${WORKDIR}/snowball-data-${MY_TESTDATA_COMMIT}" check
52
}
Thank you!