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

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Aug 14 17:42:45 UTC 2015


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

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

commit ef092bef391a43cea6c9202dde283bad9d19304e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Aug 14 14:15:32 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog            |  1 +
 debian/control              | 23 ++++++++++++++++-------
 debian/ruby-test-files.yaml |  2 --
 debian/ruby-tests.rake      |  6 ++++++
 debian/rules                |  2 ++
 5 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dd526ce..546de26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-execjs (2.4.0-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 14 Aug 2015 14:10:30 -0300
 
diff --git a/debian/control b/debian/control
index 0d326d2..c70cee3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,20 +2,29 @@ Source: ruby-execjs
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Antonio Terceiro <terceiro at debian.org>, Caitlin Matos <caitlin.matos at zoho.com>
-# FIXME remove nodejs and depend on ruby-therubyracer (?)
-Build-Depends: debhelper (>= 9), gem2deb (>= 0.3.0~), ruby-multi-json, nodejs, libjs-coffeescript
-Standards-Version: 3.9.5
+Uploaders: Antonio Terceiro <terceiro at debian.org>,
+           Caitlin Matos <caitlin.matos at zoho.com>,
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-multi-json,
+               nodejs,
+               libjs-coffeescript
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-execjs.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-execjs.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-execjs.git
 Homepage: https://github.com/sstephenson/execjs
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-execjs
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-# FIXME remove nodejs and depend on ruby-therubyracer (?)
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-multi-json, nodejs
+Depends: ruby | ruby-interpreter,
+         ruby-multi-json,
+         nodejs,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: Run JavaScript code from Ruby
  ExecJS lets you run JavaScript code from Ruby. It can use several different
  JavaScript runtimes..
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 275ebbc..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- test/test_execjs.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 c6142f6..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+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-execjs.git



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