pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/c++gsl Update c++gsl to version 3.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c361b7e3f256
branches:  trunk
changeset: 372342:c361b7e3f256
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun Jan 23 20:34:46 2022 +0000

description:
Update c++gsl to version 3.1.0

Pkgsrc changes:
Add buildlink3.mk

Changes:
CMake find_package support.
gsl::span and gsl::span_iterator that align with the c++20 standard.
Fix bug in gsl::narrow.

diffstat:

 devel/c++gsl/Makefile      |   4 ++--
 devel/c++gsl/PLIST         |   5 ++++-
 devel/c++gsl/buildlink3.mk |  13 +++++++++++++
 devel/c++gsl/distinfo      |   8 ++++----
 4 files changed, 23 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r c7607c4f1edb -r c361b7e3f256 devel/c++gsl/Makefile
--- a/devel/c++gsl/Makefile     Sun Jan 23 19:46:30 2022 +0000
+++ b/devel/c++gsl/Makefile     Sun Jan 23 20:34:46 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/07/20 11:32:25 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2022/01/23 20:34:46 nros Exp $
 
-DISTNAME=      GSL-1.0.0
+DISTNAME=      GSL-3.1.0
 PKGNAME=       c++${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Microsoft/}
diff -r c7607c4f1edb -r c361b7e3f256 devel/c++gsl/PLIST
--- a/devel/c++gsl/PLIST        Sun Jan 23 19:46:30 2022 +0000
+++ b/devel/c++gsl/PLIST        Sun Jan 23 20:34:46 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/07/20 11:32:25 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/23 20:34:46 nros Exp $
 include/gsl/gsl
 include/gsl/gsl_algorithm
 include/gsl/gsl_assert
@@ -7,4 +7,7 @@
 include/gsl/multi_span
 include/gsl/pointers
 include/gsl/span
+include/gsl/span_ext
 include/gsl/string_span
+share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake
+share/cmake/Microsoft.GSL/Microsoft.GSLConfigVersion.cmake
diff -r c7607c4f1edb -r c361b7e3f256 devel/c++gsl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/c++gsl/buildlink3.mk        Sun Jan 23 20:34:46 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/01/23 20:34:46 nros Exp $
+
+BUILDLINK_TREE+=       c++gsl
+
+.if !defined(C++GSL_BUILDLINK3_MK)
+C++GSL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.c++gsl+= c++gsl>=3.1.0
+BUILDLINK_PKGSRCDIR.c++gsl?=   ../../devel/c++gsl
+BUILDLINK_DEPMETHOD.c++gsl?=   build
+.endif # C++GSL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -c++gsl
diff -r c7607c4f1edb -r c361b7e3f256 devel/c++gsl/distinfo
--- a/devel/c++gsl/distinfo     Sun Jan 23 19:46:30 2022 +0000
+++ b/devel/c++gsl/distinfo     Sun Jan 23 20:34:46 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:14:22 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/23 20:34:46 nros Exp $
 
-BLAKE2s (GSL-1.0.0.tar.gz) = 573a5f6588af4c725ac21bc029750c1470961a642576bfd9e9a2b899040006f1
-SHA512 (GSL-1.0.0.tar.gz) = cde55df9540fd08ca8d29a74b2cff360686aa75b01ee1c48bd9782a2d70d1b6eae712a51eaf9b60453f859e466df00345b0a2893137d16490cea8ee54362f7da
-Size (GSL-1.0.0.tar.gz) = 58920 bytes
+BLAKE2s (GSL-3.1.0.tar.gz) = 4d67277e3a30feb94ccacc0939e5abb9f111dbdc594a78f69b0c0346e0bf8fe1
+SHA512 (GSL-3.1.0.tar.gz) = 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696
+Size (GSL-3.1.0.tar.gz) = 78196 bytes



Home | Main Index | Thread Index | Old Index