[argparse4j] 02/02: Clean up lintian warnings and add documentation
Tim Potter
tpot-guest at moszumanska.debian.org
Tue Nov 18 03:43:53 GMT 2014
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository argparse4j.
commit 931cf24aad7ca9bd24f59d629d9add4893c28b79
Author: Tim Potter <tpot at hp.com>
Date: Mon Nov 17 19:00:22 2014 +1100
Clean up lintian warnings and add documentation
---
debian/changelog | 2 +-
debian/control | 41 ++++++++++++++++++++++-----
debian/copyright | 52 ++++++++++++++++-------------------
debian/libargparse4j-java-doc.javadoc | 1 +
debian/libargparse4j-java.docs | 1 +
debian/maven.ignoreRules | 5 ++--
debian/maven.rules | 2 ++
7 files changed, 66 insertions(+), 38 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a8050c4..ab77e1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
argparse4j (0.4.4-1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ * Initial release (Closes: #769866)
-- Tim Potter <tpot at hp.com> Mon, 17 Nov 2014 15:23:01 +1100
diff --git a/debian/control b/debian/control
index 97bcb8a..5fef104 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,40 @@ Section: java
Priority: optional
Maintainer: Tim Potter <tpot at hp.com>
Build-Depends: debhelper (>= 9), javahelper, maven-debian-helper, default-jdk, libmaven-javadoc-plugin-java, libmaven-source-plugin-java, junit4
-Standards-Version: 3.9.5
-Homepage: <insert the upstream URL, if relevant>
-#Vcs-Git: git://anonscm.debian.org/collab-maint/argparse4j.git
-#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/argparse4j.git;a=summary
+Standards-Version: 3.9.6
+Homepage: http://argparse4j.sourceforge.net
+Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-java/argparse4j.git
+Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-java/argparse4j.git
Package: libargparse4j-java
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Depends: ${maven:Depends}, ${misc:Depends}
+Suggests: libargparse4j-java-doc, ${maven:OptionalDepends}
+Description: command-line argument parser for Java based on Python's argparse module
+ Argparse4j is a command line argument parser library for Java based on
+ Python's argparse module. The features of argparse4j include:
+ .
+ * Supported positional, optional and variable number of arguments.
+ * Generates well formatted line-wrapped help message.
+ * Suggests optional arguments/sub-command if unrecognized
+ arguments/sub-command were given.
+ * Takes into account East Asian Width ambiguous characters when line-wrap.
+ .
+ This package contains the library files for libarparse4j-java.
+
+Package: libargparse4j-java-doc
+Architecture: all
+Section: doc
+Depends: ${maven:DocDepends}, ${misc:Depends}
+Suggests: libargparse4j-java, ${maven:DocOptionalDepends}
+Description: documentation for libargparse4j-java
+ Argparse4j is a command line argument parser library for Java based on
+ Python's argparse module. The features of argparse4j include:
+ .
+ * Supported positional, optional and variable number of arguments.
+ * Generates well formatted line-wrapped help message.
+ * Suggests optional arguments/sub-command if unrecognized
+ arguments/sub-command were given.
+ * Takes into account East Asian Width ambiguous characters when line-wrap.
+ .
+ This package contains the API documentation of libargparse4j-java.
diff --git a/debian/copyright b/debian/copyright
index bc00e1e..bad4c55 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,38 +1,34 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: argparse4j
-Source: <url://example.com>
+Source: https://github.com/tatsuhiro-t/argparse4j
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
- .
- <Including paragraphs>
+Copyright: 2011, 2014 Tatsuhiro Tsujikawa <tatsuhiro.t at gmail.com>
+License: Expat
-# If you want to use GPL v2 or later for the /debian/* files use
-# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2014 Tim Potter <tpot at hp.com>
-License: GPL-2+
- This package is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+License: Expat
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: Expat
+ Copyright (C) 2011, 2014 Tatsuhiro Tsujikawa
.
- This package is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
.
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/libargparse4j-java-doc.javadoc b/debian/libargparse4j-java-doc.javadoc
new file mode 100644
index 0000000..27c2717
--- /dev/null
+++ b/debian/libargparse4j-java-doc.javadoc
@@ -0,0 +1 @@
+target/site/apidocs usr/share/doc/libargparse4j-java/api
diff --git a/debian/libargparse4j-java.docs b/debian/libargparse4j-java.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/libargparse4j-java.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
index 345ab8d..135b11a 100644
--- a/debian/maven.ignoreRules
+++ b/debian/maven.ignoreRules
@@ -1,4 +1,5 @@
-org.sonatype.plugins nexus-staging-maven-plugin * * * *
-org.codehaus.mojo exec-maven-plugin * * * *
+
org.apache.maven.plugins maven-assembly-plugin * * * *
org.apache.maven.plugins maven-release-plugin * * * *
+org.codehaus.mojo exec-maven-plugin * * * *
+org.sonatype.plugins nexus-staging-maven-plugin * * * *
diff --git a/debian/maven.rules b/debian/maven.rules
index 2ebbcdb..1398788 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1 +1,3 @@
+
+junit junit jar s/3\..*/3.x/ * *
junit junit jar s/4\..*/4.x/ * *
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/argparse4j.git
More information about the pkg-java-commits
mailing list