[DRE-commits] [spork] 02/02: Upload to unstable

Miguel Landaeta nomadium at moszumanska.debian.org
Fri Aug 1 18:22:24 UTC 2014


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

nomadium pushed a commit to branch master
in repository spork.

commit bb69b33bf2b4d0ea23a7dda395ef3c03e7a24231
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Fri Aug 1 14:53:58 2014 -0300

    Upload to unstable
---
 debian/changelog                        |  6 ++---
 debian/compat                           |  2 +-
 debian/control                          | 26 ++++++++++++------
 debian/copyright                        | 47 +++++++++++++++------------------
 debian/patches/01_disable_rubygems.diff | 39 +++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 debian/ruby-spork.docs                  |  3 +--
 debian/ruby-test-files.yaml             | 23 ----------------
 debian/ruby-tests.rake                  |  7 +++++
 9 files changed, 92 insertions(+), 62 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3982718..b882c5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-spork (0.9.2-1) UNRELEASED; urgency=medium
+spork (0.9.2-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release. (Closes: #756789)
 
- -- Miguel Landaeta <nomadium at debian.org>  Sat, 26 Jul 2014 18:56:27 -0300
+ -- Miguel Landaeta <nomadium at debian.org>  Thu, 31 Jul 2014 19:40:38 -0300
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 0571307..baecc22 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,28 @@
-Source: ruby-spork
+Source: spork
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <nomadium at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
+Uploaders: Miguel Landaeta <nomadium at debian.org>
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.5~), ruby-rspec, rake
 Standards-Version: 3.9.5
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-spork.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-spork.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/spork.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/spork.git;a=summary
 Homepage: http://github.com/timcharper/spork
 XS-Ruby-Versions: all
 
-Package: ruby-spork
+Package: spork
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Description: spork
- A forking Drb spec server
+Recommends: ruby-rspec
+Suggests: cucumber
+Description: DRb (Distributed Ruby) server for testing frameworks
+ Spork is a test server (similar to the script/spec_server that used to be
+ provided by rspec-rails), except rather than using the Rails constant
+ unloading to reload your files, it forks a copy of the server each
+ time you run your tests.
+ .
+ It supports the following testing frameworks:
+  * Rspec
+  * Cucumber
+  * Test::Unit
diff --git a/debian/copyright b/debian/copyright
index 346765c..7868643 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: spork
-Source: FIXME <http://example.com/>
+Source: https://github.com/sporkrb/spork
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2009 Tim Harper <timcharper at gmail.com>
+License: Expat
 
 Files: debian/*
-Copyright: 2014  <nomadium at debian.org>
-License: GPL-2+ (FIXME)
+Copyright: 2014 Miguel Landaeta <nomadium at debian.org>
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-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.
+License: Expat
+ 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:
  .
- 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.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
  .
- 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'.
+ 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/patches/01_disable_rubygems.diff b/debian/patches/01_disable_rubygems.diff
new file mode 100644
index 0000000..2276e7d
--- /dev/null
+++ b/debian/patches/01_disable_rubygems.diff
@@ -0,0 +1,39 @@
+Description: Disable rubygems usage
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2014-07-31
+
+--- spork-0.9.2.orig/spec/spec_helper.rb
++++ spork-0.9.2/spec/spec_helper.rb
+@@ -1,4 +1,4 @@
+-require 'rubygems'
++#require 'rubygems'
+ 
+ SPEC_TMP_DIR = File.expand_path('tmp', File.dirname(__FILE__))
+ require 'spork'
+--- spork-0.9.2.orig/lib/spork/run_strategy/magazine.rb
++++ spork-0.9.2/lib/spork/run_strategy/magazine.rb
+@@ -12,7 +12,7 @@ if RUBY_PLATFORM =~ /mswin|mingw/  and R
+   end
+ end
+ 
+-require 'rubygems' # used for Gem.ruby
++#require 'rubygems' # used for Gem.ruby
+ 
+ $:.unshift(File.dirname(__FILE__))
+ require 'magazine/magazine_slave'
+--- spork-0.9.2.orig/lib/spork/run_strategy/magazine/magazine_slave.rb
++++ spork-0.9.2/lib/spork/run_strategy/magazine/magazine_slave.rb
+@@ -1,4 +1,4 @@
+-require 'rubygems'
++#require 'rubygems'
+ require 'drb'
+ $:.unshift(File.dirname(__FILE__) + "/../../..")  # directory of spork.rb
+ require 'spork'
+@@ -27,4 +27,4 @@ class MagazineSlave
+     @test_framework.preload
+   end
+ 
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e753aa0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_disable_rubygems.diff
diff --git a/debian/ruby-spork.docs b/debian/ruby-spork.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-spork.docs
+++ b/debian/ruby-spork.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 252f552..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-- features/steps/general_steps.rb
-- features/steps/rails_steps.rb
-- features/steps/sandbox_steps.rb
-- features/support/background_job.rb
-- features/support/bundler_helpers.rb
-- features/support/env.rb
-- spec/spec_helper.rb
-- spec/spork/app_framework/rails_spec.rb
-- spec/spork/app_framework/unknown_spec.rb
-- spec/spork/app_framework_spec.rb
-- spec/spork/diagnoser_spec.rb
-- spec/spork/forker_spec.rb
-- spec/spork/run_strategy/forking_spec.rb
-- spec/spork/runner_spec.rb
-- spec/spork/server_spec.rb
-- spec/spork/test_framework/cucumber_spec.rb
-- spec/spork/test_framework/rspec_spec.rb
-- spec/spork/test_framework_shared_examples.rb
-- spec/spork/test_framework_spec.rb
-- spec/spork_spec.rb
-- spec/support/fake_framework.rb
-- spec/support/fake_run_strategy.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/**/*_spec.rb'
+end
+
+task :default => :spec

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



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