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 538B3138334 for ; Fri, 12 Oct 2018 01:32:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08692E09A6; Fri, 12 Oct 2018 01:32:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 D22E6E09A6 for ; Fri, 12 Oct 2018 01:32:30 +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 C18F5335C07 for ; Fri, 12 Oct 2018 01:32:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE2923F6 for ; Fri, 12 Oct 2018 01:32:21 +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: <1539307833.336d88ac3348e5c617beae2776db5f001133b502.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.0.0.ebuild X-VCS-Directories: dev-cpp/ms-gsl/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 336d88ac3348e5c617beae2776db5f001133b502 X-VCS-Branch: master Date: Fri, 12 Oct 2018 01:32:21 +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: fe2ab36c-ea41-4637-a007-e745455454be X-Archives-Hash: b6000a6aa0166b1923ae8a2f3e09bf91 commit: 336d88ac3348e5c617beae2776db5f001133b502 Author: Jan Henke taujhe de> AuthorDate: Sat Sep 29 17:08:58 2018 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Oct 12 01:30:33 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336d88ac dev-cpp/ms-gsl: Version bump to 2.0.0 Closes: https://bugs.gentoo.org/666410 Closes: https://github.com/gentoo/gentoo/pull/10013 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Jan Henke taujhe.de> Signed-off-by: Georgy Yakovlev gentoo.org> dev-cpp/ms-gsl/Manifest | 1 + dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest index 605a6a2172e..d1b036879f3 100644 --- a/dev-cpp/ms-gsl/Manifest +++ b/dev-cpp/ms-gsl/Manifest @@ -1 +1,2 @@ DIST ms-gsl-1.0.0.tar.gz 58920 BLAKE2B 46b71ec1fe57ec311a53895498c375c2313ed1f2858cd6b67d19d92ef10230707ce14fb757c00c92ea3475d787cda400cc449c34d54a54a3d0123f71b87b11ad SHA512 cde55df9540fd08ca8d29a74b2cff360686aa75b01ee1c48bd9782a2d70d1b6eae712a51eaf9b60453f859e466df00345b0a2893137d16490cea8ee54362f7da +DIST ms-gsl-2.0.0.tar.gz 64726 BLAKE2B ab40725aa38af7c5651e22ebf32d4bd9c27a10be2e206fd4c3c0173ad21da262beddef022b7b158653b185cfc3269f2b6e80d99fe65f601ffc3e770b143b03f8 SHA512 7339527222c8a97a94c0bb4038b3d142045ec5d80995e628574ac96f4d9d13c41ad70fbe0d8390586dc0db8d9ea55107dbc95de80f7335eb78ef9d2e7047d726 diff --git a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild new file mode 100644 index 00000000000..c3af23471bc --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 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 ~x86" +IUSE="test" + +# header only library +RDEPEND="" +DEPEND="test? ( ~dev-cpp/catch-1.11.0 )" + +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 +}