From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7011A1388C0 for ; Mon, 22 Feb 2016 17:07:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7808221C01E; Mon, 22 Feb 2016 17:07:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9EAB21C014 for ; Mon, 22 Feb 2016 17:07:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B89DE340B3F for ; Mon, 22 Feb 2016 17:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BC8A18A7 for ; Mon, 22 Feb 2016 17:07:14 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1456160699.d96e5b156822bb9d758e4f19d140fbce999e52f8.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liborcus/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/liborcus/liborcus-9999.ebuild X-VCS-Directories: dev-libs/liborcus/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: d96e5b156822bb9d758e4f19d140fbce999e52f8 X-VCS-Branch: master Date: Mon, 22 Feb 2016 17:07:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 551aa1b4-ad9e-44a0-b3e1-59169f41486e X-Archives-Hash: 9cee21dabdcddfb27b0ac38b9384d8ef commit: d96e5b156822bb9d758e4f19d140fbce999e52f8 Author: Andreas Sturmlechner gmail com> AuthorDate: Sat Feb 6 14:23:07 2016 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Mon Feb 22 17:04:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96e5b15 dev-libs/liborcus: Fix DEPENDs (bug 572614), add USE=python (bug 567926) Package-Manager: portage-2.2.27 dev-libs/liborcus/liborcus-9999.ebuild | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/dev-libs/liborcus/liborcus-9999.ebuild b/dev-libs/liborcus/liborcus-9999.ebuild index e175a1e..e87413f 100644 --- a/dev-libs/liborcus/liborcus-9999.ebuild +++ b/dev-libs/liborcus/liborcus-9999.ebuild @@ -1,13 +1,15 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" +PYTHON_COMPAT=( python{3_4,3_5} ) + [[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" -inherit eutils ${GITECLASS} +inherit eutils python-single-r1 ${GITECLASS} unset GITECLASS DESCRIPTION="Standalone file import filter library for spreadsheet documents" @@ -15,27 +17,36 @@ HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.xz" LICENSE="MIT" -SLOT="0/0.10" +SLOT="0/0.11" # based on SONAME of liborcus.so [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="static-libs" +IUSE="python static-libs" RDEPEND=" >=dev-libs/boost-1.51.0:= - =dev-libs/libixion-0.9*:= + =dev-libs/libixion-9999:= sys-libs/zlib:= + python? ( ${PYTHON_DEPS} ) " DEPEND="${RDEPEND} - >=dev-util/mdds-0.11 + dev-util/mdds:1 " +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_prepare() { + eapply_user [[ ${PV} == 9999 ]] && eautoreconf } src_configure() { econf \ --disable-werror \ + $(use_enable python) \ $(use_enable static-libs static) }