From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 738731382C5 for ; Mon, 15 Feb 2021 09:03:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E097E096C; Mon, 15 Feb 2021 09:03:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6659DE096C for ; Mon, 15 Feb 2021 09:03:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC03B340562 for ; Mon, 15 Feb 2021 09:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BFD9495 for ; Mon, 15 Feb 2021 09:03:12 +0000 (UTC) From: "Andreas Sturmlechner" 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 Sturmlechner" Message-ID: <1613379768.4714d56af2616ccba905f94ceede70a789665574.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xerces-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xerces-c/xerces-c-9999.ebuild X-VCS-Directories: dev-libs/xerces-c/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4714d56af2616ccba905f94ceede70a789665574 X-VCS-Branch: master Date: Mon, 15 Feb 2021 09:03:12 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3db81a2a-4598-4625-934d-9b3d555dda1d X-Archives-Hash: 02f3ab4e50cf6abc074d9f3d47033027 commit: 4714d56af2616ccba905f94ceede70a789665574 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Feb 15 08:17:20 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Feb 15 09:02:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4714d56a dev-libs/xerces-c: EAPI-7 bump, switch to cmake Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/xerces-c/xerces-c-9999.ebuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dev-libs/xerces-c/xerces-c-9999.ebuild b/dev-libs/xerces-c/xerces-c-9999.ebuild index 627bdbc2f2f..995f942a437 100644 --- a/dev-libs/xerces-c/xerces-c-9999.ebuild +++ b/dev-libs/xerces-c/xerces-c-9999.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +EAPI=7 -inherit cmake-utils prefix +inherit cmake prefix DESCRIPTION="A validating XML parser written in a portable subset of C++" HOMEPAGE="https://xerces.apache.org/xerces-c/" @@ -19,14 +18,16 @@ fi LICENSE="Apache-2.0" SLOT="0" - IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv icu static-libs test threads" + RESTRICT="!test? ( test )" -RDEPEND="icu? ( dev-libs/icu:0= ) +RDEPEND=" curl? ( net-misc/curl ) + icu? ( dev-libs/icu:0= ) virtual/libiconv" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" doc? ( app-doc/doxygen ) test? ( dev-lang/perl )" @@ -83,17 +84,17 @@ src_configure() { -Dsse2:BOOL="$(usex cpu_flags_x86_sse2)" ) - cmake-utils_src_configure + cmake_src_configure } src_compile() { - cmake-utils_src_compile + cmake_src_compile - use doc && cmake-utils_src_compile doc-style createapidocs doc-xml + use doc && cmake_build doc-style createapidocs doc-xml } src_install() { - cmake-utils_src_install + cmake_src_install # package provides .pc files find "${D}" -name '*.la' -delete || die