pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/catch2 New package for Catch2, the successor to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1dd7d4040884
branches:  trunk
changeset: 411023:1dd7d4040884
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Feb 03 12:35:13 2020 +0000

description:
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.

diffstat:

 devel/catch2/DESCR         |   3 +++
 devel/catch2/Makefile      |  26 ++++++++++++++++++++++++++
 devel/catch2/PLIST         |  43 +++++++++++++++++++++++++++++++++++++++++++
 devel/catch2/buildlink3.mk |  13 +++++++++++++
 devel/catch2/distinfo      |   6 ++++++
 5 files changed, 91 insertions(+), 0 deletions(-)

diffs (111 lines):

diff -r ba23e413095d -r 1dd7d4040884 devel/catch2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/catch2/DESCR        Mon Feb 03 12:35:13 2020 +0000
@@ -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.
diff -r ba23e413095d -r 1dd7d4040884 devel/catch2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/catch2/Makefile     Mon Feb 03 12:35:13 2020 +0000
@@ -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"
diff -r ba23e413095d -r 1dd7d4040884 devel/catch2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/catch2/PLIST        Mon Feb 03 12:35:13 2020 +0000
@@ -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
diff -r ba23e413095d -r 1dd7d4040884 devel/catch2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/catch2/buildlink3.mk        Mon Feb 03 12:35:13 2020 +0000
@@ -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
diff -r ba23e413095d -r 1dd7d4040884 devel/catch2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/catch2/distinfo     Mon Feb 03 12:35:13 2020 +0000
@@ -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