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 5147B1382C5 for ; Sun, 28 Feb 2021 18:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A22D1E0946; Sun, 28 Feb 2021 18:08:49 +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 83B37E0946 for ; Sun, 28 Feb 2021 18:08:49 +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 8EE2C34116C for ; Sun, 28 Feb 2021 18:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E59C3579 for ; Sun, 28 Feb 2021 18:08:45 +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: <1614535697.8e7e20dc8ed8c3dfb78189ee614e609a60bf12fb.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild X-VCS-Directories: dev-libs/mongo-c-driver/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8e7e20dc8ed8c3dfb78189ee614e609a60bf12fb X-VCS-Branch: master Date: Sun, 28 Feb 2021 18:08:45 +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: 1288780e-fbb3-409f-898b-8682c4932dbc X-Archives-Hash: 86dc7e6c1b3d33607b8fad876685e80e commit: 8e7e20dc8ed8c3dfb78189ee614e609a60bf12fb Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 28 15:38:52 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 28 18:08:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7e20dc dev-libs/mongo-c-driver: Switch to cmake.eclass Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild index 72b58f751ba..f58927b7e0f 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="Client library written in C for MongoDB" HOMEPAGE="https://github.com/mongodb/mongo-c-driver" @@ -15,6 +15,11 @@ KEYWORDS="~amd64 ~hppa ~s390 ~x86" IUSE="debug examples icu libressl sasl ssl static-libs test" REQUIRED_USE="test? ( static-libs )" +# No tests on x86 because tests require dev-db/mongodb which don't support +# x86 anymore (bug #645994) +RESTRICT="x86? ( test ) + !test? ( test )" + RDEPEND="app-arch/snappy:= app-arch/zstd:= >=dev-libs/libbson-${PV}[static-libs?] @@ -32,11 +37,6 @@ DEPEND="${RDEPEND} dev-libs/libbson[static-libs] )" -# No tests on x86 because tests require dev-db/mongodb which don't support -# x86 anymore (bug #645994) -RESTRICT="x86? ( test ) - !test? ( test )" - PATCHES=( "${FILESDIR}/${PN}-1.14.0-no-docs.patch" "${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with system libbson @@ -44,7 +44,7 @@ PATCHES=( ) src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # copy private headers for tests since we don't build libbson if use test; then @@ -72,7 +72,7 @@ src_configure() { -DENABLE_ZSTD=ON ) - cmake-utils_src_configure + cmake_src_configure } # FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver @@ -90,5 +90,5 @@ src_install() { dodoc src/libmongoc/examples/*.c fi - cmake-utils_src_install + cmake_src_install }