svn commit: r418924 - in head/devel: . aunit aunit/files
John Marino
marino at FreeBSD.org
Fri Jul 22 17:08:21 UTC 2016
Author: marino
Date: Fri Jul 22 17:08:18 2016
New Revision: 418924
URL: https://svnweb.freebsd.org/changeset/ports/418924
Log:
Add new port devel/aunit
This is a test dependency of the upcoming AdaID port. There are existing
ports that also could use Aunit but they currently work around or skip
testing options.
===
AUnit is a set of Ada packages based on the xUnit family of unit test
frameworks. It is intended as a developer's tool to facilitate confident
writing and evolution of Ada software. It is purposely lightweight, as
one of its main goals is to make it easy to develop and run unit tests,
rather than to generate artifacts for process management. The framework
supports easy composition of sets of unit tests to provide flexibility
in determining what tests to run for a given purpose.
Added:
head/devel/aunit/
head/devel/aunit/Makefile (contents, props changed)
head/devel/aunit/distinfo (contents, props changed)
head/devel/aunit/files/
head/devel/aunit/files/patch-Makefile (contents, props changed)
head/devel/aunit/pkg-descr (contents, props changed)
head/devel/aunit/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jul 22 15:20:19 2016 (r418923)
+++ head/devel/Makefile Fri Jul 22 17:08:18 2016 (r418924)
@@ -115,6 +115,7 @@
SUBDIR += atlas
SUBDIR += atlas-devel
SUBDIR += atlassian-plugin-sdk
+ SUBDIR += aunit
SUBDIR += autobook
SUBDIR += autoconf
SUBDIR += autoconf-archive
Added: head/devel/aunit/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/aunit/Makefile Fri Jul 22 17:08:18 2016 (r418924)
@@ -0,0 +1,28 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= aunit
+PORTVERSION= 2016
+CATEGORIES= devel
+MASTER_SITES= http://downloads.dragonlace.net/src/
+DISTNAME= aunit-gpl-${PORTVERSION}-src
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= Ada unit testing framework
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= gprbuild:devel/gprbuild
+
+USES= ada gmake
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|LIBDIR|MYLIBDIR|' \
+ ${WRKSRC}/lib/gnat/aunit_shared.gpr
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install:
+ ${RM} -r ${STAGEDIR}${PREFIX}/lib/gnat/manifests
+
+.include <bsd.port.mk>
Added: head/devel/aunit/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/aunit/distinfo Fri Jul 22 17:08:18 2016 (r418924)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469184203
+SHA256 (aunit-gpl-2016-src.tar.gz) = ba1b86b853daef98190a7dfc9858aedcd4cc85219b310356c02348f32dcc77cf
+SIZE (aunit-gpl-2016-src.tar.gz) = 393489
Added: head/devel/aunit/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/aunit/files/patch-Makefile Fri Jul 22 17:08:18 2016 (r418924)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2016-01-19 16:18:43 UTC
++++ Makefile
+@@ -4,7 +4,7 @@ GPRBUILD = gprbuild
+ GPRCLEAN = gprclean
+ GPRINSTALL = gprinstall
+
+-INSTALL:=$(shell exec=`which gprbuild`;if [ ! -x "$$exec" ]; then unset exec;fi;echo $$exec | sed -e 's/\/bin\/$(GPRBUILD).*//')
++INSTALL:=$(DESTDIR)$(PREFIX)
+
+ ifeq ($(RTS),)
+ RTS=full
Added: head/devel/aunit/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/aunit/pkg-descr Fri Jul 22 17:08:18 2016 (r418924)
@@ -0,0 +1,9 @@
+AUnit is a set of Ada packages based on the xUnit family of unit test
+frameworks. It is intended as a developer's tool to facilitate confident
+writing and evolution of Ada software. It is purposely lightweight, as
+one of its main goals is to make it easy to develop and run unit tests,
+rather than to generate artifacts for process management. The framework
+supports easy composition of sets of unit tests to provide flexibility
+in determining what tests to run for a given purpose.
+
+WWW: http://libre.adacore.com/tools/aunit/
Added: head/devel/aunit/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/aunit/pkg-plist Fri Jul 22 17:08:18 2016 (r418924)
@@ -0,0 +1,171 @@
+include/aunit/ada_containers-aunit_lists.adb
+include/aunit/ada_containers-aunit_lists.ads
+include/aunit/ada_containers.ads
+include/aunit/aunit-assertions-assert_exception.adb
+include/aunit/aunit-assertions.adb
+include/aunit/aunit-assertions.ads
+include/aunit/aunit-memory-utils.adb
+include/aunit/aunit-memory-utils.ads
+include/aunit/aunit-memory.adb
+include/aunit/aunit-memory.ads
+include/aunit/aunit-options.ads
+include/aunit/aunit-reporter-gnattest.adb
+include/aunit/aunit-reporter-gnattest.ads
+include/aunit/aunit-reporter-text.adb
+include/aunit/aunit-reporter-text.ads
+include/aunit/aunit-reporter-xml.adb
+include/aunit/aunit-reporter-xml.ads
+include/aunit/aunit-reporter.ads
+include/aunit/aunit-run.adb
+include/aunit/aunit-run.ads
+include/aunit/aunit-simple_test_cases-run_routine.adb
+include/aunit/aunit-simple_test_cases.adb
+include/aunit/aunit-simple_test_cases.ads
+include/aunit/aunit-test_caller.adb
+include/aunit/aunit-test_caller.ads
+include/aunit/aunit-test_cases-registration.adb
+include/aunit/aunit-test_cases.adb
+include/aunit/aunit-test_cases.ads
+include/aunit/aunit-test_filters.adb
+include/aunit/aunit-test_filters.ads
+include/aunit/aunit-test_fixtures.adb
+include/aunit/aunit-test_fixtures.ads
+include/aunit/aunit-test_results.adb
+include/aunit/aunit-test_results.ads
+include/aunit/aunit-test_suites.adb
+include/aunit/aunit-test_suites.ads
+include/aunit/aunit-tests.ads
+include/aunit/aunit-time_measure.adb
+include/aunit/aunit-time_measure.ads
+include/aunit/aunit.adb
+include/aunit/aunit.ads
+lib/aunit/ada_containers-aunit_lists.ali
+lib/aunit/ada_containers.ali
+lib/aunit/aunit-assertions.ali
+lib/aunit/aunit-memory-utils.ali
+lib/aunit/aunit-memory.ali
+lib/aunit/aunit-options.ali
+lib/aunit/aunit-reporter-gnattest.ali
+lib/aunit/aunit-reporter-text.ali
+lib/aunit/aunit-reporter-xml.ali
+lib/aunit/aunit-reporter.ali
+lib/aunit/aunit-run.ali
+lib/aunit/aunit-simple_test_cases.ali
+lib/aunit/aunit-test_caller.ali
+lib/aunit/aunit-test_cases.ali
+lib/aunit/aunit-test_filters.ali
+lib/aunit/aunit-test_fixtures.ali
+lib/aunit/aunit-test_results.ali
+lib/aunit/aunit-test_suites.ali
+lib/aunit/aunit-tests.ali
+lib/aunit/aunit-time_measure.ali
+lib/aunit/aunit.ali
+lib/aunit/libaunit.a
+lib/gnat/aunit.gpr
+%%PORTDOCS%%%%DOCSDIR%%/aunit.html
+%%PORTDOCS%%%%DOCSDIR%%/aunit.info
+%%PORTDOCS%%%%DOCSDIR%%/aunit.pdf
+%%PORTDOCS%%%%DOCSDIR%%/aunit.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/main_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/main_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operands-ints-test-suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operands-ints-test-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operations-addition-test-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operations-binary-gen_test-gen_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operations-binary-gen_test-gen_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/operations-subtraction-test-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/stack-test-suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/stack-test-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/fixture/test_calculator.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operands-ints.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operands-ints.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operands.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-addition.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-binary.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-binary.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-ints.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-ints.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations-subtraction.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/operations.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/stack.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/src/stack.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operands-ints-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operands-ints-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-addition-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-addition_test_fixture.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-addition_test_fixture.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-binary-gen_test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-binary-gen_test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-subtraction-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-subtraction_test_fixture.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/operations-subtraction_test_fixture.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/stack-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator/tests/stack-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tested_lib/src/math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tested_lib/src/math.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tests/math-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tests/math-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tests/math_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tests/math_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/failures/tests/test_math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/rectangle.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/rectangle.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/shape.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/shape.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/square.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/src/square.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/my_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/my_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/rectangle-tests-suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/rectangle-tests-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/rectangle-tests.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/rectangle-tests.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/shape-tests.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/shape-tests.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests-suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests-suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests-suite_liskov.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests-suite_liskov.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/square-tests.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/liskov/tests/test_liskov.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tested_lib/src/math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tested_lib/src/math.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tests/math-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tests/math-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tests/math_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tests/math_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_test/tests/test_math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/src/math-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/src/math-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/src/math_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/src/math_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/harness/src/test_math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/tested_lib/src/math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/tested_lib/src/math.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_caller/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/harness.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tested_lib/src/math.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tested_lib/src/math.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tested_lib/testlib.gpr
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tests/math-test.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tests/math-test.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tests/math_suite.adb
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tests/math_suite.ads
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_fixture/tests/test_math.adb
+share/gps/plug-ins/aunit.xml
More information about the svn-ports-all
mailing list