[DRE-commits] [ruby-parser] 03/05: refresh packaging
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Aug 4 11:39:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-parser.
commit f8583ff8b7407830193914a1b769c419ff22771a
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Aug 4 08:28:08 2016 -0300
refresh packaging
---
debian/changelog | 6 +++++-
debian/control | 4 ++--
debian/ruby-tests.rake | 6 ++++++
debian/ruby-tests.rb | 4 ----
debian/rules | 1 +
5 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c21d393..03d2276 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,10 +3,14 @@ ruby-parser (3.8.2-1) UNRELEASED; urgency=medium
[ Cédric Boutillier ]
* Bump debhelper compatibility level to 9
* Use https:// in Vcs-* fields
- * Bump Standards-Version to 3.9.7 (no changes needed)
[ Antonio Terceiro ]
* Imported Upstream version 3.8.2
+ * Refresh packaging (dh-make-ruby -w)
+ - Bump Standards-Version to 3.9.8 (no changes needed)
+ - switch debian/ruby-tests.rb to debian/ruby-tests.rake
+ - switch `Testsuite: autopkgtest` to `Testsuite: autopkgtest-pkg-ruby`
+ - debian/rules: also test dependency resolution during build
-- Cédric Boutillier <boutil at moszumanska.debian.org> Thu, 04 Aug 2016 08:22:58 -0300
diff --git a/debian/control b/debian/control
index 8e6c634..8079abe 100644
--- a/debian/control
+++ b/debian/control
@@ -10,11 +10,11 @@ Build-Depends: debhelper (>= 9~),
rake,
ruby-minitest,
ruby-sexp-processor (>= 4.1)
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-parser.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-parser.git
Homepage: https://github.com/seattlerb/ruby_parser
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-parser
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 4393dbc..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-require "minitest/autorun"
-require "test/test_ruby_lexer.rb"
-require "test/test_ruby_parser_extras.rb"
-require "test/test_ruby_parser.rb"
diff --git a/debian/rules b/debian/rules
index a5b48e7..5605f12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^+]+).*/\1/p')
+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-parser.git
More information about the Pkg-ruby-extras-commits
mailing list