pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/unittest-cpp devel/unittest-cpp: import unittest...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/113ac1a2ba83
branches:  trunk
changeset: 397444:113ac1a2ba83
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 23 09:40:54 2019 +0000

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

diffstat:

 devel/unittest-cpp/DESCR                   |   6 ++++
 devel/unittest-cpp/Makefile                |  22 +++++++++++++++++
 devel/unittest-cpp/PLIST                   |  37 ++++++++++++++++++++++++++++++
 devel/unittest-cpp/buildlink3.mk           |  12 +++++++++
 devel/unittest-cpp/distinfo                |   7 +++++
 devel/unittest-cpp/patches/patch-configure |  26 +++++++++++++++++++++
 6 files changed, 110 insertions(+), 0 deletions(-)

diffs (134 lines):

diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/DESCR  Sun Jun 23 09:40:54 2019 +0000
@@ -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.
diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/Makefile       Sun Jun 23 09:40:54 2019 +0000
@@ -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"
diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/PLIST  Sun Jun 23 09:40:54 2019 +0000
@@ -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
diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/buildlink3.mk  Sun Jun 23 09:40:54 2019 +0000
@@ -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
diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/distinfo       Sun Jun 23 09:40:54 2019 +0000
@@ -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
diff -r f2b91550f4f9 -r 113ac1a2ba83 devel/unittest-cpp/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/unittest-cpp/patches/patch-configure        Sun Jun 23 09:40:54 2019 +0000
@@ -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