[DRE-commits] [ruby-kgio] 03/04: Update packaging with a new dh-make-ruby run
Antonio Terceiro
terceiro at moszumanska.debian.org
Mon Feb 22 13:10:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-kgio.
commit ea748656a3a456c552caa9e539afa2a7cf2ff708
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Feb 21 21:06:20 2016 -0300
Update packaging with a new dh-make-ruby run
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 13 +++++++++----
debian/ruby-test-files.yaml | 27 ---------------------------
debian/ruby-tests.rake | 6 ++++++
debian/rules | 13 ++-----------
6 files changed, 19 insertions(+), 43 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 37f221a..fad1e2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-kgio (2.10.0-1) unstable; urgency=medium
* Team upload
* New upstream release
+ * Update packaging with a new dh-make-ruby run
-- Antonio Terceiro <terceiro at debian.org> Sun, 21 Feb 2016 21:03:20 -0300
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 315a4de..3e4c2e5 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: Hleb Valoshka <375gnu at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), ruby-test-unit
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake
Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-kgio.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-kgio.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-kgio.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-kgio.git
Homepage: http://bogomips.org/kgio/
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-kgio
Architecture: linux-any kfreebsd-any
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: Kinder, gentler I/O for Ruby
kgio provides non-blocking I/O methods for Ruby without raising
exceptions on EAGAIN and EINPROGRESS. It is intended for use with the
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 47f5b29..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-- test/test_poll.rb
-- test/test_peek.rb
-- test/test_default_wait.rb
-- test/test_no_dns_on_tcp_connect.rb
-- test/test_unix_connect.rb
-- test/test_pipe_read_write.rb
-- test/test_unix_server.rb
-- test/test_accept_flags.rb
-- test/test_socketpair_read_write.rb
-- test/test_tcp_server.rb
-- test/test_unix_server_read_client_write.rb
-- test/test_cross_thread_close.rb
-- test/test_tcp_connect.rb
-- test/test_autopush.rb
-- test/test_connect_fd_leak.rb
-- test/test_singleton_read_write.rb
-- test/test_kgio_addr.rb
-- test/test_tryopen.rb
-- test/test_tcp6_client_read_server_write.rb
-- test/test_tcp_server_read_client_write.rb
-- test/test_unix_client_read_server_write.rb
-- test/test_tcp_client_read_server_write.rb
-- test/test_pipe_popen.rb
-- test/test_accept_class.rb
-- test/test_socket.rb
-- test/test_tfo.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 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kgio.git
More information about the Pkg-ruby-extras-commits
mailing list