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/liborcus/
Date: Wed, 12 Sep 2018 20:56:40
Message-Id: 1536785782.16f49ae03f205c134c88229b2bf4f230af26eccd.asturm@gentoo
1 commit: 16f49ae03f205c134c88229b2bf4f230af26eccd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 12 18:53:20 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 12 20:56:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f49ae0
7
8 dev-libs/liborcus: 0.14.0 version bump without keywords
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 dev-libs/liborcus/Manifest | 1 +
13 dev-libs/liborcus/liborcus-0.14.0.ebuild | 58 ++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest
17 index 0fc0d58dd8f..c09b130a146 100644
18 --- a/dev-libs/liborcus/Manifest
19 +++ b/dev-libs/liborcus/Manifest
20 @@ -1 +1,2 @@
21 DIST liborcus-0.13.4.tar.xz 1816340 BLAKE2B f8e7251c8688f82604d5ac1212938890e42f23ce45edb09eba9ab26a810e5fd4215a23dd20e86ddf9100db67818fc73fbbee7357642a6390f8f60dc28596be31 SHA512 f00b49c41eb1898c37d8d42e59f9004f46b5f849b9d60ac9c5033232d1e5065ff3de160e79f5a88983bf64f86e283b6d1d406a24e776aa6ff7b8acec324ccd4b
22 +DIST liborcus-0.14.0.tar.xz 1891648 BLAKE2B 8392cf40c92e21015eb4bb55fddd8b2796dad2f4006f445c740e7fce11507b577e70fa4619fa23d4133ae6a43f87b440b3990a6687dea5273dc4bae7f0146264 SHA512 0dca1508f3b235d9e52e131a54b0e7ec5473e4a5863a70aa7c703d3b16e8dff49de954af924c4235c5cdbd592528df15192545f08a878c5d469d7394825525b3
23
24 diff --git a/dev-libs/liborcus/liborcus-0.14.0.ebuild b/dev-libs/liborcus/liborcus-0.14.0.ebuild
25 new file mode 100644
26 index 00000000000..fe85aa632bb
27 --- /dev/null
28 +++ b/dev-libs/liborcus/liborcus-0.14.0.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git"
36 +
37 +PYTHON_COMPAT=( python{3_4,3_5,3_6} )
38 +
39 +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
40 +inherit python-single-r1 ${GITECLASS}
41 +unset GITECLASS
42 +
43 +DESCRIPTION="Standalone file import filter library for spreadsheet documents"
44 +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md"
45 +[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0/0.14" # based on SONAME of liborcus.so
49 +[[ ${PV} == 9999 ]] || \
50 +KEYWORDS=""
51 +# KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
52 +IUSE="python +spreadsheet-model static-libs tools"
53 +
54 +RDEPEND="
55 + dev-libs/boost:=
56 + sys-libs/zlib
57 + python? ( ${PYTHON_DEPS} )
58 + spreadsheet-model? ( >=dev-libs/libixion-0.14.0:= )
59 +"
60 +DEPEND="${RDEPEND}
61 + >=dev-util/mdds-1.4.1:1
62 +"
63 +
64 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
65 +
66 +pkg_setup() {
67 + use python && python-single-r1_pkg_setup
68 +}
69 +
70 +src_prepare() {
71 + default
72 + [[ ${PV} == 9999 ]] && eautoreconf
73 +}
74 +
75 +src_configure() {
76 + econf \
77 + --disable-werror \
78 + $(use_enable python) \
79 + $(use_enable spreadsheet-model) \
80 + $(use_enable static-libs static) \
81 + $(use_with tools)
82 +}
83 +
84 +src_install() {
85 + default
86 + find "${D}" -name '*.la' -delete || die
87 +}