Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rasqal/
Date: Wed, 03 Oct 2018 22:58:41
Message-Id: 1538606662.e524432b17e5b73fa40ebcc159b7709889c3cd36.asturm@gentoo
1 commit: e524432b17e5b73fa40ebcc159b7709889c3cd36
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 3 22:32:59 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 3 22:44:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e524432b
7
8 dev-libs/rasqal: 0.9.33 version bump
9
10 Closes: https://bugs.gentoo.org/545554
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12 Package-Manager: Portage-2.3.50, Repoman-2.3.11
13
14 dev-libs/rasqal/Manifest | 1 +
15 dev-libs/rasqal/rasqal-0.9.33.ebuild | 69 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 70 insertions(+)
17
18 diff --git a/dev-libs/rasqal/Manifest b/dev-libs/rasqal/Manifest
19 index d408a528953..ed11d714105 100644
20 --- a/dev-libs/rasqal/Manifest
21 +++ b/dev-libs/rasqal/Manifest
22 @@ -1 +1,2 @@
23 DIST rasqal-0.9.32.tar.gz 1544623 BLAKE2B c94833d2906fc211d743d63a52478e6acc9f26c7528beb1bea0ec8c365b5d13e6ac85e57b75b920d1ccb5768112d06cf615212c7bf248120671730c5095b3c88 SHA512 071f5ff30a1271bdd747cab7991a34c75f9c0132e81d7662acb13a2e380b98c325a9b2998f6a08a393251623680074a76f58f70bdd93b5c1416779aacc7be428
24 +DIST rasqal-0.9.33.tar.gz 1595647 BLAKE2B 87bca86b2f0dceb0801f5a34dae9ae1f87d8a7d0dc1e03fdf04998a0d4885ed76be2719d3e01489a5510a26715bb093a75ce194cc42f3cedff88f64161d6a2fb SHA512 05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522
25
26 diff --git a/dev-libs/rasqal/rasqal-0.9.33.ebuild b/dev-libs/rasqal/rasqal-0.9.33.ebuild
27 new file mode 100644
28 index 00000000000..df3e0ecc3f5
29 --- /dev/null
30 +++ b/dev-libs/rasqal/rasqal-0.9.33.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit libtool
38 +
39 +DESCRIPTION="Library that handles Resource Description Framework (RDF)"
40 +HOMEPAGE="http://librdf.org/rasqal/"
41 +SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
46 +IUSE="+crypt gmp kernel_linux +mhash pcre static-libs test xml"
47 +
48 +RDEPEND="
49 + >=media-libs/raptor-2.0.15
50 + crypt? (
51 + !mhash? ( dev-libs/libgcrypt:0 )
52 + mhash? ( app-crypt/mhash )
53 + )
54 + !gmp? ( dev-libs/mpfr:= )
55 + gmp? ( dev-libs/gmp:= )
56 + kernel_linux? ( >=sys-apps/util-linux-2.19 )
57 + pcre? ( dev-libs/libpcre )
58 + xml? ( dev-libs/libxml2 )
59 +"
60 +DEPEND="${RDEPEND}"
61 +BDEPEND="
62 + >=sys-devel/bison-3
63 + >=sys-devel/flex-2.5.36
64 + virtual/pkgconfig
65 + test? ( dev-perl/XML-DOM )
66 +"
67 +
68 +DOCS=( AUTHORS ChangeLog NEWS README )
69 +HTML_DOCS=( {NEWS,README,RELEASE}.html )
70 +
71 +src_prepare() {
72 + default
73 + elibtoolize # g/fbsd .so versioning
74 +}
75 +
76 +src_configure() {
77 + # FIXME: From 0.9.27 to .28 --with-random-approach= was introduced, do we
78 + # need a logic for it? Perhaps for dev-libs/gmp?
79 + local myeconfargs=(
80 + --with-decimal=$(usex gmp gmp mpfr)
81 + --with-uuid-library=$(usex kernel_linux libuuid internal)
82 + $(use_enable pcre)
83 + --with-regex-library=$(usex pcre pcre posix)
84 + $(use_enable static-libs static)
85 + $(use_enable xml xml2)
86 + )
87 +
88 + if use crypt; then
89 + myeconfargs+=( $(usex mhash mhash gcrypt) )
90 + else
91 + myeconfargs+=( --with-digest-library=internal )
92 + fi
93 +
94 + econf "${myeconfargs[@]}"
95 +}
96 +
97 +src_install() {
98 + default
99 + find "${D}" -name '*.la' -delete || die
100 +}