[DRE-commits] [gem2deb] 03/05: add --no-wnpp-check option also to gem2deb
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Jul 30 14:17:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository gem2deb.
commit 6a8c92f137ab3a19b82e27e8960a031700396e82
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Jul 30 16:11:28 2014 +0200
add --no-wnpp-check option also to gem2deb
---
bin/gem2deb | 12 +++++++++++-
debian/changelog | 4 ++--
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/bin/gem2deb b/bin/gem2deb
index a4535ae..685f0b5 100755
--- a/bin/gem2deb
+++ b/bin/gem2deb
@@ -60,7 +60,11 @@ optparse = OptionParser.new do |opts|
opts.on('', '--ruby-versions VERSIONS', 'ruby versions to use (default: all)') do |versions|
dh_make_ruby_options[:ruby_versions] = versions
end
-
+
+ dh_make_ruby_options[:do_wnpp_check] = true
+ opts.on('', '--no-wnpp-check', 'prevent dh-make-ruby to check for ITP bugs') do
+ dh_make_ruby_options[:do_wnpp_check] = false
+ end
end
optparse.parse!
@@ -154,6 +158,12 @@ Passed to dh-make-ruby. See B<dh-make-ruby(1)>.
Ruby versions to build the package for (default: all).
Passed to dh-make-ruby. See B<dh-make-ruby(1)>.
+=item B<--no-wnpp-check>
+
+Prevents B<dh-make-ruby> to check wnpp reports to get the number of a possible
+ITP (intend to package) bug report. By default, B<dh-make-ruby> does check these
+reports, which requires an Internet access.
+
=item B<-h>, B<--help>
Displays B<gem2deb> usage information.
diff --git a/debian/changelog b/debian/changelog
index e600933..766c248 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,8 @@ gem2deb (0.7.6) UNRELEASED; urgency=medium
changelog (Closes: #704651)
[ Cédric Boutillier ]
- * Add a --no-wnpp-check option to dh-make-ruby to prevent dh-make-ruby to
- check the existense of an ITP bug.
+ * Add a --no-wnpp-check option to dh-make-ruby and gem2deb to prevent
+ dh-make-ruby to check the existense of an ITP bug.
-- Per Andersson <avtobiff at debian.org> Thu, 29 May 2014 14:39:50 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list