[DRE-commits] [ruby-graphviz] 02/07: update packaging with dh-make-ruby -w

Cédric Boutillier boutil at moszumanska.debian.org
Tue Jun 7 20:10:30 UTC 2016


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

boutil pushed a commit to branch master
in repository ruby-graphviz.

commit 6388cd0ba1aa895d1244221992866b883741fd2a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Jun 7 21:34:06 2016 +0200

    update packaging with dh-make-ruby -w
---
 debian/control                |  1 +
 debian/manpages               |  2 +-
 debian/ruby-graphviz.docs     |  3 +--
 debian/ruby-graphviz.manpages |  6 ++++++
 debian/ruby-test-files.yaml   |  9 ---------
 debian/ruby-tests.rake        |  6 ++++++
 debian/rules                  | 11 -----------
 7 files changed, 15 insertions(+), 23 deletions(-)

diff --git a/debian/control b/debian/control
index 2b31590..4bc099e 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-graphviz.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-graphviz.git
 Homepage: http://github.com/glejeune/Ruby-Graphviz
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-graphviz
diff --git a/debian/manpages b/debian/manpages
index 900bbc8..3ebc8a2 100644
--- a/debian/manpages
+++ b/debian/manpages
@@ -1 +1 @@
-debian/*.[0-9]
\ No newline at end of file
+debian/*.[0-9]
diff --git a/debian/ruby-graphviz.docs b/debian/ruby-graphviz.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-graphviz.docs
+++ b/debian/ruby-graphviz.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-graphviz.manpages b/debian/ruby-graphviz.manpages
new file mode 100644
index 0000000..f97fc26
--- /dev/null
+++ b/debian/ruby-graphviz.manpages
@@ -0,0 +1,6 @@
+# FIXME: man/ dir found in source. Consider installing manpages
+# man/dot2ruby.1
+# man/gem2gv.1
+# man/git2gv.1
+# man/ruby2gv.1
+# man/xml2gv.1
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index f55d615..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- test/support.rb
-- test/test_examples.rb
-- test/test_graph.rb
-- test/test_search.rb
-- test/test_subgraph.rb
-- test/test_theory.rb
-- test/test_types.rb
-- test/test_utils_colors.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
+end
diff --git a/debian/rules b/debian/rules
index 15f75b3..51dd76b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,4 @@
 #!/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
 
 # Tests try to read /root/.pangorc and fail if we don't set this variable.
 # See #570313 for more details

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



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