pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/unittest-cpp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 23 09:40:54 UTC 2019

Added Files:
        pkgsrc/devel/unittest-cpp: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/unittest-cpp/patches: patch-configure

Log Message:
devel/unittest-cpp: import unittest-cpp-2.0.0

Packaged for wip by leo@

UnitTest++ is a lightweight unit testing framework for C++. It was
designed to do test-driven development on a wide variety of platforms.
Simplicity, portability, speed, and small footprint are all very
important aspects of UnitTest++. UnitTest++ is mostly standard C++
and makes minimal use of advanced library and language features,
which means it should be easily portable to just about any platform.


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

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

Added files:

Index: pkgsrc/devel/unittest-cpp/DESCR
diff -u /dev/null pkgsrc/devel/unittest-cpp/DESCR:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/DESCR     Sun Jun 23 09:40:54 2019
@@ -0,0 +1,6 @@
+UnitTest++ is a lightweight unit testing framework for C++. It was
+designed to do test-driven development on a wide variety of platforms.
+Simplicity, portability, speed, and small footprint are all very
+important aspects of UnitTest++. UnitTest++ is mostly standard C++
+and makes minimal use of advanced library and language features,
+which means it should be easily portable to just about any platform.
Index: pkgsrc/devel/unittest-cpp/Makefile
diff -u /dev/null pkgsrc/devel/unittest-cpp/Makefile:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/Makefile  Sun Jun 23 09:40:54 2019
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/06/23 09:40:54 wiz Exp $
+
+DISTNAME=      unittest-cpp-2.0.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=unittest-cpp/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/unittest-cpp/unittest-cpp/
+COMMENT=       Lightweight unit testing framework for C++
+LICENSE=       mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+=   UnitTest++.pc.in
+
+TEST_TARGET=   check
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/unittest-cpp/PLIST
diff -u /dev/null pkgsrc/devel/unittest-cpp/PLIST:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/PLIST     Sun Jun 23 09:40:54 2019
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/23 09:40:54 wiz Exp $
+include/UnitTest++/AssertException.h
+include/UnitTest++/CheckMacros.h
+include/UnitTest++/Checks.h
+include/UnitTest++/CompositeTestReporter.h
+include/UnitTest++/Config.h
+include/UnitTest++/CurrentTest.h
+include/UnitTest++/DeferredTestReporter.h
+include/UnitTest++/DeferredTestResult.h
+include/UnitTest++/ExceptionMacros.h
+include/UnitTest++/ExecuteTest.h
+include/UnitTest++/HelperMacros.h
+include/UnitTest++/MemoryOutStream.h
+include/UnitTest++/Posix/SignalTranslator.h
+include/UnitTest++/Posix/TimeHelpers.h
+include/UnitTest++/ReportAssert.h
+include/UnitTest++/ReportAssertImpl.h
+include/UnitTest++/RequireMacros.h
+include/UnitTest++/RequiredCheckException.h
+include/UnitTest++/RequiredCheckTestReporter.h
+include/UnitTest++/Test.h
+include/UnitTest++/TestDetails.h
+include/UnitTest++/TestList.h
+include/UnitTest++/TestMacros.h
+include/UnitTest++/TestReporter.h
+include/UnitTest++/TestReporterStdout.h
+include/UnitTest++/TestResults.h
+include/UnitTest++/TestRunner.h
+include/UnitTest++/TestSuite.h
+include/UnitTest++/ThrowingTestReporter.h
+include/UnitTest++/TimeConstraint.h
+include/UnitTest++/TimeHelpers.h
+include/UnitTest++/UnitTest++.h
+include/UnitTest++/UnitTestPP.h
+include/UnitTest++/XmlTestReporter.h
+lib/libUnitTest++.la
+lib/pkgconfig/UnitTest++.pc
Index: pkgsrc/devel/unittest-cpp/buildlink3.mk
diff -u /dev/null pkgsrc/devel/unittest-cpp/buildlink3.mk:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/buildlink3.mk     Sun Jun 23 09:40:54 2019
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/06/23 09:40:54 wiz Exp $
+
+BUILDLINK_TREE+=       unittest-cpp
+
+.if !defined(UNITTEST_CPP_BUILDLINK3_MK)
+UNITTEST_CPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.unittest-cpp+=   unittest-cpp>=2.0.0
+BUILDLINK_PKGSRCDIR.unittest-cpp?=     ../../devel/unittest-cpp
+.endif # UNITTEST_CPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -unittest-cpp
Index: pkgsrc/devel/unittest-cpp/distinfo
diff -u /dev/null pkgsrc/devel/unittest-cpp/distinfo:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/distinfo  Sun Jun 23 09:40:54 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/06/23 09:40:54 wiz Exp $
+
+SHA1 (unittest-cpp-2.0.0.tar.gz) = ccff17bdfed7d130ef0ccb16429855c5692d70b2
+RMD160 (unittest-cpp-2.0.0.tar.gz) = 8f06ab7e63203b45f4174930901228801dacd4ab
+SHA512 (unittest-cpp-2.0.0.tar.gz) = 51b37055dbe2a8772a59047f900202332b75be8801af94496848503c6b652d34f5e2a62c92555d492e2265d35fc6befb5bd4209364f7a4e7c9f2f5988537fae6
+Size (unittest-cpp-2.0.0.tar.gz) = 406798 bytes
+SHA1 (patch-configure) = a2cacec75c2f147a2dd6f9562324ee94d9629def

Index: pkgsrc/devel/unittest-cpp/patches/patch-configure
diff -u /dev/null pkgsrc/devel/unittest-cpp/patches/patch-configure:1.1
--- /dev/null   Sun Jun 23 09:40:54 2019
+++ pkgsrc/devel/unittest-cpp/patches/patch-configure   Sun Jun 23 09:40:54 2019
@@ -0,0 +1,26 @@
+$NetBSD: patch-configure,v 1.1 2019/06/23 09:40:54 wiz Exp $
+
+Avoid bash-isms.
+
+--- configure.orig     2017-01-13 22:09:58.000000000 +0000
++++ configure
+@@ -3131,13 +3131,16 @@ case $host_os in *\ *) host_os=`echo "$h
+ 
+ 
+ 
+- if test "${host//mingw/}" != "${host}" -o "${host//msvc/}" != "${host}"; then
++case "${host}" in
++*mingw* | *msvc* )
+   WINDOWS_TRUE=
+   WINDOWS_FALSE='#'
+-else
++  ;;
++* )
+   WINDOWS_TRUE='#'
+   WINDOWS_FALSE=
+-fi
++  ;;
++esac
+ 
+ 
+ case `pwd` in



Home | Main Index | Thread Index | Old Index