[DRE-commits] [ruby-fog-xml] 02/04: Initial upload

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Nov 29 14:31:49 UTC 2014


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

balasankarc-guest pushed a commit to branch master
in repository ruby-fog-xml.

commit 51380fc39d8e64a9fd6a2b0e588d29735fa8114d
Author: Balasankar C <balasankarc at autistici.org>
Date:   Sat Nov 29 12:06:28 2014 +0530

    Initial upload
---
 debian/TODO                    |  2 ++
 debian/changelog               |  6 ++---
 debian/control                 | 18 ++++++++++-----
 debian/copyright               | 47 +++++++++++++++++++--------------------
 debian/patches/Turn-Dependency | 50 ++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 debian/ruby-fog-xml.docs       |  3 +--
 debian/ruby-tests.rake         |  9 ++++----
 spec/minitest_helper.rb        | 30 ++++++++++++-------------
 9 files changed, 112 insertions(+), 54 deletions(-)

diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..99597a6
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,2 @@
+Commented out the portions from minitest_helper which require the gem turn. 
+turn can't be packaged right now due to its dependency on Minitest (<5)
diff --git a/debian/changelog b/debian/changelog
index 6c40eac..e9c5ac8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-fog-xml (0.1.1-1) UNRELEASED; urgency=medium
+ruby-fog-xml (0.1.1-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #123456)
 
- -- Balasankar C <balasankarc at autistici.org>  Sat, 29 Nov 2014 12:02:10 +0530
+ -- Balasankar C <balasankarc at autistici.org>  Sat, 29 Nov 2014 11:43:52 +0530
diff --git a/debian/control b/debian/control
index 1c891bf..4f225d6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,12 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Balasankar C <balasankarc at autistici.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-rspec, rake
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-rspec, rake, ruby-excon, ruby-fog-core, ruby-nokogiri (>= 1.5.11)
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-fog-xml.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-fog-xml.git;a=summary
 Homepage: https://github.com/fog/fog-xml
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-fog-xml
@@ -17,5 +17,13 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
 # fog-core (>= 0), nokogiri (>= 1.5.11, ~> 1.5), rake (>= 0, development), minitest (>= 0, development), turn (>= 0, development), pry (>= 0, development), coveralls (>= 0, development)
 Description: XML parsing for fog providers
- Extraction of the XML parsing tools shared between a
- number of providers in the 'fog' gem
+ Extraction of the XML parsing tools shared between a number of providers in 
+ the 'fog' gem. fog is the Ruby cloud services library, top to bottom:
+ .
+  *Collections provide a simplified interface, making clouds easier to work with 
+  and switch between.
+ .
+  *Requests allow power users to get the most out of the features of each 
+  individual cloud.
+ .
+  *Mocks make testing and integrating a breeze.
diff --git a/debian/copyright b/debian/copyright
index a73a64e..e7b06d8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,34 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: fog-xml
-Source: FIXME <http://example.com/>
+Source: https://github.com/fog/fog-xml/
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010-2014 Michael Hale <mike at hales.ws>
+           2010-2014 Paul Thornthwaite <tokengeek at gmail.com>
+           2010-2014 Paulo Henrique Lopes Ribeiro <plribeiro3000 at gmail.com>
+           2010-2014 Wesley Beary <geemus at gmail.com>
+License: Expat
 
 Files: debian/*
 Copyright: 2014 Balasankar C <balasankarc at autistici.org>
-License: GPL-2+ (FIXME)
+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/Turn-Dependency b/debian/patches/Turn-Dependency
new file mode 100644
index 0000000..131d256
--- /dev/null
+++ b/debian/patches/Turn-Dependency
@@ -0,0 +1,50 @@
+Description: Comment out portions using the gem "turn"
+ Removing the dependecy on turn as it is not and can't be packaged.
+ .
+ ruby-fog-xml (0.1.1-1) UNRELEASED; urgency=medium
+ .
+   * Initial release (Closes: #nnnn)
+Author: Balasankar C <balasankarc at autistici.org>
+
+
+--- ruby-fog-xml-0.1.1.orig/spec/minitest_helper.rb
++++ ruby-fog-xml-0.1.1/spec/minitest_helper.rb
+@@ -1,23 +1,23 @@
+ require "minitest/spec"
+ require "minitest/autorun"
+-require "turn"
++#require "turn"
+ require "excon"
+ require "fog/core"
+ 
+-Turn.config do |c|
+-  # use one of output formats:
+-  # :outline  - turn's original case/test outline mode [default]
+-  # :progress - indicates progress with progress bar
+-  # :dotted   - test/unit's traditional dot-progress mode
+-  # :pretty   - new pretty reporter
+-  # :marshal  - dump output as YAML (normal run mode only)
+-  # :cue      - interactive testing
+-  # c.format  = :outline
+-  # turn on invoke/execute tracing, enable full backtrace
+-  c.trace   = 20
+-  # use humanized test names (works only with :outline format)
+-  c.natural = true
+-end
++#Turn.config do |c|
++  ## use one of output formats:
++  ## :outline  - turn's original case/test outline mode [default]
++  ## :progress - indicates progress with progress bar
++  ## :dotted   - test/unit's traditional dot-progress mode
++  ## :pretty   - new pretty reporter
++  ## :marshal  - dump output as YAML (normal run mode only)
++  ## :cue      - interactive testing
++  ## c.format  = :outline
++  ## turn on invoke/execute tracing, enable full backtrace
++  #c.trace   = 20
++  ## use humanized test names (works only with :outline format)
++  #c.natural = true
++#end
+ 
+ if ENV["COVERAGE"]
+   require "coveralls"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ffd3396
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Turn-Dependency
diff --git a/debian/ruby-fog-xml.docs b/debian/ruby-fog-xml.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-fog-xml.docs
+++ b/debian/ruby-fog-xml.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 99987ae..5f7eed1 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,6 @@
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/*_spec.rb'
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+    t.libs << 'spec'
+  t.test_files = FileList['spec/*/*/*_spec.rb']
 end
 
-task :default => :spec
diff --git a/spec/minitest_helper.rb b/spec/minitest_helper.rb
index f25cae7..4105bc9 100644
--- a/spec/minitest_helper.rb
+++ b/spec/minitest_helper.rb
@@ -1,23 +1,23 @@
 require "minitest/spec"
 require "minitest/autorun"
-require "turn"
+#require "turn"
 require "excon"
 require "fog/core"
 
-Turn.config do |c|
-  # use one of output formats:
-  # :outline  - turn's original case/test outline mode [default]
-  # :progress - indicates progress with progress bar
-  # :dotted   - test/unit's traditional dot-progress mode
-  # :pretty   - new pretty reporter
-  # :marshal  - dump output as YAML (normal run mode only)
-  # :cue      - interactive testing
-  # c.format  = :outline
-  # turn on invoke/execute tracing, enable full backtrace
-  c.trace   = 20
-  # use humanized test names (works only with :outline format)
-  c.natural = true
-end
+#Turn.config do |c|
+  ## use one of output formats:
+  ## :outline  - turn's original case/test outline mode [default]
+  ## :progress - indicates progress with progress bar
+  ## :dotted   - test/unit's traditional dot-progress mode
+  ## :pretty   - new pretty reporter
+  ## :marshal  - dump output as YAML (normal run mode only)
+  ## :cue      - interactive testing
+  ## c.format  = :outline
+  ## turn on invoke/execute tracing, enable full backtrace
+  #c.trace   = 20
+  ## use humanized test names (works only with :outline format)
+  #c.natural = true
+#end
 
 if ENV["COVERAGE"]
   require "coveralls"

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



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