[DRE-commits] [ruby-mime-types] 03/06: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 15:33:09 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-mime-types.

commit 6139eab96cd751df6326d4fc9a5150e97ef7fb26
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 13 11:44:00 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog               |  2 ++
 debian/control                 | 15 ++++++++++-----
 debian/ruby-mime-types.install |  1 +
 debian/ruby-tests.rb           |  2 --
 debian/rules                   | 13 ++-----------
 5 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 90ea75c..05ef7a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 ruby-mime-types (2.6.1-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Update packaging with a new dh-make-ruby run
+    - not running the tests for now
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 13 Jun 2015 11:39:49 -0300
 
diff --git a/debian/control b/debian/control
index c6f2277..39122ca 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,22 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>, Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~), ruby-minitest (>= 5.0~)
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mime-types.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-mime-types.git;a=summary
-Homepage: http://mime-types.rubyforge.org/
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-mime-types.git
+Homepage: https://github.com/mime-types/ruby-mime-types/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-mime-types
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: guess MIME type of files
  This library allows for the identification of a file's likely MIME
  content type. The identification of MIME content type is based on a
diff --git a/debian/ruby-mime-types.install b/debian/ruby-mime-types.install
new file mode 100644
index 0000000..612d8a9
--- /dev/null
+++ b/debian/ruby-mime-types.install
@@ -0,0 +1 @@
+data/* /usr/share/ruby-mime-types/
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 731c9cd..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'lib' << 'test' << '.'
-Dir['test/test_*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index 813f49d..d0dd1aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/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
+
+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/ruby-mime-types.git



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