pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cunit Initial import of CUnit-2.1 into the packa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14f73526d660
branches:  trunk
changeset: 552839:14f73526d660
user:      agc <agc%pkgsrc.org@localhost>
date:      Sat Jan 10 21:03:58 2009 +0000

description:
Initial import of CUnit-2.1 into the packages collection.

CUnit is a lightweight system for writing, administering, and running
unit tests in C.  It provides C programmers a basic testing
functionality with a flexible variety of user interfaces.

CUnit is built as a static library which is linked with the user's
testing code.  It uses a simple framework for building test
structures, and provides a rich set of assertions for testing common
data types.  In addition, several different interfaces are provided
for running tests and reporting results.  These interfaces currently
include:

Automated       Output to xml file              Non-interactive
Basic           Flexible programming interface  Non-interactive
Console         Console interface (ansi C)      Interactive
Curses          Graphical interface (Unix)      Interactive

diffstat:

 devel/cunit/DESCR            |  15 +++++++++++++++
 devel/cunit/Makefile         |  23 +++++++++++++++++++++++
 devel/cunit/PLIST            |  42 ++++++++++++++++++++++++++++++++++++++++++
 devel/cunit/buildlink3.mk    |  19 +++++++++++++++++++
 devel/cunit/distinfo         |   8 ++++++++
 devel/cunit/patches/patch-aa |  14 ++++++++++++++
 devel/cunit/patches/patch-ab |  15 +++++++++++++++
 devel/cunit/patches/patch-ac |  15 +++++++++++++++
 8 files changed, 151 insertions(+), 0 deletions(-)

diffs (183 lines):

diff -r c76361a99b46 -r 14f73526d660 devel/cunit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/DESCR Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,15 @@
+CUnit is a lightweight system for writing, administering, and running
+unit tests in C.  It provides C programmers a basic testing
+functionality with a flexible variety of user interfaces.
+
+CUnit is built as a static library which is linked with the user's
+testing code.  It uses a simple framework for building test
+structures, and provides a rich set of assertions for testing common
+data types.  In addition, several different interfaces are provided
+for running tests and reporting results.  These interfaces currently
+include:
+
+Automated      Output to xml file              Non-interactive
+Basic          Flexible programming interface  Non-interactive
+Console        Console interface (ansi C)      Interactive
+Curses                 Graphical interface (Unix)      Interactive
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/Makefile      Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+DISTNAME=              CUnit-2.1-0-src
+PKGNAME=               CUnit-2.1
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=cunit/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://cunit.sourceforge.net/
+COMMENT=               C Unit xhecking test software
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+DEPENDS+=              autoconf-*:../../devel/autoconf
+
+WRKSRC=                        ${WRKDIR}/CUnit-2.1-0
+
+INSTALLATION_DIRS+=    include/CUnit share/doc/CUnit
+INSTALLATION_DIRS+=    share/CUnit share/doc/CUnit/headers
+
+.include "../../mk/bsd.pkg.mk"
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/PLIST Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+include/CUnit/Automated.h
+include/CUnit/Basic.h
+include/CUnit/CUError.h
+include/CUnit/CUnit.h
+include/CUnit/Console.h
+include/CUnit/MyMem.h
+include/CUnit/TestDB.h
+include/CUnit/TestRun.h
+include/CUnit/Util.h
+lib/libcunit.la
+man/man3/CUnit.3
+share/CUnit/CUnit-List.dtd
+share/CUnit/CUnit-List.xsl
+share/CUnit/CUnit-Run.dtd
+share/CUnit/CUnit-Run.xsl
+share/CUnit/Memory-Dump.dtd
+share/CUnit/Memory-Dump.xsl
+share/doc/CUnit/CUnit_doc.css
+share/doc/CUnit/error_handling.html
+share/doc/CUnit/fdl.html
+share/doc/CUnit/headers/Automated.h
+share/doc/CUnit/headers/Basic.h
+share/doc/CUnit/headers/CUCurses.h
+share/doc/CUnit/headers/CUError.h
+share/doc/CUnit/headers/CUnit.h
+share/doc/CUnit/headers/Console.h
+share/doc/CUnit/headers/MyMem.h
+share/doc/CUnit/headers/TestDB.h
+share/doc/CUnit/headers/TestRun.h
+share/doc/CUnit/headers/Util.h
+share/doc/CUnit/headers/Win.h
+share/doc/CUnit/index.html
+share/doc/CUnit/introduction.html
+share/doc/CUnit/managing_tests.html
+share/doc/CUnit/running_tests.html
+share/doc/CUnit/test_registry.html
+share/doc/CUnit/writing_tests.html
+@dirrm share/doc/CUnit/headers
+@dirrm share/doc/CUnit
+@dirrm share/CUnit
+@dirrm include/CUnit
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/buildlink3.mk Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+CUNIT_BUILDLINK3_MK:=  ${CUNIT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    CUnit
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:NCUnit}
+BUILDLINK_PACKAGES+=   CUnit
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}CUnit
+
+.if ${CUNIT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.CUnit+=  CUnit>=2.1
+BUILDLINK_PKGSRCDIR.CUnit?=    ../../devel/cunit
+.endif # CUNIT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/distinfo      Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+SHA1 (CUnit-2.1-0-src.tar.gz) = 05920c1defda3527cee3bc82fb9eadf45c5ea7a1
+RMD160 (CUnit-2.1-0-src.tar.gz) = db3e8ea2294faae8301b597164f07fe482e877b5
+Size (CUnit-2.1-0-src.tar.gz) = 628767 bytes
+SHA1 (patch-aa) = bf27a2c600a217e4d53fc59b2765f1b87f168100
+SHA1 (patch-ab) = cc16d516fde43a5a4de62fce1a061dd6bd6366f7
+SHA1 (patch-ac) = 6f385dabae5dd46862dcaff157782dc5ec08d63a
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/patches/patch-aa      Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+Place documentation in the correct place
+
+--- doc/Makefile.am    2009/01/10 17:32:20     1.1
++++ doc/Makefile.am    2009/01/10 17:32:29
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ 
+ doc_DATA = \
+       CUnit_doc.css \
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/patches/patch-ab      Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+Place docs in correct directory
+
+--- doc/Makefile.in    2009/01/10 17:57:40     1.1
++++ doc/Makefile.in    2009/01/10 17:58:05
+@@ -192,7 +192,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ doc_DATA = \
+       CUnit_doc.css \
+       error_handling.html \
diff -r c76361a99b46 -r 14f73526d660 devel/cunit/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cunit/patches/patch-ac      Sat Jan 10 21:03:58 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/01/10 21:03:58 agc Exp $
+
+Place doc headers in correct directory
+
+--- doc/headers/Makefile.in    2009/01/10 18:01:36     1.1
++++ doc/headers/Makefile.in    2009/01/10 18:02:34
+@@ -183,7 +183,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-dochdrdir = $(prefix)/doc/@PACKAGE@/headers
++dochdrdir = $(prefix)/share/doc/@PACKAGE@/headers
+ INCLUDE_FILES = \
+       Automated.h \
+       Basic.h \



Home | Main Index | Thread Index | Old Index