[DRE-commits] [ruby-nokogiri] 03/03: Refresh packaging

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Nov 17 19:43:28 UTC 2015


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

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

commit 3d93ae420503f7a9f0162c95e717651a7894b6db
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Nov 17 17:41:03 2015 -0200

    Refresh packaging
---
 debian/changelog       |  5 +++++
 debian/compat          |  2 +-
 debian/control         | 18 ++++++++++++++----
 debian/ruby-tests.rake |  5 +++--
 debian/rules           | 13 ++-----------
 5 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e613d5e..859da53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,11 @@ ruby-nokogiri (1.6.6.3-1) unstable; urgency=medium
   * Team upload
   * New upstream release
   * Refresh patches
+  * Refresh packaging:
+    - dump debian/compat to 9
+    - reformat debian/control
+    - update debian/ruby-tests.rake
+    - cleanup debian/rules
   * switch running tests to debian/ruby-tests.rake
   * skip-some-tests.patch: skip tests that won't work against libxml2 2.9.2 in
     Debian, but pass when using the embedded copy + patches in the Nokogiri
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index df0820c..537883f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,28 @@ Source: ruby-nokogiri
 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.7.5~), libxml2-dev, libxslt-dev, ruby-minitest, pkg-config, rake
+Uploaders: Lucas Nussbaum <lucas at debian.org>,
+           Cédric Boutillier <boutil at debian.org>,
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               libxml2-dev,
+               libxslt-dev,
+               ruby-minitest,
+               pkg-config,
+               rake,
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-nokogiri.git
-Vcs-Browser: http://anonscm.debian.org/?p=pkg-ruby-extras/ruby-nokogiri.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-nokogiri.git
 Homepage: http://nokogiri.org
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-nokogiri
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: HTML, XML, SAX, and Reader parser for Ruby
  Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser.  It is able to
  search documents via XPath or CSS3 selectors, and is a drop-in replacement
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 642f3a6..63f3fd6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,6 @@
 require 'gem2deb/rake/testtask'
+
 Gem2Deb::Rake::TestTask.new do |t|
-  t.libs = [ 'test' ]
-  t.test_files = FileList['test/**/test_*.rb']
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
 end
diff --git a/debian/rules b/debian/rules
index 63a2f9e..80d1369 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-nokogiri.git



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