Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/oniguruma/
Date: Fri, 16 Apr 2021 17:00:25
Message-Id: 1618592349.91e4b337731028dbc1a60a090158ce40f3b90ba2.floppym@gentoo
1 commit: 91e4b337731028dbc1a60a090158ce40f3b90ba2
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Apr 16 01:00:00 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 16:59:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e4b337
7
8 dev-libs/oniguruma: Version bump (6.9.7.1).
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 dev-libs/oniguruma/Manifest | 1 +
14 dev-libs/oniguruma/oniguruma-6.9.7.1.ebuild | 55 +++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/dev-libs/oniguruma/Manifest b/dev-libs/oniguruma/Manifest
18 index e64dc4eea27..2858173346a 100644
19 --- a/dev-libs/oniguruma/Manifest
20 +++ b/dev-libs/oniguruma/Manifest
21 @@ -1,2 +1,3 @@
22 DIST onig-6.9.6.tar.gz 926459 BLAKE2B 7a5fb49b35abe11fb91e7e4529855411fa0eb357897a2b327ddb5696a2c1e5f9fe7eb653fe84dbaeeff9c77e5489fd042d65e84f5b8e3e907bd30d60a0b75914 SHA512 eb44f70347f49945fe054ad65370dbfd6b30b2e8442fb90b6c72413b7f9a8cb77ca98d1a4714d1d32b763551430436cc0175c0efaf2c73268363a9b6ecb5e3bc
23 +DIST onig-6.9.7.1.tar.gz 935705 BLAKE2B 1042d5b211f53ad8983eb6b4e53beb165bc948bbef9a85ad12578a9237a804e3dcd0a8105914156230ec30e11f2c8a0372c37919cdde7b2be104c66a8b22fb52 SHA512 17711e0d451c41e74cb3f8ab4e78b0181578ef42cb35dc64e87871c82a41909334cb4eeb03eccdccf6904f699e6e82b0dbb54077138225b9b95471fcdeb8c486
24 DIST onig-6.9.7.tar.gz 935733 BLAKE2B dcabf46429ba1a99fb3c645144ee68cba2594ae30972dbfedc229eaca0686c32b776688218c68564a8c24f9f782f84901cd81bca01e2126ec39c742c002a517c SHA512 eba6057f87ef5897fe72d4535942e005329ec532db2f4cf8d5e901c478c151eedf3886ce04d595c406e2d5ad98273c0c2696eb46da5ee359b24f8221531e1f5a
25
26 diff --git a/dev-libs/oniguruma/oniguruma-6.9.7.1.ebuild b/dev-libs/oniguruma/oniguruma-6.9.7.1.ebuild
27 new file mode 100644
28 index 00000000000..46eb96a4eef
29 --- /dev/null
30 +++ b/dev-libs/oniguruma/oniguruma-6.9.7.1.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 2003-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +inherit multilib-minimal
38 +
39 +if [[ "${PV}" == "9999" ]]; then
40 + inherit autotools git-r3
41 +
42 + EGIT_REPO_URI="https://github.com/kkos/oniguruma"
43 +fi
44 +
45 +DESCRIPTION="Regular expression library for different character encodings"
46 +HOMEPAGE="https://github.com/kkos/oniguruma"
47 +if [[ "${PV}" == "9999" ]]; then
48 + SRC_URI=""
49 +else
50 + SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz"
51 +fi
52 +
53 +LICENSE="BSD-2"
54 +SLOT="0/5"
55 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
56 +IUSE="crnl-as-line-terminator static-libs"
57 +
58 +BDEPEND=""
59 +DEPEND=""
60 +RDEPEND=""
61 +
62 +if [[ "${PV}" != "9999" ]]; then
63 + S="${WORKDIR}/onig-$(ver_cut 1-3)"
64 +fi
65 +
66 +DOCS=(AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES})
67 +
68 +src_prepare() {
69 + default
70 +
71 + if [[ "${PV}" == "9999" ]]; then
72 + eautoreconf
73 + fi
74 +}
75 +
76 +multilib_src_configure() {
77 + ECONF_SOURCE="${S}" econf \
78 + --enable-posix-api \
79 + $(use_enable crnl-as-line-terminator) \
80 + $(use_enable static-libs static)
81 +}
82 +
83 +multilib_src_install_all() {
84 + einstalldocs
85 + find "${ED}" -name "*.la" -delete || die
86 +}