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 83B6A138350 for ; Fri, 7 Feb 2020 08:10:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A51CFE0899; Fri, 7 Feb 2020 08:10:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 22EEEE0895 for ; Fri, 7 Feb 2020 08:10:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E532234E848 for ; Fri, 7 Feb 2020 08:10:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3685E126 for ; Fri, 7 Feb 2020 08:10:44 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1581063028.c649907801959a26cff729e06e2258f50ad6f99e.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/ms-gsl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/ms-gsl/Manifest dev-cpp/ms-gsl/ms-gsl-2.1.0.ebuild X-VCS-Directories: dev-cpp/ms-gsl/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c649907801959a26cff729e06e2258f50ad6f99e X-VCS-Branch: master Date: Fri, 7 Feb 2020 08:10:44 +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: b12468aa-4565-479a-94ee-13652e845c4e X-Archives-Hash: 39c34b1a5cce7135b8faa02ea4c5d2e8 commit: c649907801959a26cff729e06e2258f50ad6f99e Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Feb 7 08:01:21 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Feb 7 08:10:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6499078 dev-cpp/ms-gsl: bump to 2.1.0 this version is required for telegram-desktop Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> dev-cpp/ms-gsl/Manifest | 1 + dev-cpp/ms-gsl/ms-gsl-2.1.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest index 12fa4185c34..c8a96749568 100644 --- a/dev-cpp/ms-gsl/Manifest +++ b/dev-cpp/ms-gsl/Manifest @@ -1 +1,2 @@ DIST ms-gsl-2.0.0.tar.gz 64726 BLAKE2B ab40725aa38af7c5651e22ebf32d4bd9c27a10be2e206fd4c3c0173ad21da262beddef022b7b158653b185cfc3269f2b6e80d99fe65f601ffc3e770b143b03f8 SHA512 7339527222c8a97a94c0bb4038b3d142045ec5d80995e628574ac96f4d9d13c41ad70fbe0d8390586dc0db8d9ea55107dbc95de80f7335eb78ef9d2e7047d726 +DIST ms-gsl-2.1.0.tar.gz 67289 BLAKE2B 5a247028b71521d7851a6aa5f24936dfb1c7f283854724d8d4bf2d9d9ac3a928c0e5b42a280d8a0a0254d9f6fa958bf1283dab674c649bdaaa7b38ef38f3b1ba SHA512 4382b8feadf4608b06b66a78ca51b0f60a6e8b41b183aec6ac8f8e2e9f0b39705dea513fd708012ed8390c1a4f88d7df454f05166b76bee24ae843835cd4a2ca diff --git a/dev-cpp/ms-gsl/ms-gsl-2.1.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.1.0.ebuild new file mode 100644 index 00000000000..75b11654651 --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-2.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Guideline Support Library implementation by Microsoft" +HOMEPAGE="https://github.com/Microsoft/GSL" +SRC_URI="https://github.com/Microsoft/GSL/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/GSL-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# header only library +RDEPEND="" +DEPEND="test? ( dev-cpp/catch:1 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-use_system_catch-636828.patch" + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON ) + cmake-utils_src_configure +}