[DRE-commits] [ruby-sqlite3] 04/06: Update packaging with a new dh-make-ruby run
Antonio Terceiro
terceiro at moszumanska.debian.org
Mon Nov 23 20:06:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-sqlite3.
commit d3adb40e8e2ba1f1e7737f1c28ed1e98ea4d21be
Author: Antonio Terceiro <terceiro at debian.org>
Date: Mon Nov 23 18:00:04 2015 -0200
Update packaging with a new dh-make-ruby run
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 22 ++++++++++++++++------
debian/ruby-tests.rake | 6 ++++++
debian/ruby-tests.rb | 2 --
debian/rules | 10 ++--------
6 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1836a27..7a4d0a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-sqlite3 (1.3.11-1) UNRELEASED; urgency=medium
* New upstream release.
* Add Recommends: on sqlite3
* Add myself to Uploaders:
+ * Update packaging with a new dh-make-ruby run
-- Antonio Terceiro <terceiro at debian.org> Mon, 23 Nov 2015 17:55:07 -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 84862bb..9c40e11 100644
--- a/debian/control
+++ b/debian/control
@@ -2,21 +2,31 @@ Source: ruby-sqlite3
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Dmitry Borodaenko <angdraug at debian.org>, Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), libsqlite3-dev, ruby-hoe, ruby-redcloth, ruby-minitest
-Standards-Version: 3.9.5
+Uploaders: Antonio Terceiro <terceiro at debian.org>,
+ Dmitry Borodaenko <angdraug at debian.org>,
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ libsqlite3-dev,
+ rake,
+ ruby-hoe,
+ ruby-minitest,
+ ruby-redcloth,
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sqlite3.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-sqlite3.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-sqlite3.git
Homepage: https://github.com/sparklemotion/sqlite3-ruby
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-sqlite3
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+ ${misc:Depends},
+ ${shlibs:Depends}
Recommends: sqlite3
Description: SQLite3 interface for Ruby
This module allows Ruby programs to interface with the SQLite3 database
engine.
.
- Note that this module is NOT compatible with SQLite 2.x.
+ Note that this module is only compatible with SQLite 3.6.16 or newer.
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/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index a1554bf..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'test'
-Dir['test/**/test_*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index 2d70d1a..6eff8f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +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
+
+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-sqlite3.git
More information about the Pkg-ruby-extras-commits
mailing list