commit: 4cc6055f11cc458ad2c61b70ef9d9f1d449e1522 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Feb 15 18:08:01 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Feb 15 21:02:18 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc6055f
dev-libs/liborcus: 0.13.3 version bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-libs/liborcus/Manifest | 1 + dev-libs/liborcus/liborcus-0.13.3.ebuild | 57 ++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest index 51a33525fc2..58129645d82 100644 --- a/dev-libs/liborcus/Manifest +++ b/dev-libs/liborcus/Manifest @@ -1,2 +1,3 @@ DIST liborcus-0.12.1.tar.xz 1673880 BLAKE2B 6f85f1ce04bd7c797f8fccc9b4d860189b6fa9f51623587a668c343e8897bf17a3e62a5465354776044fabe9347ec35913eb1433dc551e4e509ce260ba92c3b9 SHA512 294b24ad7fccae77070edd9d8e6e1a370f609ec8af9a2c58567431e641fc0f3f27c4cd4b6ac1825a8179a22a1d1a81d84827859eb631d2625194f9e59ca1a8c3 DIST liborcus-0.13.2.tar.xz 1816884 BLAKE2B e9e7635969cdeb2dcf7274a9d54774ba3b49a40db203624e7351eaca6dfe8c87605a1a5ff8c844f50faa47b88379504cc48a3aa432f75c1d00e5974ef244b93a SHA512 3f79787a62ee0ab59ee61d5b46e1e777b27529e20d6dde9a98db75c8b6c54a11f5f78fa46d018bb31a9ef9df19a60535936e645e5fa43e71bd4e25d9f3a802b7 +DIST liborcus-0.13.3.tar.xz 1817824 BLAKE2B 99bb88c1b52539ef09c52ce1f13928b31e2a5c0e88d172e8d0ca212d9f0921cbe98460ae8047be19db5d4b70a9b527c2ae499ab5c6474dab16445eab9a4b1c4c SHA512 fecea0fca5b455ae734b00c5a7784e1cf0db32b35d0992f26d4ca8b4188147cabc9c267b984c4b5a5b1cbf8a5f4029a7dd96de4dfc1dc902b43f01def662d1f3 diff --git a/dev-libs/liborcus/liborcus-0.13.3.ebuild b/dev-libs/liborcus/liborcus-0.13.3.ebuild new file mode 100644 index 00000000000..2f6e8414b8d --- /dev/null +++ b/dev-libs/liborcus/liborcus-0.13.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" +inherit python-single-r1 ${GITECLASS} +unset GITECLASS + +DESCRIPTION="Standalone file import filter library for spreadsheet documents" +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" +[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/0.13" # based on SONAME of liborcus.so +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="python +spreadsheet-model static-libs tools" + +RDEPEND=" + dev-libs/boost:= + sys-libs/zlib:= + python? ( ${PYTHON_DEPS} ) + spreadsheet-model? ( >=dev-libs/libixion-0.13.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/mdds-1.2.2:1 +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-werror \ + $(use_enable python) \ + $(use_enable spreadsheet-model) \ + $(use_enable static-libs static) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}
