[DRE-commits] [ruby-gettext-i18n-rails] 05/05: Refresh Debian packaging using dh-make-ruby
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Fri Mar 4 20:09:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch update
in repository ruby-gettext-i18n-rails.
commit cc5afa76116e9eec098e44e6183a91c700413605
Author: Sebastien Badia <seb at sebian.fr>
Date: Fri Mar 4 16:29:11 2016 -0300
Refresh Debian packaging using dh-make-ruby
---
debian/control | 9 ++++++++-
debian/ruby-tests.rake | 5 +++++
debian/ruby-tests.rb | 13 -------------
debian/watch | 3 +--
4 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/debian/control b/debian/control
index eeebf0f..1ae4f46 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,18 @@ Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Ondřej Surý <ondrej at debian.org>
Build-Depends: debhelper (>= 9~),
- gem2deb
+ gem2deb,
+ rake,
+ ruby-fast-gettext (>= 0.9.0),
+ ruby-temple,
+ ruby-rails,
+ ruby-nokogiri,
+ ruby-rspec
Standards-Version: 3.9.7
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-gettext-i18n-rails.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-gettext-i18n-rails.git
Homepage: https://github.com/grosser/gettext_i18n_rails
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-gettext-i18n-rails
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index eac5ce6..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
diff --git a/debian/watch b/debian/watch
index 5d38638..673ebd8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/gettext_i18n_rails-$1\.tar\.gz/ \
- https://github.com/grosser/gettext_i18n_rails/tags .*/v?(\d\S*)\.tar\.gz
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gettext_i18n_rails .*/gettext_i18n_rails-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gettext-i18n-rails.git
More information about the Pkg-ruby-extras-commits
mailing list