[DRE-commits] [SCM] gem2deb.git branch, master, updated. 006f36dfa0c064d2712f58af3e028ca6bdc1ee0f

Vincent Fourmond fourmond at debian.org
Wed May 11 16:03:20 UTC 2011


The following commit has been merged in the master branch:
commit a4a14b495e290b87860cd8c0746bb3fd6932dc59
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Wed May 11 17:39:54 2011 +0200

    Implement the dh-side of it

diff --git a/debhelper7/buildsystem/ruby.pm b/debhelper7/buildsystem/rubysetuprb.pm
similarity index 56%
copy from debhelper7/buildsystem/ruby.pm
copy to debhelper7/buildsystem/rubysetuprb.pm
index fc8cf6a..8814bdc 100644
--- a/debhelper7/buildsystem/ruby.pm
+++ b/debhelper7/buildsystem/rubysetuprb.pm
@@ -4,18 +4,18 @@
 # License: GPL-2+
 # Strongly based on other build systems. Thanks!
 
-package Debian::Debhelper::Buildsystem::ruby;
+package Debian::Debhelper::Buildsystem::rubysetuprb;
 
 use strict;
 use base 'Debian::Debhelper::Buildsystem';
 
 sub DESCRIPTION {
-	"Ruby (Gem2Deb)"
+	"Ruby (Gem2Deb+setup.rb)"
 }
 
 sub check_auto_buildable {
 	my $this=shift;
-	return (-e $this->get_sourcepath("metadata.yml")) ? 1 : 0;
+	return 0;		# Never autobuildable
 }
 
 sub new {
@@ -27,27 +27,27 @@ sub new {
 
 sub configure {
 	my $this=shift;
-	$this->doit_in_sourcedir("dh_ruby", "--configure", @_);
+	$this->doit_in_sourcedir("dh_ruby", "--setuprb", "--configure", @_);
 }
 
 sub build {
 	my $this=shift;
-	$this->doit_in_sourcedir("dh_ruby", "--build", @_);
+	$this->doit_in_sourcedir("dh_ruby", "--setuprb", "--build", @_);
 }
 
 sub test {
 	my $this=shift;
-	$this->doit_in_sourcedir("dh_ruby", "--test", @_);
+	$this->doit_in_sourcedir("dh_ruby", "--setuprb", "--test", @_);
 }
 
 sub install {
 	my $this=shift;
-	$this->doit_in_sourcedir("dh_ruby", "--install", @_);
+	$this->doit_in_sourcedir("dh_ruby", "--setuprb", "--install", @_);
 }
 
 sub clean {
 	my $this=shift;
-	$this->doit_in_sourcedir("dh_ruby", "--clean", @_);
+	$this->doit_in_sourcedir("dh_ruby", "--setuprb", "--clean", @_);
 }
 
 1
diff --git a/debian/gem2deb.install b/debian/gem2deb.install
index b853bb3..12b3bf5 100644
--- a/debian/gem2deb.install
+++ b/debian/gem2deb.install
@@ -1,4 +1,4 @@
 bin/* /usr/bin/
 lib/* /usr/lib/ruby/vendor_ruby/
-debhelper7/buildsystem/ruby.pm /usr/share/perl5/Debian/Debhelper/Buildsystem/
+debhelper7/buildsystem/ruby*.pm /usr/share/perl5/Debian/Debhelper/Buildsystem/
 debhelper7/sequence/ruby.pm /usr/share/perl5/Debian/Debhelper/Sequence/

-- 
gem2deb.git



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