[DRE-commits] [SCM] ruby-heckle.git branch, master, updated. upstream/1.4.3-2-g61b4340

Gunnar Wolf gwolf at debian.org
Sat May 19 23:29:03 UTC 2012


The following commit has been merged in the master branch:
commit 61b4340a09d864daabaa39adfc753b6c8ade169f
Author: Gunnar Wolf <gwolf at debian.org>
Date:   Sat May 19 18:28:48 2012 -0500

    Incorporating previous packaging information

diff --git a/debian/changelog b/debian/changelog
index add0a56..3b1b6e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,89 @@
-ruby-heckle (1.4.3-1) UNRELEASED; urgency=low
+ruby-heckle (1.4.3-3) UNSTABLE; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  [ Cédric Boutillier ]
+  * Repackaged using the gem2deb infrastructure
 
- -- Cédric Boutillier <cedric.boutillier at gmail.com>  Sat, 19 May 2012 17:32:59 +0200
+  [ Gunnar Wolf ]
+  * Added dependency on ruby-sourcify so it can run under Ruby
+    interpreters other than 1.8 ← THIS HAS NOT YET BEEN ACHIEVED.
+    Apparently Sourcify is not enough for Heckle to work :-P
+
+ -- Gunnar Wolf <gwolf at debian.org>  Sat, 19 May 2012 17:52:59 -0500
+
+libheckle-ruby (1.4.3-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * FTBFS: /usr/lib/ruby/vendor_ruby/inline.rb:53:in `require':
+    no such file to load -- rubygems (LoadError) (Closes: #642787).
+    - debian/control: add rubygems to Build-Depends.
+  * updated Maintainer field by previous maintainer's request.
+    thanks Sebastien Delafond <seb at debian.org> for the great works.
+
+ -- HIGUCHI Daisuke (VDR dai) <dai at debian.org>  Sun, 08 Jan 2012 16:15:17 +0900
+
+libheckle-ruby (1.4.3-2) unstable; urgency=low
+
+  * Dropped 12_parsetree-backwards-compatibility.dpatch
+  * Depend on libparsetree-ruby1.8 (>= 3.0.4)
+  * Depend on libruby2ruby-ruby1.8 (>= 1.2.4)
+
+ -- Tobias Grimm <etobi at debian.org>  Sun, 06 Dec 2009 10:53:13 +0100
+
+libheckle-ruby (1.4.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bumped standards revision to 3.8.3.
+  * Move some build dependencies to Build-Depends-Indep.
+  * Fixed lintian warnings.
+
+ -- Sebastien Delafond <seb at debian.org>  Fri, 20 Nov 2009 13:24:38 +0100
+
+libheckle-ruby (1.4.2-2) unstable; urgency=low
+
+  * Build-depend on libparsetree-ruby1.8 (>= 2.2.1-2) to fix FTBS caused by
+    chanegs in Ruby 1.8.7.174 (Closes: #533927)
+  * Increased standards version to 3.8.2
+
+ -- Tobias Grimm <etobi at debian.org>  Fri, 10 Jul 2009 11:28:27 +0200
+
+libheckle-ruby (1.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Added debian/watch
+  * Added Homepage field to debian/control
+  * Using cdbs now
+  * Added Debian Ruby Extras Maintainers to list of uploaders
+  * Added package VCS links to debian/control
+  * Updated debian/copyright
+  * Generate and install manpage for /usr/bin/heckle
+  * Added 12_parsetree-backwards-compatibility.dpatch
+  * Added 13_optional-zentest.dpatch
+
+ -- Tobias Grimm <etobi at debian.org>  Tue, 28 Apr 2009 21:02:03 +0200
+
+libheckle-ruby (1.4.1-4) unstable; urgency=low
+
+  * Removed an unnecessary 'require rubygems' (Closes: #521110)
+  * Added Tobias Grimm <etobi at debian.org> to uploaders
+  * Bumped standards version to 3.8.1, debhelper (>= 5)
+  * Changed section to 'ruby'
+
+ -- Tobias Grimm <etobi at debian.org>  Tue, 21 Apr 2009 21:17:38 +0200
+
+libheckle-ruby (1.4.1-3) unstable; urgency=low
+
+  * Correct typos in dependencies (Closes: #483033).
+
+ -- Sebastien Delafond <seb at debian.org>  Mon, 26 May 2008 20:28:41 -0700
+
+libheckle-ruby (1.4.1-2) unstable; urgency=low
+
+  * Added missing dependency on libruby2ruby-ruby1.8.
+
+ -- Sebastien Delafond <seb at debian.org>  Sun, 11 May 2008 21:31:52 -0700
+
+libheckle-ruby (1.4.1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #480583).
+
+ -- Sebastien Delafond <seb at debian.org>  Sat, 10 May 2008 19:40:37 -0700
diff --git a/debian/control b/debian/control
index c13775b..f21d206 100644
--- a/debian/control
+++ b/debian/control
@@ -2,21 +2,48 @@ Source: ruby-heckle
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Cédric Boutillier <cedric.boutillier at gmail.com>
+Uploaders: Cédric Boutillier <cedric.boutillier at gmail.com>, Gunnar Wolf <gwolf at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~)
-Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-heckle.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-heckle.git;a=summary
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-ruby2ruby, ruby-sourcify
+Standards-Version: 3.9.3
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-heckle.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-heckle.git;a=summary
 Homepage: http://www.rubyforge.org/projects/seattlerb
 XS-Ruby-Versions: all
 
 Package: ruby-heckle
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# ParseTree (>= 2.0.0), ruby2ruby (>= 1.1.6), ZenTest (>= 3.5.2), hoe (>= 2.3.0, development)
-Description: Heckle is unit test sadism(tm) at it's core
- Heckle is unit test sadism(tm) at it's core. Heckle is a mutation tester. It modifies your code and runs your tests to make sure they fail. The idea is that if code can be changed and your tests don't notice, either that code isn't being covered or it doesn't do anything.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ruby2ruby, ruby-sourcify | ruby-parsetree
+Replaces: libheckle-ruby1.8 (<< 1.4.3-3~), libheckle-ruby (<< 1.4.3-3~)
+Breaks: libheckle-ruby1.8 (<< 1.4.3-3~), libheckle-ruby (<< 1.4.3-3~)
+Provides: libheckle-ruby1.8, libheckle-ruby
+Description: Mutation tester (unit test sadism(tm)/test pentester) for Ruby
+ Heckle is a mutation tester. It modifies your code and runs your
+ tests to make sure they fail. The idea is that if code can be changed
+ and your tests don't notice, either that code isn't being covered or
+ it doesn't do anything.
  .
- It's like hiring a white-hat hacker to try to break into your server and making sure you detect it. You learn the most by trying to break things and watching the outcome in an act of unit test sadism.
+ Think about it as pen-testing. It's like hiring a white-hat hacker to
+ try to break into your server and making sure you detect it. You
+ learn the most by trying to break things and watching the outcome in
+ an act of unit test sadism.
+
+# Transitional packages
+Package: libheckle-ruby1.8
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-heckle
+Description: Transitional package for ruby-heckle
+ This is a transitional package to ease upgrades to the ruby-heckle
+ package. It can safely be removed.
+
+Package: libheckle-ruby
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: ${misc:Depends}, ruby-heckle
+Description: Transitional package for ruby-heckle
+ This is a transitional package to ease upgrades to the ruby-heckle
+ package. It can safely be removed.
diff --git a/debian/copyright b/debian/copyright
index 54a798d..8892371 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,35 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: heckle
-Source: FIXME <http://example.com/>
+Source: http://rubyforge.org/projects/seattlerb/
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
- .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
- .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+Copyright: © 2006-2008 Ryan Davis, Kevin Clark
+License: MIT
 
 Files: debian/*
-Copyright: 2012 Cédric Boutillier <cedric.boutillier at gmail.com>
-License:
- [LICENSE TEXT]
+Copyright: © 2008-2009 Sebastien Delafond
+	   © 2008-2009 Tobias Grimm
+	   © 2012 Cédric Boutillier <cedric.boutillier at gmail.com>
+	   © 2012 Gunnar Wolf <gwolf at debian.org>
+License: MIT
+
+License: MIT
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of this software and associated documentation files (the
+    "Software"), to deal in the Software without restriction, including
+    without limitation the rights to use, copy, modify, merge, publish,
+    distribute, sublicense, and/or sell copies of the Software, and to
+    permit persons to whom the Software is furnished to do so, subject to
+    the following conditions:
+    .
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+    .
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/heckle.1 b/debian/heckle.1
new file mode 100644
index 0000000..21e1c85
--- /dev/null
+++ b/debian/heckle.1
@@ -0,0 +1,47 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH HECKLEC "1" "April 2009" "hecklec 1.4.2" "User Commands"
+.SH NAME
+hecklec \- mutate Ruby code and run test
+.SH SYNOPSIS
+.B heckle
+\fIclass_name \fR[\fImethod_name\fR]
+.SH DESCRIPTION
+`heckle' is a mutation tester. It modifies your code and runs your tests
+to make sure they fail. The idea is that if code can be changed and your
+tests don't notice, either that code isn't being covered or it doesn't do
+anything..TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Loudly explain heckle run
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Prints Heckle's version number
+.TP
+\fB\-t\fR, \fB\-\-tests\fR TEST_PATTERN
+Location of tests (glob)
+.TP
+\fB\-F\fR, \fB\-\-force\fR
+Ignore initial test failures
+Best used with \fB\-\-focus\fR
+.TP
+\fB\-\-assignments\fR
+Only mutate assignments
+.TP
+\fB\-b\fR, \fB\-\-branches\fR
+Only mutate branches
+.TP
+\fB\-f\fR, \fB\-\-focus\fR
+Apply the eye of sauron
+.TP
+\fB\-T\fR, \fB\-\-timeout\fR SECONDS
+The maximum time for a test run in seconds
+Used to catch infinite loops
+.TP
+\fB\-n\fR, \fB\-\-nodes\fR NODES
+Nodes to mutate
+Possible values: call,cvasgn,dasgn,dasgn_curr,false,gasgn,iasgn,if,iter,lasgn,lit,str,true,until,while
+.TP
+\fB\-x\fR, \fB\-\-exclude\-nodes\fR NODES
+Nodes to exclude
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show this message
diff --git a/debian/heckle.1.diff b/debian/heckle.1.diff
new file mode 100644
index 0000000..7f6546f
--- /dev/null
+++ b/debian/heckle.1.diff
@@ -0,0 +1,25 @@
+--- heckle.1.a	2009-04-26 01:11:55.000000000 +0200
++++ heckle.1.b	2009-04-26 01:13:17.000000000 +0200
+@@ -21,6 +21,7 @@
+ .TP
+ \fB\-F\fR, \fB\-\-force\fR
+ Ignore initial test failures
++
+ Best used with \fB\-\-focus\fR
+ .TP
+ \fB\-\-assignments\fR
+@@ -34,11 +35,13 @@
+ .TP
+ \fB\-T\fR, \fB\-\-timeout\fR SECONDS
+ The maximum time for a test run in seconds
++
+ Used to catch infinite loops
+ .TP
+ \fB\-n\fR, \fB\-\-nodes\fR NODES
+ Nodes to mutate
+-Possible values: call,cvasgn,dasgn,dasgn_curr,false,gasgn,iasgn,if,iter,lasgn,lit,str,true,until,while
++
++Possible values: call, cvasgn ,dasgn, dasgn_curr, false, gasgn, iasgn, if, iter, lasgn, lit, str, true, until, while
+ .TP
+ \fB\-x\fR, \fB\-\-exclude\-nodes\fR NODES
+ Nodes to exclude
diff --git a/debian/heckle.h2m b/debian/heckle.h2m
new file mode 100644
index 0000000..e97ddee
--- /dev/null
+++ b/debian/heckle.h2m
@@ -0,0 +1,8 @@
+[name]
+heckle \- mutate Ruby code and run test
+
+[description]
+`heckle' is a mutation tester. It modifies your code and runs your tests
+to make sure they fail. The idea is that if code can be changed and your
+tests don't notice, either that code isn't being covered or it doesn't do
+anything.
diff --git a/debian/hecklex.1 b/debian/hecklex.1
new file mode 100644
index 0000000..4c85445
--- /dev/null
+++ b/debian/hecklex.1
@@ -0,0 +1,47 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH HECKLEC "1" "April 2009" "hecklec 1.4.2" "User Commands"
+.SH NAME
+hecklec \- mutate Ruby code and run test
+.SH SYNOPSIS
+.B heckle
+\fIclass_name \fR[\fImethod_name\fR]
+.SH DESCRIPTION
+`heckle' is a mutation tester. It modifies your code and runs your tests
+to make sure they fail. The idea is that if code can be changed and your
+tests don't notice, either that code isn't being covered or it doesn't do
+anything..TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Loudly explain heckle run
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Prints Heckle's version number
+.TP
+\fB\-t\fR, \fB\-\-tests\fR TEST_PATTERN
+Location of tests (glob)
+.TP
+\fB\-F\fR, \fB\-\-force\fR
+Ignore initial test failures
+Best used with \fB\-\-focus\fR
+.TP
+\fB\-\-assignments\fR
+Only mutate assignments
+.TP
+\fB\-b\fR, \fB\-\-branches\fR
+Only mutate branches
+.TP
+\fB\-f\fR, \fB\-\-focus\fR
+Apply the eye of sauron
+.TP
+\fB\-T\fR, \fB\-\-timeout\fR SECONDS
+The maximum time for a test run in seconds
+Used to catch infinite loops
+.TP
+\fB\-n\fR, \fB\-\-nodes\fR NODES
+Nodes to mutate
+Possible values: call, cvasgn,dasgn,dasgn_curr,false,gasgn,iasgn,if,iter,lasgn,lit,str,true,until,while
+.TP
+\fB\-x\fR, \fB\-\-exclude\-nodes\fR NODES
+Nodes to exclude
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show this message
diff --git a/debian/patches/10_correct-path-for-ruby-interpreter b/debian/patches/10_correct-path-for-ruby-interpreter
new file mode 100644
index 0000000..d677c4d
--- /dev/null
+++ b/debian/patches/10_correct-path-for-ruby-interpreter
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_correct-path-for-ruby-interpreter.dpatch by Sebastien Delafond <seb at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct path to Ruby interpreter.
+
+ at DPATCH@
+Index: ruby-heckle/bin/heckle
+===================================================================
+--- ruby-heckle.orig/bin/heckle	2012-05-19 10:55:35.000000000 -0500
++++ ruby-heckle/bin/heckle	2012-05-19 16:12:14.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/ruby1.8
+ 
+ $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
+ require 'test_unit_heckler'
diff --git a/debian/patches/11_no-rubygems b/debian/patches/11_no-rubygems
new file mode 100644
index 0000000..8ed8edb
--- /dev/null
+++ b/debian/patches/11_no-rubygems
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_no-rubygems.dpatch by Tobias Grimm <etobi at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Don't require rubygems - all required libs are available in 
+## DP: depending packages.
+
+ at DPATCH@
+Index: ruby-heckle/lib/heckle.rb
+===================================================================
+--- ruby-heckle.orig/lib/heckle.rb	2012-05-19 10:55:35.000000000 -0500
++++ ruby-heckle/lib/heckle.rb	2012-05-19 16:12:16.000000000 -0500
+@@ -1,4 +1,3 @@
+-require 'rubygems'
+ require 'parse_tree'
+ require 'sexp_processor'
+ require 'ruby2ruby'
diff --git a/debian/patches/13_optional-zentest b/debian/patches/13_optional-zentest
new file mode 100644
index 0000000..6098037
--- /dev/null
+++ b/debian/patches/13_optional-zentest
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_optional-zentest.dpatch by Tobias Grimm <etobi at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debian doesn't have ZenTest packaged, so use it only if it is
+## DP: available via rubygems.
+
+ at DPATCH@
+Index: ruby-heckle/lib/test_unit_heckler.rb
+===================================================================
+--- ruby-heckle.orig/lib/test_unit_heckler.rb	2012-05-19 10:55:35.000000000 -0500
++++ ruby-heckle/lib/test_unit_heckler.rb	2012-05-19 16:12:17.000000000 -0500
+@@ -3,7 +3,13 @@
+ require 'test/unit/autorunner'
+ require 'test/unit/testcase'
+ require 'heckle'
+-require 'zentest_mapping'
++begin
++  require 'zentest_mapping'
++  HAVE_ZENTEST = true
++rescue LoadError
++  # if zentest isn't available, just don't use it
++  HAVE_ZENTEST = false
++end
+ 
+ $: << 'lib' << 'test'
+ 
+@@ -103,7 +109,7 @@
+     self.class.load_test_files unless @@tests_loaded
+   end
+ 
+-  include ZenTestMapping
++  include ZenTestMapping if HAVE_ZENTEST
+ 
+   def tests_pass?
+     silence_stream do
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d1cb8c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+10_correct-path-for-ruby-interpreter
+11_no-rubygems
+13_optional-zentest
diff --git a/debian/ruby-heckle.docs b/debian/ruby-heckle.docs
index 23a54bd..71dfd5b 100644
--- a/debian/ruby-heckle.docs
+++ b/debian/ruby-heckle.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.txt
+README.txt
diff --git a/debian/ruby-heckle.examples b/debian/ruby-heckle.examples
index 19ae3fc..640e65f 100644
--- a/debian/ruby-heckle.examples
+++ b/debian/ruby-heckle.examples
@@ -1,3 +1 @@
-# FIXME: sample/ dir found in source. Consider installing the examples.
-# Examples:
-# sample/*
+sample/*
diff --git a/debian/ruby-heckle.manpages b/debian/ruby-heckle.manpages
new file mode 100644
index 0000000..e359548
--- /dev/null
+++ b/debian/ruby-heckle.manpages
@@ -0,0 +1,2 @@
+debian/heckle.1
+debian/hecklex.1
diff --git a/debian/rules b/debian/rules
index a5e7dc8..c944943 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,10 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installman:
+	# Generate manpage:
+	INLINEDIR=. help2man --no-info --include=debian/heckle.h2m \
+	  -h "bin/heckle -h"  -v "bin/heckle -V" /usr/bin/ruby  >heckle.1
+	patch heckle.1 <debian/heckle.1.diff
+	dh_installman

-- 
ruby-heckle.git



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