pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/c++gsl



Module Name:    pkgsrc
Committed By:   nros
Date:           Wed Dec 13 11:44:26 UTC 2023

Modified Files:
        pkgsrc/devel/c++gsl: Makefile PLIST buildlink3.mk distinfo

Log Message:
Update devel/c++gsl to version 4.0.0

Pkgsrc changes:
Use devel/cmake/build.mk
CMake only looks for the c++ compiler so remove c
from USE_LANGAGES.
Due to a breaking change, that gsl/multi_span is not
installed anymore and gsl::narrow is in gsl/narrow not
gsl/util, update BUILDLINK_API_DEPENDS.
Change maintainer, ok'ed by minskim.

Changes from Release Notes:

* Deprecation of gsl::string_span
* Removal of <gsl/multi_span>
* Header files dropped the gsl_ prefix
* Changes to not_null
* gsl::span and std::span now use the correct specialization of gsl::at
* The zstring family no longer requires empty brackets to be used
  - for example, void foo(zstring<> str); should now be
    void foo(zstring str);
* gsl::narrowing_error now has a helpful what() message
* finally and final_action are now [[nodiscard]]
* GSL will work in environments where exceptions are disabled, with
  some caveats
* GSL will work in environments which do not support ios, via the
  addition of the GSL_NO_IOSTREAMS flag
* CMake and build improvements


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/c++gsl/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/c++gsl/PLIST \
    pkgsrc/devel/c++gsl/buildlink3.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/c++gsl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/c++gsl/Makefile
diff -u pkgsrc/devel/c++gsl/Makefile:1.3 pkgsrc/devel/c++gsl/Makefile:1.4
--- pkgsrc/devel/c++gsl/Makefile:1.3    Thu Jul 20 21:45:26 2023
+++ pkgsrc/devel/c++gsl/Makefile        Wed Dec 13 11:44:26 2023
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.3 2023/07/20 21:45:26 nia Exp $
+# $NetBSD: Makefile,v 1.4 2023/12/13 11:44:26 nros Exp $
 
-DISTNAME=      GSL-3.1.0
+DISTNAME=      GSL-4.0.0
 PKGNAME=       c++${DISTNAME:tl}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Microsoft/}
 GITHUB_PROJECT=        GSL
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
-MAINTAINER=    minskim%NetBSD.org@localhost
+MAINTAINER=    nros%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/Microsoft/GSL
 COMMENT=       C++ Core Guidelines support library
 LICENSE=       mit
 
 NO_BUILD=      yes
-USE_CMAKE=     yes
-USE_LANGUAGES+=        c c++
-
-CMAKE_ARGS+=   -DGSL_TEST=False
+USE_LANGUAGES+=        c++
 
 USE_CXX_FEATURES+=     c++14
 
+CMAKE_CONFIGURE_ARGS+= -DGSL_TEST=False
+
+.include "../../devel/cmake/build.mk"
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/c++gsl/PLIST
diff -u pkgsrc/devel/c++gsl/PLIST:1.2 pkgsrc/devel/c++gsl/PLIST:1.3
--- pkgsrc/devel/c++gsl/PLIST:1.2       Sun Jan 23 20:34:46 2022
+++ pkgsrc/devel/c++gsl/PLIST   Wed Dec 13 11:44:26 2023
@@ -1,13 +1,18 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/23 20:34:46 nros Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/12/13 11:44:26 nros Exp $
+include/gsl/algorithm
+include/gsl/assert
+include/gsl/byte
 include/gsl/gsl
 include/gsl/gsl_algorithm
 include/gsl/gsl_assert
 include/gsl/gsl_byte
+include/gsl/gsl_narrow
 include/gsl/gsl_util
-include/gsl/multi_span
+include/gsl/narrow
 include/gsl/pointers
 include/gsl/span
 include/gsl/span_ext
 include/gsl/string_span
+include/gsl/util
 share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake
 share/cmake/Microsoft.GSL/Microsoft.GSLConfigVersion.cmake
Index: pkgsrc/devel/c++gsl/buildlink3.mk
diff -u pkgsrc/devel/c++gsl/buildlink3.mk:1.2 pkgsrc/devel/c++gsl/buildlink3.mk:1.3
--- pkgsrc/devel/c++gsl/buildlink3.mk:1.2       Thu Jul 20 21:45:26 2023
+++ pkgsrc/devel/c++gsl/buildlink3.mk   Wed Dec 13 11:44:26 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2023/07/20 21:45:26 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/12/13 11:44:26 nros Exp $
 
 BUILDLINK_TREE+=       c++gsl
 
@@ -7,7 +7,7 @@ C++GSL_BUILDLINK3_MK:=
 
 USE_CXX_FEATURES+=     c++14
 
-BUILDLINK_API_DEPENDS.c++gsl+= c++gsl>=3.1.0
+BUILDLINK_API_DEPENDS.c++gsl+= c++gsl>=4.0.0
 BUILDLINK_PKGSRCDIR.c++gsl?=   ../../devel/c++gsl
 BUILDLINK_DEPMETHOD.c++gsl?=   build
 .endif # C++GSL_BUILDLINK3_MK

Index: pkgsrc/devel/c++gsl/distinfo
diff -u pkgsrc/devel/c++gsl/distinfo:1.4 pkgsrc/devel/c++gsl/distinfo:1.5
--- pkgsrc/devel/c++gsl/distinfo:1.4    Sun Jan 23 20:34:46 2022
+++ pkgsrc/devel/c++gsl/distinfo        Wed Dec 13 11:44:26 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2022/01/23 20:34:46 nros Exp $
+$NetBSD: distinfo,v 1.5 2023/12/13 11:44:26 nros Exp $
 
-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
+BLAKE2s (GSL-4.0.0.tar.gz) = 5eac47950a289b2218032c77863b3995eba89e47df4b72b107dbe394b7383255
+SHA512 (GSL-4.0.0.tar.gz) = 7fa7446796c6bf82fb3bff09f86a69c446a27be528bef3b17c8bc5ad2f24d5cf86bdb3d3813ecb44726e8f395020180e97e41027330d1fbf545cc0f0b44aac29
+Size (GSL-4.0.0.tar.gz) = 55846 bytes



Home | Main Index | Thread Index | Old Index