This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository antlr3.2.
commit 0e082e432ca88271dd809b62b110f6b96f9f09f2 Author: Ludovic Claude <[email protected]> Date: Sun Jul 25 21:02:20 2010 +0000 * Rebuild with a newer version of maven-debian-helper (Closes: #587499) * maven.rules: transform antlr 3 versions to '3.x' instead of 'debian' * Split packaging of gUnit jar into new libantlr3-gunit-java package and gUnit Maven plugin into new antlr3-gunit-maven-plugin package, split Maven plugin for Antlr into new antlr3-maven-plugin package (Closes: #588005) * Update dependencies of antlr3, remove the dependencies coming from those 3 new packages. --- debian/antlr3.poms | 6 +-- debian/changelog | 15 +++++- debian/control | 78 +++++++++++++++++++++++++++- debian/libantlr3-gunit-java-doc.doc-base.api | 10 ++++ debian/libantlr3-gunit-java-doc.install | 2 + debian/maven.cleanIgnoreRules | 5 ++ debian/maven.rules | 9 ++-- debian/rules | 3 +- debian/scripts/antlr3.1 | 2 +- 9 files changed, 118 insertions(+), 12 deletions(-) diff --git a/debian/antlr3.poms b/debian/antlr3.poms index bdb742d..dd82cd2 100644 --- a/debian/antlr3.poms +++ b/debian/antlr3.poms @@ -1,6 +1,6 @@ pom.xml runtime/Java/pom.xml tool/pom.xml -antlr3-maven-plugin/pom.xml -gunit/pom.xml -gunit-maven-plugin/pom.xml +antlr3-maven-plugin/pom.xml --package=antlr3-maven-plugin +gunit/pom.xml --package=libantlr3-gunit-java +gunit-maven-plugin/pom.xml --package=antlr3-gunit-maven-plugin diff --git a/debian/changelog b/debian/changelog index 95bcda4..68d9fb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,16 @@ -antlr3 (3.2-4) UNRELEASED; urgency=low +antlr3 (3.2-4) unstable; urgency=low + [ Ludovic Claude ] + * Rebuild with a newer version of maven-debian-helper (Closes: #587499) + * maven.rules: transform antlr 3 versions to '3.x' instead of 'debian' + * Split packaging of gUnit jar into new libantlr3-gunit-java package + and gUnit Maven plugin into new antlr3-gunit-maven-plugin package, + split Maven plugin for Antlr into new antlr3-maven-plugin package + (Closes: #588005) + * Update dependencies of antlr3, remove the dependencies coming from + those 3 new packages. + + [ Niels Thykier ] * Fixed a typo in the control so antlr3 now properly suggests antlr3-gcj. * Reduced the alternative JREs to headless versions. @@ -7,7 +18,7 @@ antlr3 (3.2-4) UNRELEASED; urgency=low * Replaced B-D on default-jdk-builddep with gcj-native-helper and default-jdk. - -- Niels Thykier <[email protected]> Tue, 29 Jun 2010 22:41:44 +0200 + -- Ludovic Claude <[email protected]> Wed, 21 Jul 2010 23:22:09 +0200 antlr3 (3.2-3) unstable; urgency=low diff --git a/debian/control b/debian/control index 7082616..a5eb3bc 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Ludovic Claude <[email protected]>, Michael Koch <[email protected]> Build-Depends: debhelper (>= 7), cdbs, default-jdk, - maven-debian-helper (>= 1.0), libstringtemplate-java (>= 3.2.1), + maven-debian-helper (>= 1.1), libstringtemplate-java (>= 3.2.1), libantlr-maven-plugin-java (>= 2.1), libmaven-plugin-testing-java, libmaven-javadoc-plugin-java, default-jdk-doc, gcj-native-helper Standards-Version: 3.9.0 @@ -14,7 +14,7 @@ Homepage: http://www.antlr.org/ Package: antlr3 Architecture: all -Depends: ${misc:Depends}, ${maven:Depends}, +Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless | java5-runtime-headless | java6-runtime-headless, libstringtemplate-java @@ -59,3 +59,77 @@ Description: language tool for constructing compilers etc - documentation . This package provides the API documentation for ANTLR 3 +Package: antlr3-maven-plugin +Architecture: all +Depends: ${misc:Depends}, antlr3 (>= ${source:Version}), + libmaven2-core-java, libplexus-compiler-api-java +Description: Maven plugin for ANTLR 3 + ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is + a language tool that provides a framework for constructing recognizers, + compilers, and translators from grammatical descriptions containing C++ + or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. + . + This package provides the Maven plugin that allow to compile ANTLR 3 + grammars during a Maven build + +Package: libantlr3-gunit-java +Architecture: all +Depends: ${misc:Depends}, antlr3 (>= ${source:Version}), junit4 +Suggests: antlr3-gunit-maven-plugin +Description: Unit Test framework for ANTLR grammars + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + +Package: libantlr3-gunit-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, antlr3-doc, junit4-doc +Suggests: libantlr3-gunit-java +Description: API documentation for gUnit + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + . + This package provides the API documentation for gUnit for ANTLR 3 + +Package: antlr3-gunit-maven-plugin +Architecture: all +Depends: ${misc:Depends}, libantlr3-gunit-java (>= ${source:Version}), + libmaven2-core-java, libplexus-compiler-api-java +Description: Maven plugin for gUnit, a unit test framework for ANTLR grammars + gUnit is a "Unit Test" framework for ANTLR grammars. It provides a simple + way to write and run automated tests for ANTLR grammars in a manner similar + to Java unit testing framework jUnit. The basic idea is to create a bunch of + input/output pairs for rules in a grammar and gUnit will verify the expected + output/result. The input can be a single line or multiple lines of strings or + even an external file. The output can be simply success or failure, an + abstract syntax tree (AST), a rule return value, or some text output which + could be a rule's template return value. The current version of gUnit has 2 + main functions, interpreter and jUnit generator. The interpreter interprets + your gUnit script and runs unit tests using Java reflection to invoke methods + in your parser objects. The generator, on the other hand, translates your + gUnit script to jUnit Java code that you can compile and execute by hand. + . + This package provides the Maven plugin that allow to run gUnit tests during + a Maven build + + diff --git a/debian/libantlr3-gunit-java-doc.doc-base.api b/debian/libantlr3-gunit-java-doc.doc-base.api new file mode 100644 index 0000000..76c7acd --- /dev/null +++ b/debian/libantlr3-gunit-java-doc.doc-base.api @@ -0,0 +1,10 @@ +Document: libantlr3-gunit-java +Title: API Javadoc for gUnit for ANTLR 3 +Author: ANTLR developers +Abstract: This is the API Javadoc provided for the + gUnit testing framework for Antlr3. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libantlr3-gunit-java/api/index.html +Files: /usr/share/doc/libantlr3-gunit-java/api/* diff --git a/debian/libantlr3-gunit-java-doc.install b/debian/libantlr3-gunit-java-doc.install new file mode 100644 index 0000000..8fd5796 --- /dev/null +++ b/debian/libantlr3-gunit-java-doc.install @@ -0,0 +1,2 @@ +gunit/target/apidocs/* usr/share/doc/libantlr3-gunit-java/api + diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules index 866a6a1..0a7426a 100644 --- a/debian/maven.cleanIgnoreRules +++ b/debian/maven.cleanIgnoreRules @@ -14,3 +14,8 @@ # from the POM # junit junit jar s/3\..*/3.x/ org.antlr antlr3-maven-plugin maven-plugin * +org.apache.maven.plugins maven-assembly-plugin maven-plugin * +org.apache.maven.plugins maven-project-info-reports-plugin maven-plugin * +org.apache.maven.wagon wagon-ssh-external jar * +org.codehaus.mojo buildnumber-maven-plugin maven-plugin * +org.codehaus.mojo findbugs-maven-plugin maven-plugin * diff --git a/debian/maven.rules b/debian/maven.rules index 2729eef..76e8f9e 100644 --- a/debian/maven.rules +++ b/debian/maven.rules @@ -17,9 +17,12 @@ # junit junit jar s/3\..*/3.x/ antlr antlr jar s/2\..*/2.x/ * junit junit jar s/4\..*/4.x/ * -org.antlr stringtemplate jar s/3\..*/3.x/ * -# TODO: update this version when there is a new upstream version of antlr3 -org.antlr antlr3-maven-plugin maven-plugin s/.*/3.2/ +org.antlr antlr * s/3\..*/3.x/ * +org.antlr antlr-master * s/3\..*/3.x/ * +org.antlr antlr-runtime * s/3\..*/3.x/ * +#org.antlr antlr-maven-plugin maven-plugin s/3\..*/3.2/ * +org.antlr gunit * s/3\..*/3.x/ * +org.antlr stringtemplate * s/3\..*/3.x/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * diff --git a/debian/rules b/debian/rules index ebec002..1c1c23a 100755 --- a/debian/rules +++ b/debian/rules @@ -23,7 +23,7 @@ DEB_MAVEN_ARGS := -DbuildNumber="debian-$(shell echo $(DEB_NOEPOCH_VERSION) | se # Bootstrap the build with the generated sources taken from a normal run of # mvn install on the Antlr source code before-mvn-build:: PLUGIN_ARGS += -Dmaven.test.skip=true -Duse.maven.repo.local=true -before-mvn-build:: +before-mvn-build:: unpatch-poms cp -r debian/generated-sources/antlr3/* tool/src/main/java mh_patchpoms -pantlr3 --debian-build --keep-pom-version -idebian/maven.bootstrap.ignoreRules --maven-repo=$(DEB_MAVEN_REPO) $(DEB_MAVEN_INVOKE) $(PLUGIN_ARGS) -N $(DEB_MAVEN_BUILD_TARGET) $(DEB_MAVEN_INSTALL_TARGET) @@ -42,6 +42,7 @@ endif binary-post-install/antlr3:: mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar mh_linkrepojar -pantlr3 tool/pom.xml /usr/share/java/antlr3.jar + mh_linkrepojar -plibantlr3-gunit-java gunit/pom.xml /usr/share/java/antlr3-gunit.jar dh_installman -pantlr3 binary-post-install/antlr3-gcj:: binary-post-install/antlr3 diff --git a/debian/scripts/antlr3.1 b/debian/scripts/antlr3.1 index 1bbc69a..b812f73 100644 --- a/debian/scripts/antlr3.1 +++ b/debian/scripts/antlr3.1 @@ -21,7 +21,7 @@ ANTLR \- ANother Tool for Language Recognition, version 3 .B java org.antlr.Tool .B or .B antlr3 -[\fIargs\fR] \fIfile.g\fR \[fIfile2.g\fR \fIfile3.g\fR ...] +[\fIargs\fR] \fIfile.g\fR \[ \fIfile2.g\fR \fIfile3.g\fR ...] .br .SH "DESCRIPTION" ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr3.2.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

