[DRE-commits] [ruby-blockenspiel] 03/05: Update packaging with a new dh-make-ruby run
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Feb 24 17:53:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-blockenspiel.
commit 4341a3d39be7cf17c6f85d15546affcbc981fd71
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Feb 24 14:45:38 2016 -0300
Update packaging with a new dh-make-ruby run
---
debian/changelog | 7 +++++++
debian/compat | 2 +-
debian/control | 17 +++++++++++------
debian/ruby-test-files.yaml | 10 ----------
debian/ruby-tests.rake | 6 ++++++
debian/rules | 13 ++-----------
6 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3991fa8..e69f2a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,13 @@
ruby-blockenspiel (0.5.0-1) UNRELEASED; urgency=medium
+ * Team upload
* New upstream release
+ - Builds against Ruby 2.3 (Closes: #815766)
+ * 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
+ - replace debian/ruby-test-files.yaml with debian/ruby-tests.rake
-- Antonio Terceiro <terceiro at debian.org> Wed, 24 Feb 2016 14:42:38 -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 af91844..7d75051 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: Ben Armstrong <synrg at sanctuary.nslug.ns.ca>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~)
-Standards-Version: 3.9.4
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-blockenspiel.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-blockenspiel.git;a=summary
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake
+Standards-Version: 3.9.6
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-blockenspiel.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-blockenspiel.git
Homepage: http://dazuma.github.com/blockenspiel
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-blockenspiel
-Architecture: any
+Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: Comprehensive implementation of Ruby DSL blocks
Blockenspiel is a helper library designed to make it easy to implement DSL
blocks. It is designed to be comprehensive and robust, supporting most common
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 27de139..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- test/tc_basic.rb
-- test/tc_behaviors.rb
-- test/tc_dsl_attrs.rb
-- test/tc_dsl_methods.rb
-- test/tc_dynamic.rb
-- test/tc_embedded_block.rb
-- test/tc_mixins.rb
-- test/tc_modules.rb
-- test/tc_version.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..8290e4f
--- /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/**/tc_*.rb']
+end
diff --git a/debian/rules b/debian/rules
index 803d4f4..cb9b246 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-blockenspiel.git
More information about the Pkg-ruby-extras-commits
mailing list