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