[DRE-commits] [racc] 02/06: Update Debian packaging (using dh-make-ruby)

Sebastien Badia sbadia-guest at moszumanska.debian.org
Thu Mar 3 21:27:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

sbadia-guest pushed a commit to branch master
in repository racc.

commit 8826a6b7c792aea2c9922d54062155419f9cbb29
Author: Sebastien Badia <seb at sebian.fr>
Date:   Thu Mar 3 18:10:26 2016 -0300

    Update Debian packaging (using dh-make-ruby)
---
 debian/control   |  9 +++++++--
 debian/copyright |  2 +-
 debian/rules     | 12 +-----------
 3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 433f5f6..6d579ce 100644
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,23 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: akira yamada <akira at debian.org>, Taku YASUI <tach at debian.org>
-Build-Depends: debhelper (>= 9~), gem2deb, rdtool
 Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rdtool
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/racc.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/racc.git
 Homepage: http://i.loveruby.net/en/projects/racc/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: racc
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${misc:Depends}, ruby | ruby-interpreter
 Description: Ruby LALR parser generator
  Racc is LALR(1) parser generator for Ruby, written in Ruby. It allows
  programmers to easily write syntactic parsers from simple rules, like yacc
  and bison.
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
diff --git a/debian/copyright b/debian/copyright
index c6b5488..965c482 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: racc
-Source: http://rubygems.org/gems/racc
+Source: http://i.loveruby.net/en/projects/racc/
 
 Files: *
 Copyright: 2000-2007 Minero Aoki <aamine at loveruby.net>
diff --git a/debian/rules b/debian/rules
index 390bdc6..0ee30a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,8 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
 
 docs_html := $(shell find rdoc -type f | sed -e 's/\.rdoc$$/.html/') README.html README.ja.html
 rdocs_html := $(shell find rdoc -type f -name '*.rdoc' | sed -e 's/\.rdoc$$/.html/') README.html README.ja.html
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/racc.git



More information about the Pkg-ruby-extras-commits mailing list