Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblognorm/
Date: Thu, 26 Apr 2018 22:00:37
Message-Id: 1524780028.927075c7e459573e4158a8bd47251412fcb37007.whissi@gentoo
1 commit: 927075c7e459573e4158a8bd47251412fcb37007
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 26 22:00:14 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 26 22:00:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927075c7
7
8 dev-libs/liblognorm: Bump to v2.0.5
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 dev-libs/liblognorm/Manifest | 1 +
13 dev-libs/liblognorm/liblognorm-2.0.5.ebuild | 72 +++++++++++++++++++++++++++++
14 2 files changed, 73 insertions(+)
15
16 diff --git a/dev-libs/liblognorm/Manifest b/dev-libs/liblognorm/Manifest
17 index 51941a2ca57..af8a577bee1 100644
18 --- a/dev-libs/liblognorm/Manifest
19 +++ b/dev-libs/liblognorm/Manifest
20 @@ -4,3 +4,4 @@ DIST liblognorm-2.0.1.tar.gz 657390 BLAKE2B afdec1d1afbf0cfae7a317a4bdfd109457f3
21 DIST liblognorm-2.0.2.tar.gz 658976 BLAKE2B 44a928ca4d8934f9b6f0b81610315a7de1f0968d2d62fddf9e919699c2fa10d1bce94f0a46a40ff9bf6521ae7dc7a88440febd1b770af9dc3983d13e5a10e188 SHA512 7cb1e20c895859072b9d6f0b3c2dd89874192dce6d11878a4c3eb0b0d9f1691d97205a61290e9cd07deeaa71c58f5fb6a4c1f14bd206119d690cf84c107ccbe4
22 DIST liblognorm-2.0.3.tar.gz 660680 BLAKE2B d5da4386026faae43dbcbe36aacc47687ef8636be2223a596a9915adee731535083016e5d680c9169cb8d4262a7f3d2342a9e6af566108a635f9d49fcf2cfec5 SHA512 8f343f3029c506a9c060b1b55e478da9ceedc1fbf27ca53a991ffbddb397383adfee2d79beb174a6c997599ee3c0fa4bbc9925fa850e5bf4f4d7b181ddae7cdb
23 DIST liblognorm-2.0.4.tar.gz 665898 BLAKE2B 80bcd114d2be81f8eea847e699b7e8ade9ca37d4376f64af81bfaba1a440e1efbab579235aba775c46a9d011e930453d2c001de525577b7775784e7152b3e700 SHA512 3c7cbf0c8c320708615218009354d198ba0893632ca464a07270f59d137753dfc7ad6dae66b565660f14e9285f9c8964824d36070b1872b6c633589b4996ba02
24 +DIST liblognorm-2.0.5.tar.gz 667709 BLAKE2B 9f2a774c2378caa460a1f11e21570e719f83e782c5731a35921099b1b31397495ea2a4baebd489d186526eb2d011f2ab30d971713a8083c1ae02168d3f632ce8 SHA512 2b36fabfa8b751127d47f307833414d339ae43bad5b687ce6ac42a961021f9a515703ca0c4808e098ef49be3a943abdbf307f90995a2331c6e266167ef041d00
25
26 diff --git a/dev-libs/liblognorm/liblognorm-2.0.5.ebuild b/dev-libs/liblognorm/liblognorm-2.0.5.ebuild
27 new file mode 100644
28 index 00000000000..53b1689f8f1
29 --- /dev/null
30 +++ b/dev-libs/liblognorm/liblognorm-2.0.5.ebuild
31 @@ -0,0 +1,72 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="Fast samples-based log normalization library"
40 +HOMEPAGE="http://www.liblognorm.com"
41 +
42 +if [[ ${PV} == "9999" ]]; then
43 + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
44 +
45 + inherit git-r3
46 +else
47 + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz"
48 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux"
49 +fi
50 +
51 +LICENSE="LGPL-2.1 Apache-2.0"
52 +SLOT="0/5.1.0"
53 +IUSE="debug doc static-libs test"
54 +
55 +RDEPEND="
56 + >=dev-libs/libestr-0.1.3
57 + >=dev-libs/libfastjson-0.99.2:=
58 +"
59 +
60 +DEPEND="
61 + ${RDEPEND}
62 + >=sys-devel/autoconf-archive-2015.02.04
63 + virtual/pkgconfig
64 + doc? ( >=dev-python/sphinx-1.2.2 )
65 +"
66 +
67 +DOCS=( ChangeLog )
68 +
69 +src_prepare() {
70 + default
71 +
72 + eautoreconf
73 +}
74 +
75 +src_configure() {
76 + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143
77 + local myeconfargs=(
78 + --enable-compile-warnings=yes
79 + --disable-Werror
80 + $(use_enable doc docs)
81 + $(use_enable test testbench)
82 + $(use_enable debug)
83 + $(use_enable static-libs static)
84 + --disable-regexp
85 + )
86 +
87 + econf "${myeconfargs[@]}"
88 +}
89 +
90 +src_test() {
91 + # When adding new tests via patches we have to make them executable
92 + einfo "Adjusting permissions of test scripts ..."
93 + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
94 + die "Failed to adjust test scripts permission"
95 +
96 + emake --jobs 1 check
97 +}
98 +
99 +src_install() {
100 + default
101 +
102 + find "${ED}"usr/lib* -name '*.la' -delete || die
103 +}