[DRE-commits] [ruby-celluloid-io] 03/03: Upload to unstable
Miguel Landaeta
nomadium at moszumanska.debian.org
Sat Jul 26 21:39:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-celluloid-io.
commit 054f4bb13c6dc46cc4ffcea526cb94156931d63d
Author: Miguel Landaeta <nomadium at debian.org>
Date: Sat Jul 26 16:03:37 2014 -0300
Upload to unstable
---
debian/changelog | 6 +-
debian/compat | 2 +-
debian/control | 24 +++++---
debian/copyright | 47 +++++++--------
.../patches/01_disable_bundler_and_rubygems.diff | 24 ++++++++
debian/patches/02_disable_dns_resolver_tests.diff | 70 ++++++++++++++++++++++
debian/patches/series | 2 +
debian/ruby-celluloid-io.docs | 3 +-
debian/ruby-celluloid-io.examples | 4 +-
debian/ruby-test-files.yaml | 12 ----
debian/rules | 8 +++
11 files changed, 148 insertions(+), 54 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 68de421..32cc267 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-celluloid-io (0.15.0-1) UNRELEASED; urgency=medium
+ruby-celluloid-io (0.15.0-1) unstable; urgency=medium
- * Initial release (Closes: #nnnn)
+ * Initial release. (Closes: #756148)
- -- Miguel Landaeta <nomadium at debian.org> Fri, 25 Jul 2014 23:02:29 -0300
+ -- Miguel Landaeta <nomadium at debian.org> Sat, 26 Jul 2014 13:36:26 -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 e569afd..00e3e82 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,26 @@ Source: ruby-celluloid-io
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~), rake, ruby-nio4r (>= 0.5.0),
+ ruby-rspec, ruby-celluloid (>= 0.15.0), ruby-coveralls
Standards-Version: 3.9.5
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-celluloid-io.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-celluloid-io.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-celluloid-io.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-celluloid-io.git;a=summary
Homepage: http://github.com/celluloid/celluloid-io
XS-Ruby-Versions: all
Package: ruby-celluloid-io
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# celluloid (>= 0.15.0), nio4r (>= 0.5.0), rake (>= 0, development), rspec (>= 0, development), benchmark_suite (>= 0, development), guard-rspec (>= 0, development), rb-fsevent (~> 0.9.1, development)
-Description: Celluloid::IO allows you to monitor multiple IO objects within a Celluloid actor
- Evented IO for Celluloid actors
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
+ ruby-celluloid (>= 0.15.0), ruby-nio4r (>= 0.5.0)
+Description: Ruby library providing an event-driven IO system for Celluloid actors
+ Celluloid::IO provides an event-driven IO system and sockets useful
+ for building fast and scalable network applications that integrates
+ directly with the Celluloid actor library, making it easy to combine
+ both threaded and evented concepts.
+ .
+ Celluloid::IO is ideal for implementing services which handle large
+ numbers of mostly-idle connections, such as Websocket servers or
+ chat/messaging systems.
diff --git a/debian/copyright b/debian/copyright
index 52094c2..e22ba05 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: celluloid-io
-Source: FIXME <http://example.com/>
+Source: https://github.com/celluloid/celluloid-io
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012 Tony Arcieri <bascule 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_bundler_and_rubygems.diff b/debian/patches/01_disable_bundler_and_rubygems.diff
new file mode 100644
index 0000000..6382b98
--- /dev/null
+++ b/debian/patches/01_disable_bundler_and_rubygems.diff
@@ -0,0 +1,24 @@
+Description: Disable rubygems and bundler usage
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2014-07-26
+
+--- ruby-celluloid-io-0.15.0.orig/spec/spec_helper.rb
++++ ruby-celluloid-io-0.15.0/spec/spec_helper.rb
+@@ -1,5 +1,5 @@
+-require 'rubygems'
+-require 'bundler/setup'
++#require 'rubygems'
++#require 'bundler/setup'
+ require 'celluloid/io'
+ require 'celluloid/rspec'
+ require 'coveralls'
+--- ruby-celluloid-io-0.15.0.orig/Rakefile
++++ ruby-celluloid-io-0.15.0/Rakefile
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env rake
+-require 'bundler/gem_tasks'
++#require 'bundler/gem_tasks'
+ Dir["tasks/**/*.task"].each { |task| load task }
+
+ task :default => :spec
diff --git a/debian/patches/02_disable_dns_resolver_tests.diff b/debian/patches/02_disable_dns_resolver_tests.diff
new file mode 100644
index 0000000..8bd3304
--- /dev/null
+++ b/debian/patches/02_disable_dns_resolver_tests.diff
@@ -0,0 +1,70 @@
+Description: Disable tests that require network access
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2014-07-26
+
+--- ruby-celluloid-io-0.15.0.orig/spec/celluloid/io/dns_resolver_spec.rb
++++ ruby-celluloid-io-0.15.0/spec/celluloid/io/dns_resolver_spec.rb
+@@ -1,33 +1,33 @@
+ require 'spec_helper'
+
+ describe Celluloid::IO::DNSResolver do
+- describe '#resolve' do
+- it 'resolves hostnames' do
+- resolver = Celluloid::IO::DNSResolver.new
+- resolver.resolve('localhost').should eq Resolv::IPv4.create("127.0.0.1")
+- end
+-
+- it "resolves domain names" do
+- resolver = Celluloid::IO::DNSResolver.new
+- resolver.resolve("celluloid.io").should == Resolv::IPv4.create("207.97.227.245")
+- end
+-
+- it "resolves CNAME responses" do
+- resolver = Celluloid::IO::DNSResolver.new
+- results = resolver.resolve("www.google.com")
+- if results.is_a?(Array)
+- results.all? {|i| i.should be_an_instance_of(Resolv::IPv4) }
+- else
+- results.should be_an_instance_of(Resolv::IPv4)
+- end
+- # www.yahoo.com will be resolved randomly whether multiple or
+- # single entry.
+- results = resolver.resolve("www.yahoo.com")
+- if results.is_a?(Array)
+- results.all? {|i| i.should be_an_instance_of(Resolv::IPv4) }
+- else
+- results.should be_an_instance_of(Resolv::IPv4)
+- end
+- end
+- end
++# describe '#resolve' do
++# it 'resolves hostnames' do
++# resolver = Celluloid::IO::DNSResolver.new
++# resolver.resolve('localhost').should eq Resolv::IPv4.create("127.0.0.1")
++# end
++#
++# it "resolves domain names" do
++# resolver = Celluloid::IO::DNSResolver.new
++# resolver.resolve("celluloid.io").should == Resolv::IPv4.create("207.97.227.245")
++# end
++#
++# it "resolves CNAME responses" do
++# resolver = Celluloid::IO::DNSResolver.new
++# results = resolver.resolve("www.google.com")
++# if results.is_a?(Array)
++# results.all? {|i| i.should be_an_instance_of(Resolv::IPv4) }
++# else
++# results.should be_an_instance_of(Resolv::IPv4)
++# end
++# # www.yahoo.com will be resolved randomly whether multiple or
++# # single entry.
++# results = resolver.resolve("www.yahoo.com")
++# if results.is_a?(Array)
++# results.all? {|i| i.should be_an_instance_of(Resolv::IPv4) }
++# else
++# results.should be_an_instance_of(Resolv::IPv4)
++# end
++# end
++# end
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2807aa5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_disable_bundler_and_rubygems.diff
+02_disable_dns_resolver_tests.diff
diff --git a/debian/ruby-celluloid-io.docs b/debian/ruby-celluloid-io.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-celluloid-io.docs
+++ b/debian/ruby-celluloid-io.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-celluloid-io.examples b/debian/ruby-celluloid-io.examples
index d970cc8..e39721e 100644
--- a/debian/ruby-celluloid-io.examples
+++ b/debian/ruby-celluloid-io.examples
@@ -1,3 +1 @@
-# FIXME: examples/ dir found in source. Consider installing the examples.
-# Examples:
-# examples/*
+examples/*
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 5b807df..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- spec/celluloid/io/actor_spec.rb
-- spec/celluloid/io/dns_resolver_spec.rb
-- spec/celluloid/io/mailbox_spec.rb
-- spec/celluloid/io/ssl_server_spec.rb
-- spec/celluloid/io/ssl_socket_spec.rb
-- spec/celluloid/io/tcp_server_spec.rb
-- spec/celluloid/io/tcp_socket_spec.rb
-- spec/celluloid/io/udp_socket_spec.rb
-- spec/celluloid/io/unix_server_spec.rb
-- spec/celluloid/io/unix_socket_spec.rb
-- spec/spec_helper.rb
diff --git a/debian/rules b/debian/rules
index d81794d..41a76bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,11 @@
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_test:
+ dh_auto_test
+ rake spec
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf log/*.log coverage
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-celluloid-io.git
More information about the Pkg-ruby-extras-commits
mailing list