[DRE-commits] [ruby-mysql2] 03/05: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Feb 25 15:11:01 UTC 2016


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

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

commit 0563379d48151016c9842abee71bf4ea4f033839
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Feb 25 11:53:27 2016 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog            |  4 ++++
 debian/compat               |  2 +-
 debian/control              | 22 ++++++++++++++++------
 debian/gbp.conf             |  2 --
 debian/rules                | 13 ++-----------
 debian/source/local-options |  1 -
 6 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 957b1c9..63ecce3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ ruby-mysql2 (0.4.3-1) UNRELEASED; urgency=medium
   * Add skip-problematic-tests.patch to skip 2 tests (Closes: #815770, #796516)
   * Add trust-library-ABI.patch: skip check for exact versions of the MySQL
     client library (Closes: #794477)
+  * Update packaging with a new dh-make-ruby run
+    - bump debhelper compatibility level from 7 to 9
+    - switch Vcs-* to https URLs
+    - cleanup debian/rules
 
  -- Christian Hofstaedtler <zeha at debian.org>  Tue, 02 Feb 2016 19:04:34 -0200
 
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 2c1c0ec..b062fc8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,28 @@ Source: ruby-mysql2
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Michael Franzl <office at michaelfranzl.com>, Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.4~), libmysqld-dev, mysql-server, ruby-rspec, rake
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mysql2.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-mysql2.git;a=summary
+Uploaders: Michael Franzl <office at michaelfranzl.com>,
+           Cédric Boutillier <boutil at debian.org>,
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               libmysqld-dev,
+               mysql-server,
+               rake,
+               ruby-rspec
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-mysql2.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-mysql2.git
 Homepage: http://github.com/brianmario/mysql2
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-mysql2
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-eventmachine
+Depends: ruby | ruby-interpreter,
+         ruby-eventmachine,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: simple, fast MySQL library for Ruby
  This is an API module that allows Ruby programs to interface with MySQL
  databases. Usually, it will be pulled in automatically by packages providing
diff --git a/debian/gbp.conf b/debian/gbp.conf
deleted file mode 100644
index cec628c..0000000
--- a/debian/gbp.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-pristine-tar = True
diff --git a/debian/rules b/debian/rules
index a5e7dc8..3454d59 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
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index 4aceb10..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1 +0,0 @@
-unapply-patches

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



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