[DRE-commits] [pry] 06/12: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Mar 1 21:51:10 UTC 2016


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

terceiro pushed a commit to branch master
in repository pry.

commit c8c77119c2a1ee0039a0a47bbc47f0cd904eec53
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Mar 1 18:01:59 2016 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  1 +
 debian/control         | 13 ++-----------
 debian/ruby-tests.rake |  5 +++++
 debian/ruby-tests.rb   |  1 -
 debian/rules           | 17 +----------------
 5 files changed, 9 insertions(+), 28 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 76a8b80..5171d83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ pry (0.10.3-1) UNRELEASED; urgency=medium
   * debian/watch: point at github to get all the files
   * New upstream release
   * Refresh patches
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 01 Mar 2016 17:47:42 -0300
 
diff --git a/debian/control b/debian/control
index 3419b90..3d33f01 100644
--- a/debian/control
+++ b/debian/control
@@ -6,19 +6,13 @@ Uploaders: Youhei SASAKI <uwabami at gfd-dennou.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
                rake,
-               ruby-bacon,
                ruby-coderay (>= 1.1.0),
                ruby-method-source (>= 0.8.1),
                ruby-mocha,
                ruby-open4,
                ruby-rspec,
-               ruby-slop,
-               rubygems-integration,
-               bundler,
-               gist,
-               nano-tiny | nano | editor,
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/pry.git
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/pry.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/pry.git
 Homepage: http://pryrepl.org
 Testsuite: autopkgtest-pkg-ruby
@@ -30,9 +24,6 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ruby-coderay (>= 1.1.0),
          ruby-method-source (>= 0.8.1),
-         ruby-slop,
-         rubygems-integration,
-         bundler,
          ${misc:Depends},
          ${shlibs:Depends}
 Description: powerful irb alternative and runtime developer console
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 de58d35..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-system("%s -S bacon -Ilib:spec -rubygems -a -q" % ENV['RUBY_TEST_BIN']) or raise
diff --git a/debian/rules b/debian/rules
index bc40401..f4ea058 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,21 +5,6 @@ export GEM2DEB_TEST_RUNNER = --check-dependencies
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
-override_dh_auto_build:
-	mkdir -p $(CURDIR)/spec/fixtures/slinky
-	touch $(CURDIR)/spec/fixtures/cat_load_path
-	touch $(CURDIR)/spec/fixtures/cat_load_path.rb
-	touch $(CURDIR)/spec/fixtures/slinky.rb
-	touch $(CURDIR)/spec/fixtures/slinky/slinky.rb
-	dh_auto_build
-
 override_dh_auto_install:
 	dh_install debian/slop-3.6.0/lib/* usr/lib/ruby/vendor_ruby/pry
-	dh_auto_install
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -fr $(CURDIR)/spec/fixtures/cat_load_path
-	rm -fr $(CURDIR)/spec/fixtures/cat_load_path.rb
-	rm -fr $(CURDIR)/spec/fixtures/slinky.rb
-	rm -fr $(CURDIR)/spec/fixtures/slinky/slinky.rb
+	dh_auto_install
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pry.git



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