commit:     198629fa0257bc7adf0bf2536be2ac9858912115
Author:     Jan Henke <Jan.Henke <AT> taujhe <DOT> de>
AuthorDate: Sun Mar  4 20:23:42 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Mar 10 15:55:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=198629fa

dev-cpp/ms-gsl: version bump 0_pre20180304

Closes: https://github.com/gentoo/gentoo/pull/7361

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-cpp/ms-gsl/Manifest                    |  1 +
 dev-cpp/ms-gsl/ms-gsl-0_pre20180304.ebuild | 31 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest
index de636c28048..0349d9a457a 100644
--- a/dev-cpp/ms-gsl/Manifest
+++ b/dev-cpp/ms-gsl/Manifest
@@ -1 +1,2 @@
 DIST ms-gsl-0_pre20180108.tar.gz 57335 BLAKE2B 
7221828d433dfe13e500b57b1da5b828aadc95b0c210327dd25713ce7f5b0629a7067cd8ed2ef30e11c8b8a58fa424b1edc3d374440770ee814c4c3e372038d6
 SHA512 
7684c8ae7ad9d0624d2f1e3531b942e7a98960f60698e4c212998ddc2ac4651fccfe5fea66d1a22133b9cba4567ba4253b022f8826f069d2e2633b3074d4f640
+DIST ms-gsl-0_pre20180304.tar.gz 57458 BLAKE2B 
642807c07d9d4dac2752a46178d46d275f62dbb1193bf78f54dfaa5ca18eab2998c3a6d7821cffab49a44d50b2ab72680e612827cad710b14aa823aa503f51e1
 SHA512 
def4ce81e8b5a720eb9319ca3662b0738fb155429018275eb1ada9388d8825ed167db0102cc425594b412c06850338f1a5e1f062bf7b8e2c91badfa7ed203553

diff --git a/dev-cpp/ms-gsl/ms-gsl-0_pre20180304.ebuild 
b/dev-cpp/ms-gsl/ms-gsl-0_pre20180304.ebuild
new file mode 100644
index 00000000000..c80cd2a3517
--- /dev/null
+++ b/dev-cpp/ms-gsl/ms-gsl-0_pre20180304.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils vcs-snapshot
+
+DESCRIPTION="Guideline Support Library implementation by Microsoft"
+HOMEPAGE="https://github.com/Microsoft/GSL";
+SRC_URI="https://github.com/Microsoft/gsl/tarball/6a33b97a84f9c0a60ede78b5db98647e9a48d6c9
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+# header only library
+RDEPEND=""
+DEPEND="test? ( >=dev-cpp/catch-1.11.0 )"
+
+PATCHES=(
+       "${FILESDIR}/ms-gsl-0_pre20180108-use_system_catch-636828.patch"
+)
+
+src_configure() {
+       local mycmakeargs=(
+               -DGSL_TEST=$(usex test)
+               -DFORCE_SYSTEM_CATCH=ON
+       )
+       cmake-utils_src_configure
+}

Reply via email to