pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Thu Sep 24 16:08:26 UTC 2026

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/doctest: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
doctest is a new C++ testing framework but is by far the fastest
both in compile times (by orders of magnitude) and runtime compared
to other feature-rich alternatives. It brings the ability of compiled
languages such as D / Rust / Nim to have tests written directly in
the production code thanks to a fast, transparent and flexible test
runner with a clean interface.


To generate a diff of this commit:
cvs rdiff -u -r1.4690 -r1.4691 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/doctest/DESCR \
    pkgsrc/devel/doctest/Makefile pkgsrc/devel/doctest/PLIST \
    pkgsrc/devel/doctest/buildlink3.mk pkgsrc/devel/doctest/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/Makefile
diff -u pkgsrc/devel/Makefile:1.4690 pkgsrc/devel/Makefile:1.4691
--- pkgsrc/devel/Makefile:1.4690        Sat Sep 12 20:33:30 2026
+++ pkgsrc/devel/Makefile       Thu Sep 24 16:08:25 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4690 2026/09/12 20:33:30 wiz Exp $
+# $NetBSD: Makefile,v 1.4691 2026/09/24 16:08:25 ktnb Exp $
 #
 
 COMMENT=       Development utilities
@@ -370,6 +370,7 @@ SUBDIR+=    dmake
 SUBDIR+=       dmalloc
 SUBDIR+=       doc++
 SUBDIR+=       docopt.cpp
+SUBDIR+=       doctext
 SUBDIR+=       dolphin-plugins
 SUBDIR+=       dotconf
 SUBDIR+=       doxygen

Added files:

Index: pkgsrc/devel/doctest/DESCR
diff -u /dev/null pkgsrc/devel/doctest/DESCR:1.1
--- /dev/null   Thu Sep 24 16:08:26 2026
+++ pkgsrc/devel/doctest/DESCR  Thu Sep 24 16:08:26 2026
@@ -0,0 +1,6 @@
+doctest is a new C++ testing framework but is by far the fastest
+both in compile times (by orders of magnitude) and runtime compared
+to other feature-rich alternatives. It brings the ability of compiled
+languages such as D / Rust / Nim to have tests written directly in
+the production code thanks to a fast, transparent and flexible test
+runner with a clean interface.
Index: pkgsrc/devel/doctest/Makefile
diff -u /dev/null pkgsrc/devel/doctest/Makefile:1.1
--- /dev/null   Thu Sep 24 16:08:26 2026
+++ pkgsrc/devel/doctest/Makefile       Thu Sep 24 16:08:26 2026
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2026/09/24 16:08:26 ktnb Exp $
+
+DISTNAME=      doctest-2.5.3
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=doctest/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/doctest/doctest/
+COMMENT=       Fastest feature-rich C++11/14/17/20/23 single-header testing framework
+LICENSE=       mit
+
+USE_LANGUAGES= c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/doctest/PLIST
diff -u /dev/null pkgsrc/devel/doctest/PLIST:1.1
--- /dev/null   Thu Sep 24 16:08:26 2026
+++ pkgsrc/devel/doctest/PLIST  Thu Sep 24 16:08:26 2026
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2026/09/24 16:08:26 ktnb Exp $
+include/doctest/doctest.h
+include/doctest/extensions/doctest_mpi.h
+include/doctest/extensions/doctest_util.h
+include/doctest/extensions/mpi_reporter.h
+include/doctest/extensions/mpi_sub_comm.h
+lib/cmake/doctest/doctest.cmake
+lib/cmake/doctest/doctestAddTests.cmake
+lib/cmake/doctest/doctestConfig.cmake
+lib/cmake/doctest/doctestConfigVersion.cmake
+lib/cmake/doctest/doctestTargets.cmake
+lib/pkgconfig/doctest.pc
Index: pkgsrc/devel/doctest/buildlink3.mk
diff -u /dev/null pkgsrc/devel/doctest/buildlink3.mk:1.1
--- /dev/null   Thu Sep 24 16:08:26 2026
+++ pkgsrc/devel/doctest/buildlink3.mk  Thu Sep 24 16:08:26 2026
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/09/24 16:08:26 ktnb Exp $
+
+BUILDLINK_TREE+=       doctest
+
+.if !defined(DOCTEST_BUILDLINK3_MK)
+DOCTEST_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.doctest?=  build
+
+BUILDLINK_API_DEPENDS.doctest+=        doctest>=2.5.3
+BUILDLINK_PKGSRCDIR.doctest?=  ../../devel/doctest
+.endif # DOCTEST_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -doctest
Index: pkgsrc/devel/doctest/distinfo
diff -u /dev/null pkgsrc/devel/doctest/distinfo:1.1
--- /dev/null   Thu Sep 24 16:08:26 2026
+++ pkgsrc/devel/doctest/distinfo       Thu Sep 24 16:08:26 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/09/24 16:08:26 ktnb Exp $
+
+BLAKE2s (doctest-2.5.3.tar.gz) = 3a8bc4dcef78975816d7d88288515b0cb90e2e7dac19656b06a16724cac3cd6e
+SHA512 (doctest-2.5.3.tar.gz) = d7222ae62cf2ac0f858567af0e539bd34cef47827004f805261007943e8e02370fcf16cbf0302581766353bf28317dd280a885fdc775baaa3e519aa2cf2f2eca
+Size (doctest-2.5.3.tar.gz) = 2245013 bytes



Home | Main Index | Thread Index | Old Index