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: Thu, 15 Feb 2018 21:02:39
Message-Id: 1518728538.4cc6055f11cc458ad2c61b70ef9d9f1d449e1522.asturm@gentoo
1 commit: 4cc6055f11cc458ad2c61b70ef9d9f1d449e1522
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 15 18:08:01 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 15 21:02:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc6055f
7
8 dev-libs/liborcus: 0.13.3 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.3.ebuild | 57 ++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest
17 index 51a33525fc2..58129645d82 100644
18 --- a/dev-libs/liborcus/Manifest
19 +++ b/dev-libs/liborcus/Manifest
20 @@ -1,2 +1,3 @@
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
25 diff --git a/dev-libs/liborcus/liborcus-0.13.3.ebuild b/dev-libs/liborcus/liborcus-0.13.3.ebuild
26 new file mode 100644
27 index 00000000000..2f6e8414b8d
28 --- /dev/null
29 +++ b/dev-libs/liborcus/liborcus-0.13.3.ebuild
30 @@ -0,0 +1,57 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git"
37 +
38 +PYTHON_COMPAT=( python{3_4,3_5,3_6} )
39 +
40 +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
41 +inherit python-single-r1 ${GITECLASS}
42 +unset GITECLASS
43 +
44 +DESCRIPTION="Standalone file import filter library for spreadsheet documents"
45 +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md"
46 +[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0/0.13" # based on SONAME of liborcus.so
50 +[[ ${PV} == 9999 ]] || \
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.13.0:= )
59 +"
60 +DEPEND="${RDEPEND}
61 + >=dev-util/mdds-1.2.2: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 +}