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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43B8D15808B for ; Fri, 4 Mar 2022 09:49:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14FADE0AE3; Fri, 4 Mar 2022 09:49:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC337E0AD9 for ; Fri, 4 Mar 2022 09:49:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C79A342FB0 for ; Fri, 4 Mar 2022 09:49:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98ADC2F0 for ; Fri, 4 Mar 2022 09:49:51 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1646387388.62f63b17366ab590519f123355bc3f4a91e6c0b5.juippis@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-4.0.0.ebuild X-VCS-Directories: dev-cpp/ms-gsl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 62f63b17366ab590519f123355bc3f4a91e6c0b5 X-VCS-Branch: master Date: Fri, 4 Mar 2022 09:49:51 +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: f5c4eeaf-2038-4e51-a482-d4c04cb77eda X-Archives-Hash: 8f6acb76de8129ebe62cc1135092d7c2 commit: 62f63b17366ab590519f123355bc3f4a91e6c0b5 Author: Jan Henke taujhe de> AuthorDate: Mon Feb 28 17:04:57 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Mar 4 09:49:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f63b17 dev-cpp/ms-gsl: Version bump 4.0.0 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jan Henke taujhe.de> Closes: https://github.com/gentoo/gentoo/pull/24380 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/ms-gsl/Manifest | 1 + dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest index 978e15f0d169..c1e82bb88d4d 100644 --- a/dev-cpp/ms-gsl/Manifest +++ b/dev-cpp/ms-gsl/Manifest @@ -1 +1,2 @@ DIST ms-gsl-3.1.0.tar.gz 78196 BLAKE2B 32334891a11004a6919645814154fdb108a4582a00ac0002c0af9a524978cc8316bebb07192e260b800f462d5424c476fc22be59cca59c0f3d9d7606ab8c4181 SHA512 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696 +DIST ms-gsl-4.0.0.tar.gz 55846 BLAKE2B 4391f8865f8dc044e5a48826e84919df8e32fc80815a260e9c892aa6d155d278a9b7742c17e4455bcba3fc3164118c14ef160353913814ba48a83bc7de40c123 SHA512 7fa7446796c6bf82fb3bff09f86a69c446a27be528bef3b17c8bc5ad2f24d5cf86bdb3d3813ecb44726e8f395020180e97e41027330d1fbf545cc0f0b44aac29 diff --git a/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild new file mode 100644 index 000000000000..969b4835f0ed --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# header only library +RDEPEND="" +DEPEND="test? ( >=dev-cpp/gtest-1.9.0_pre20190607 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + cmake_src_configure +}