pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/catch2



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Feb  3 12:35:13 UTC 2020

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

Log Message:
New package for Catch2, the successor to devel/catch.

Catch2 is a multi-paradigm test framework for C++. It also supports
Objective-C (and maybe C). It is primarily distributed as a single header file,
although certain extensions may require additional headers.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/catch2/DESCR pkgsrc/devel/catch2/Makefile \
    pkgsrc/devel/catch2/PLIST pkgsrc/devel/catch2/buildlink3.mk \
    pkgsrc/devel/catch2/distinfo

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

Added files:

Index: pkgsrc/devel/catch2/DESCR
diff -u /dev/null pkgsrc/devel/catch2/DESCR:1.1
--- /dev/null   Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/DESCR   Mon Feb  3 12:35:13 2020
@@ -0,0 +1,3 @@
+Catch2 is a multi-paradigm test framework for C++. It also supports
+Objective-C (and maybe C). It is primarily distributed as a single header file,
+although certain extensions may require additional headers.
Index: pkgsrc/devel/catch2/Makefile
diff -u /dev/null pkgsrc/devel/catch2/Makefile:1.1
--- /dev/null   Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/Makefile        Mon Feb  3 12:35:13 2020
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
+
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      Catch2-2.11.1
+PKGNAME=       ${DISTNAME:tl}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=catchorg/}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/catchorg/Catch2/
+COMMENT=       C++ header-only test framework for unit tests
+LICENSE=       boost-license
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++14
+USE_CMAKE=     yes
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+CMAKE_ARGS+=   -DBUILD_TESTING=OFF
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
+
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/catch2/PLIST
diff -u /dev/null pkgsrc/devel/catch2/PLIST:1.1
--- /dev/null   Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/PLIST   Mon Feb  3 12:35:13 2020
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
+include/catch2/catch.hpp
+include/catch2/catch_reporter_automake.hpp
+include/catch2/catch_reporter_sonarqube.hpp
+include/catch2/catch_reporter_tap.hpp
+include/catch2/catch_reporter_teamcity.hpp
+lib/cmake/Catch2/Catch.cmake
+lib/cmake/Catch2/Catch2Config.cmake
+lib/cmake/Catch2/Catch2ConfigVersion.cmake
+lib/cmake/Catch2/Catch2Targets.cmake
+lib/cmake/Catch2/CatchAddTests.cmake
+lib/cmake/Catch2/ParseAndAddCatchTests.cmake
+share/Catch2/gdbinit
+share/Catch2/lldbinit
+share/doc/Catch2/Readme.md
+share/doc/Catch2/assertions.md
+share/doc/Catch2/benchmarks.md
+share/doc/Catch2/ci-and-misc.md
+share/doc/Catch2/cmake-integration.md
+share/doc/Catch2/command-line.md
+share/doc/Catch2/commercial-users.md
+share/doc/Catch2/configuration.md
+share/doc/Catch2/contributing.md
+share/doc/Catch2/deprecations.md
+share/doc/Catch2/event-listeners.md
+share/doc/Catch2/generators.md
+share/doc/Catch2/limitations.md
+share/doc/Catch2/list-of-examples.md
+share/doc/Catch2/logging.md
+share/doc/Catch2/matchers.md
+share/doc/Catch2/opensource-users.md
+share/doc/Catch2/other-macros.md
+share/doc/Catch2/own-main.md
+share/doc/Catch2/release-notes.md
+share/doc/Catch2/release-process.md
+share/doc/Catch2/reporters.md
+share/doc/Catch2/slow-compiles.md
+share/doc/Catch2/test-cases-and-sections.md
+share/doc/Catch2/test-fixtures.md
+share/doc/Catch2/tostring.md
+share/doc/Catch2/tutorial.md
+share/doc/Catch2/why-catch.md
+share/pkgconfig/catch2.pc
Index: pkgsrc/devel/catch2/buildlink3.mk
diff -u /dev/null pkgsrc/devel/catch2/buildlink3.mk:1.1
--- /dev/null   Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/buildlink3.mk   Mon Feb  3 12:35:13 2020
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
+
+BUILDLINK_TREE+=       catch2
+
+.if !defined(CATCH2_BUILDLINK3_MK)
+CATCH2_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.catch2?=   build
+BUILDLINK_API_DEPENDS.catch2+= catch2>=2.11.1
+BUILDLINK_PKGSRCDIR.catch2?=   ../../devel/catch2
+.endif # CATCH2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -catch2
Index: pkgsrc/devel/catch2/distinfo
diff -u /dev/null pkgsrc/devel/catch2/distinfo:1.1
--- /dev/null   Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/distinfo        Mon Feb  3 12:35:13 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
+
+SHA1 (Catch2-2.11.1.tar.gz) = dbf1bee2391a58936e353f67c6935ecdfbae336b
+RMD160 (Catch2-2.11.1.tar.gz) = 4a66818140972da850d0e4daf82609175fafde17
+SHA512 (Catch2-2.11.1.tar.gz) = fe4474f7c40500bd91009cfc68a0ebb138d9c5f37d4184fed754a447983bc4716f11b3f9ae1a984d2b12d48e7909a5c20096be624b6eafcf60885fffc70051b0
+Size (Catch2-2.11.1.tar.gz) = 631509 bytes



Home | Main Index | Thread Index | Old Index