[DRE-commits] [ruby-parser] 03/05: Packaging updates

Antonio Terceiro terceiro at moszumanska.debian.org
Sat May 23 22:52:46 UTC 2015


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

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

commit 6d8894f44fb1a1cf20833df1f57ae28f2c8a443b
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri May 22 12:07:09 2015 -0300

    Packaging updates
---
 debian/changelog            |  2 ++
 debian/control              | 24 +++++++++++++++++-------
 debian/manpages             |  2 +-
 debian/ruby-test-files.yaml |  4 ----
 debian/ruby-tests.rake      |  6 ++++++
 debian/rules                | 11 -----------
 6 files changed, 26 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d9439d2..ee27549 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 ruby-parser (3.6.6-1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Add myself to Uploaders:
+  * switch from debian/ruby-test-files.yaml to debian/ruby-tests.rake
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 22 May 2015 11:57:29 -0300
 
diff --git a/debian/control b/debian/control
index cd3dcae..fa84e3e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,23 +2,33 @@ Source: ruby-parser
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Praveen Arimbrathodiyil <pravi.a at gmail.com>, Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5~), ruby-minitest, ruby-sexp-processor (>= 4.1)
-Standards-Version: 3.9.5
+Uploaders: Praveen Arimbrathodiyil <pravi.a at gmail.com>,
+           Cédric Boutillier <boutil at debian.org>,
+           Antonio Terceiro <terceiro at debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-minitest,
+               ruby-sexp-processor (>= 4.1)
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-parser.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-parser.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-parser.git
 Homepage: https://github.com/seattlerb/ruby_parser
+Testsuite: autopkgtest
 XS-Ruby-Versions: all
 
 Package: ruby-parser
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-sexp-processor
+Depends: ruby | ruby-interpreter,
+         ruby-sexp-processor (>= 4.1),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: Ruby parser written in pure Ruby
- ruby_parser (RP) can be used to parse and check syntax of Ruby code. 
+ ruby_parser (RP) can be used to parse and check syntax of Ruby code.
  "Pure Ruby" in this context means the parser's code
  * consists solely of Ruby source files
- * does not add any native extensions or other C code (eg. with RubyInline) 
+ * does not add any native extensions or other C code (eg. with RubyInline)
    which requires a C compiler to be present on the user's system
  .
  It utilizes racc and its output is same as that of ParseTree's.
diff --git a/debian/manpages b/debian/manpages
index 900bbc8..3ebc8a2 100644
--- a/debian/manpages
+++ b/debian/manpages
@@ -1 +1 @@
-debian/*.[0-9]
\ No newline at end of file
+debian/*.[0-9]
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 6c55719..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
---- 
-- ./test/test_ruby_lexer.rb
-- ./test/test_ruby_parser.rb
-- ./test/test_ruby_parser_extras.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 4a1c1f4..a5b48e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,4 @@
 #!/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
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^+]+).*/\1/p')
 

-- 
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