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: Wed, 24 Aug 2016 00:57:43
Message-Id: 1472000238.6418fc6dfc6c700410c4877e30857275cea36f8e.whissi@gentoo
1 commit: 6418fc6dfc6c700410c4877e30857275cea36f8e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 00:00:56 2016 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 00:57:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6418fc6d
7
8 dev-libs/liblognorm: Bumped to v2.0.1
9
10 Package-Manager: portage-2.3.0
11
12 dev-libs/liblognorm/Manifest | 1 +
13 dev-libs/liblognorm/liblognorm-2.0.1.ebuild | 76 +++++++++++++++++++++++++++++
14 dev-libs/liblognorm/metadata.xml | 3 ++
15 3 files changed, 80 insertions(+)
16
17 diff --git a/dev-libs/liblognorm/Manifest b/dev-libs/liblognorm/Manifest
18 index decd9e6..2b4afd0 100644
19 --- a/dev-libs/liblognorm/Manifest
20 +++ b/dev-libs/liblognorm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST liblognorm-1.1.0.tar.gz 499355 SHA256 2ddff2ee893c9268e19868f19dc4d8037e3d266c0d001436c33c9429fcbb3030 SHA512 f694d47c8e60871f0f3ce1fe8092b2596850beea618760c289d9cec6068fb8e8e260f4abb3faf20b931864d91ed18f640c65235fd693f6c67ce232fa11006107 WHIRLPOOL b03347d89e86d858d98a2237b6319f1646c995b5a725b486a9288de9a1cfc243b826c822a22f9e5a2a6f3c13c68a2e408ee8d5a68f2c361aeb40bc1b7d8af644
23 DIST liblognorm-1.1.2.tar.gz 547224 SHA256 935a112fb5310877aaa5046ac8bd2ec7d0e9fed03e2fffccb84b6f93b92a536c SHA512 d0dc206ac2f34174ec1a7e05ae4f84520ae67f49b5540bf9b957378418d6e32384fddd40aaa26dfbdec868a6e7d7a0b677af5201dcbf4f0d4b177934a260ff00 WHIRLPOOL 616fb1b951139576579389141253651b79dd215e742b14b0add81341c2cbeed5411544cf3c92221b4d3f4b459e51d55e59dd789b2cc3ad6fe19afb61ec02d0b6
24 DIST liblognorm-1.1.3.tar.gz 553372 SHA256 8e370460a152057abc577d59acbe60b7846312897e56f8f9d3e74edf9c621951 SHA512 09c6ab434fcdd788df84341aaf426c51385a8f3cc9960f07b77e369c22b3a1b8d890ba8d4d0507928b235d2667ed7f7a2c935eed8214d698117c8cfecba75d5f WHIRLPOOL 00d86afa82a12145de8165141f44af9913826ddffe0515d4655103f89bb69285cd8ce88fdec31af23214e599b7ac7f572c29d0a829ab0e07f63f45860c936aa7
25 +DIST liblognorm-2.0.1.tar.gz 657390 SHA256 6a7fda0da2791a87c808fbfde1af20e6463e3ff73496aae7756e3440f3bc5b75 SHA512 557ba4180d764c04edabe6292a44f5340c5b1f7ac2390a4068711be4ad6da7429e651bc2230d6ff9cc6c58cd6a6c59149f20083de8cf4d8239d95f86db39565f WHIRLPOOL ae89d7f34b673f14103574966e72b508d69a00e7f8d13eb5e9665c83303606da729001d7bb0712f96de8c4df63b3c75df90f52ec937b793a503d0062912acd6a
26
27 diff --git a/dev-libs/liblognorm/liblognorm-2.0.1.ebuild b/dev-libs/liblognorm/liblognorm-2.0.1.ebuild
28 new file mode 100644
29 index 00000000..10f3367
30 --- /dev/null
31 +++ b/dev-libs/liblognorm/liblognorm-2.0.1.ebuild
32 @@ -0,0 +1,76 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="6"
38 +
39 +inherit autotools
40 +
41 +DESCRIPTION="Fast samples-based log normalization library"
42 +HOMEPAGE="http://www.liblognorm.com"
43 +
44 +if [[ ${PV} == "9999" ]]; then
45 + EGIT_REPO_URI="
46 + git://github.com/rsyslog/${PN}.git
47 + https://github.com/rsyslog/${PN}.git
48 + "
49 +
50 + inherit git-r3
51 +else
52 + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-linux"
54 +fi
55 +
56 +LICENSE="LGPL-2.1 Apache-2.0"
57 +SLOT="0/5.0.0"
58 +IUSE="debug doc static-libs test"
59 +
60 +RDEPEND="
61 + >=dev-libs/libestr-0.1.3
62 + >=dev-libs/libfastjson-0.99.2:=
63 +"
64 +
65 +DEPEND="
66 + ${RDEPEND}
67 + >=sys-devel/autoconf-archive-2015.02.04
68 + virtual/pkgconfig
69 + doc? ( >=dev-python/sphinx-1.2.2 )
70 +"
71 +
72 +DOCS=( ChangeLog )
73 +
74 +src_prepare() {
75 + default
76 +
77 + eautoreconf
78 +}
79 +
80 +src_configure() {
81 + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143
82 + local myeconfargs=(
83 + --enable-compile-warnings=yes
84 + --disable-Werror
85 + $(use_enable doc docs)
86 + $(use_enable test testbench)
87 + $(use_enable debug)
88 + $(use_enable static-libs static)
89 + --disable-regexp
90 + )
91 +
92 + econf "${myeconfargs[@]}"
93 +}
94 +
95 +src_test() {
96 + # When adding new tests via patches we have to make them executable
97 + einfo "Adjusting permissions of test scripts ..."
98 + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
99 + die "Failed to adjust test scripts permission"
100 +
101 + emake --jobs 1 check
102 +}
103 +
104 +src_install() {
105 + default
106 +
107 + find "${ED}"usr/lib* -name '*.la' -delete || die
108 +}
109
110 diff --git a/dev-libs/liblognorm/metadata.xml b/dev-libs/liblognorm/metadata.xml
111 index 7d460c3..b924356 100644
112 --- a/dev-libs/liblognorm/metadata.xml
113 +++ b/dev-libs/liblognorm/metadata.xml
114 @@ -14,6 +14,9 @@
115 <email>maksbotan@g.o</email>
116 <name>Maxim Koltsov</name>
117 </maintainer>
118 + <slots>
119 + <subslots>Reflect ABI of liblognorm.so.</subslots>
120 + </slots>
121 <upstream>
122 <bugs-to>https://github.com/rsyslog/liblognorm/issues</bugs-to>
123 <remote-id type="github">rsyslog/liblognorm</remote-id>