[DRE-commits] r5336 - in trunk/libfakefs-ruby: . debian debian/patches debian/source

Tobias Grimm tiber-guest at alioth.debian.org
Sat May 15 17:39:01 UTC 2010


Author: tiber-guest
Date: 2010-05-15 17:39:00 +0000 (Sat, 15 May 2010)
New Revision: 5336

Added:
   trunk/libfakefs-ruby/debian/
   trunk/libfakefs-ruby/debian/README.source
   trunk/libfakefs-ruby/debian/changelog
   trunk/libfakefs-ruby/debian/compat
   trunk/libfakefs-ruby/debian/control
   trunk/libfakefs-ruby/debian/copyright
   trunk/libfakefs-ruby/debian/docs
   trunk/libfakefs-ruby/debian/patches/
   trunk/libfakefs-ruby/debian/patches/0001-Fix-a-test-for-ruby-1.9.1-question-mark-must-end-the.patch
   trunk/libfakefs-ruby/debian/patches/0002-StringIO-isn-t-automatically-required-in-ruby-1.9.1.patch
   trunk/libfakefs-ruby/debian/patches/series
   trunk/libfakefs-ruby/debian/rules
   trunk/libfakefs-ruby/debian/source/
   trunk/libfakefs-ruby/debian/source/format
   trunk/libfakefs-ruby/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/libfakefs-ruby/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/libfakefs-ruby/debian/README.source
===================================================================
--- trunk/libfakefs-ruby/debian/README.source	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/README.source	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,5 @@
+This package includes patches managed with the «quilt» patch
+management system. Changes to the upstream sources are stored as diffs
+in debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.

Added: trunk/libfakefs-ruby/debian/changelog
===================================================================
--- trunk/libfakefs-ruby/debian/changelog	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/changelog	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,5 @@
+libfakefs-ruby (0.2.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #581747)
+
+ -- Tobias Grimm <etobi at debian.org>  Sat, 15 May 2010 14:03:48 +0200

Added: trunk/libfakefs-ruby/debian/compat
===================================================================
--- trunk/libfakefs-ruby/debian/compat	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/compat	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1 @@
+7

Added: trunk/libfakefs-ruby/debian/control
===================================================================
--- trunk/libfakefs-ruby/debian/control	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/control	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,45 @@
+Source: libfakefs-ruby
+Section: ruby
+Priority: optional
+Maintainer: Tobias Grimm <etobi at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), cdbs, ruby-pkg-tools
+Build-Depends-Indep: ruby1.8, ruby1.9.1
+Standards-Version: 3.8.4
+Homepage: http://github.com/defunkt/fakefs
+#Vcs-Git: git://git.debian.org/collab-maint/libfakefs-ruby.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/libfakefs-ruby.git;a=summary
+
+Package: libfakefs-ruby
+Architecture: all
+Depends: ${misc:Depends}
+Description: A fake file system to be used in unit tests
+ FakeFS allows you to unit-test file system calls without actually touching the
+ file system. File, Dir and FileUtils calls are redirected to a fake file system
+ without requiring to use any mocking library thus making it faster and easier
+ to test file system calls.
+ .
+ This is a dependency package, which depends on a libfakefs package
+ built for the default Ruby version.
+
+Package: libfakefs-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby1.8
+Description: A fake file system to be used in unit tests (ruby1.8)
+ FakeFS allows you to unit-test file system calls without actually touching the
+ file system. File, Dir and FileUtils calls are redirected to a fake file system
+ without requiring to use any mocking library thus making it faster and easier
+ to test file system calls.
+ .
+ This is the package for ruby 1.8
+
+Package: libfakefs-ruby1.9.1
+Architecture: all
+Depends: ${misc:Depends}, ruby1.9.1
+Description: A fake file system to be used in unit tests (ruby1.9.1)
+ FakeFS allows you to unit-test file system calls without actually touching the
+ file system. File, Dir and FileUtils calls are redirected to a fake file system
+ without requiring to use any mocking library thus making it faster and easier
+ to test file system calls.
+ .
+ This is the package for ruby 1.9.1

Added: trunk/libfakefs-ruby/debian/copyright
===================================================================
--- trunk/libfakefs-ruby/debian/copyright	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/copyright	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,35 @@
+Upstream homepage:
+    http://github.com/defunkt/fakefs
+
+Upstream Author:
+    Chris Wanstrath chris at ozmm.org
+
+Copyright:
+    (C) 2009 Chris Wanstrath
+
+Copyright (Debian packaging):
+    (C) 2010 Tobias Grimm
+
+License (MIT Licence):
+    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.
+
+License (Debian packaging):
+    The Debian packaging is licensed under the GPL, version 2 or any
+    later version, see /usr/share/common-licenses/GPL-2.

Added: trunk/libfakefs-ruby/debian/docs
===================================================================
--- trunk/libfakefs-ruby/debian/docs	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/docs	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1 @@
+README.markdown

Added: trunk/libfakefs-ruby/debian/patches/0001-Fix-a-test-for-ruby-1.9.1-question-mark-must-end-the.patch
===================================================================
--- trunk/libfakefs-ruby/debian/patches/0001-Fix-a-test-for-ruby-1.9.1-question-mark-must-end-the.patch	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/patches/0001-Fix-a-test-for-ruby-1.9.1-question-mark-must-end-the.patch	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,25 @@
+From 840d940957548e466c4777fbf686704468d6b3ed Mon Sep 17 00:00:00 2001
+From: Scott Taylor <scott at railsnewbie.com>
+Date: Sun, 8 Nov 2009 13:23:31 -0500
+Subject: [PATCH 1/2] Fix a test for ruby 1.9.1 (question mark *must* end the method in 1.9.1?)
+
+---
+ test/fakefs_test.rb |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb
+index af6aa93..0cdf3ac 100644
+--- a/test/fakefs_test.rb
++++ b/test/fakefs_test.rb
+@@ -288,7 +288,7 @@ class FakeFSTest < Test::Unit::TestCase
+     assert_nil File.size?("/path/to/other.txt")
+   end
+ 
+-  def test_can_check_size?_of_empty_file
++  def test_can_check_size_of_empty_file
+     path = '/path/to/file.txt'
+     File.open(path, 'w') do |f|
+       f << ''
+-- 
+1.7.1
+

Added: trunk/libfakefs-ruby/debian/patches/0002-StringIO-isn-t-automatically-required-in-ruby-1.9.1.patch
===================================================================
--- trunk/libfakefs-ruby/debian/patches/0002-StringIO-isn-t-automatically-required-in-ruby-1.9.1.patch	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/patches/0002-StringIO-isn-t-automatically-required-in-ruby-1.9.1.patch	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,23 @@
+From 20ed80c3ad27760265e171a02afe4b50ce13eb17 Mon Sep 17 00:00:00 2001
+From: Scott Taylor <scott at railsnewbie.com>
+Date: Sat, 5 Dec 2009 16:45:11 -0500
+Subject: [PATCH 2/2] StringIO isn't automatically required in ruby 1.9.1
+
+---
+ lib/fakefs/safe.rb |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/lib/fakefs/safe.rb b/lib/fakefs/safe.rb
+index 2413598..eaa017f 100644
+--- a/lib/fakefs/safe.rb
++++ b/lib/fakefs/safe.rb
+@@ -1,5 +1,6 @@
+ require 'fileutils'
+ require 'pathname'
++require 'stringio'
+ require 'fakefs/base'
+ require 'fakefs/fake/file'
+ require 'fakefs/fake/dir'
+-- 
+1.7.1
+

Added: trunk/libfakefs-ruby/debian/patches/series
===================================================================
--- trunk/libfakefs-ruby/debian/patches/series	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/patches/series	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,2 @@
+0001-Fix-a-test-for-ruby-1.9.1-question-mark-must-end-the.patch
+0002-StringIO-isn-t-automatically-required-in-ruby-1.9.1.patch

Added: trunk/libfakefs-ruby/debian/rules
===================================================================
--- trunk/libfakefs-ruby/debian/rules	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/rules	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+binary-post-install/libfakefs-ruby1.8::
+	ruby1.8 -e "Dir['test/**/*_test.rb'].each { |file| require file }"
+
+binary-post-install/libfakefs-ruby1.9.1::
+	ruby1.9.1 -e "Dir['test/**/*_test.rb'].each { |file| require file }"


Property changes on: trunk/libfakefs-ruby/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/libfakefs-ruby/debian/source/format
===================================================================
--- trunk/libfakefs-ruby/debian/source/format	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/source/format	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/libfakefs-ruby/debian/watch
===================================================================
--- trunk/libfakefs-ruby/debian/watch	                        (rev 0)
+++ trunk/libfakefs-ruby/debian/watch	2010-05-15 17:39:00 UTC (rev 5336)
@@ -0,0 +1,3 @@
+version=3
+
+http://gemwatch.heroku.com/fakefs .*/fakefs-(.*).tar.gz




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