[DRE-commits] [ruby-beaneater] 01/01: Release 0.3.3-1

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Sat Nov 22 17:18:39 UTC 2014


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

apoikos pushed a commit to branch master
in repository ruby-beaneater.

commit 1ed7cdf0885a91a9eeaab3c7b29d95b9fdfe6fc3
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Sat Nov 22 11:55:59 2014 +0200

    Release 0.3.3-1
---
 debian/changelog                 |  8 ++++++++
 debian/compat                    |  1 +
 debian/control                   | 23 +++++++++++++++++++++++
 debian/copyright                 | 32 ++++++++++++++++++++++++++++++++
 debian/ruby-beaneater.docs       |  1 +
 debian/ruby-beaneater.examples   |  1 +
 debian/ruby-test-files.yaml      |  7 +++++++
 debian/ruby-test-files.yaml.dep8 | 14 ++++++++++++++
 debian/rules                     | 15 +++++++++++++++
 debian/source/format             |  1 +
 debian/tests/beanstalkd          |  9 +++++++++
 debian/tests/control             |  3 +++
 debian/watch                     |  2 ++
 13 files changed, 117 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..15de8bd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+ruby-beaneater (0.3.3-1) unstable; urgency=medium
+
+  * Initial release (Closes: #770387)
+  * Split upstream's test suite in two parts:
+    + Run tests not requiring a running beanstalkd instance during the build.
+    + Run all tests, including those requiring beanstalkd, as DEP-8 tests.
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org>  Fri, 21 Nov 2014 14:16:44 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..96e3260
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: ruby-beaneater
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Build-Depends: debhelper (>= 9~), gem2deb, ruby-mocha, ruby-json, rake, ruby-coveralls
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-beaneater.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-beaneater.git;a=summary
+Homepage: https://github.com/beanstalkd/beaneater
+Testsuite: autopkgtest
+XS-Ruby-Versions: all
+
+Package: ruby-beaneater
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Suggests: beanstalkd
+Description: simple beanstalkd client for Ruby
+ Beaneater offers a way to interact with beanstalkd from within Ruby.
+ Beanstalkd is a fast, simple work queue. Its interface is generic, but was
+ originally designed for reducing the latency of page views in high-volume web
+ applications by running time-consuming tasks asynchronously.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d9e5728
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: beaneater
+Source: https://github.com/beanstalkd/beaneater
+
+Files: *
+Copyright: 2012 Nico Taing <nico.taing at gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2014 Apollon Oikonomopoulos <apoikos at debian.org>
+License: MIT
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+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/ruby-beaneater.docs b/debian/ruby-beaneater.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-beaneater.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-beaneater.examples b/debian/ruby-beaneater.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/ruby-beaneater.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
new file mode 100644
index 0000000..8055a9a
--- /dev/null
+++ b/debian/ruby-test-files.yaml
@@ -0,0 +1,7 @@
+---
+- test/errors_test.rb
+- test/pool_command_test.rb
+- test/prompt_regexp_test.rb
+- test/stat_struct_test.rb
+- test/stats_test.rb
+- test/test_helper.rb
diff --git a/debian/ruby-test-files.yaml.dep8 b/debian/ruby-test-files.yaml.dep8
new file mode 100644
index 0000000..93d48cf
--- /dev/null
+++ b/debian/ruby-test-files.yaml.dep8
@@ -0,0 +1,14 @@
+---
+- test/errors_test.rb
+- test/pool_command_test.rb
+- test/prompt_regexp_test.rb
+- test/stat_struct_test.rb
+- test/stats_test.rb
+- test/test_helper.rb
+- test/beaneater_test.rb
+- test/connection_test.rb
+- test/job_test.rb
+- test/jobs_test.rb
+- test/pool_test.rb
+- test/tube_test.rb
+- test/tubes_test.rb
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d81794d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/beanstalkd b/debian/tests/beanstalkd
new file mode 100755
index 0000000..b777435
--- /dev/null
+++ b/debian/tests/beanstalkd
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Use the full test suite, including tests using beanstalkd.
+mv debian/ruby-test-files.yaml debian/ruby-test-files.yaml.orig
+cp debian/ruby-test-files.yaml.dep8 debian/ruby-test-files.yaml
+
+gem2deb-test-runner --autopkgtest 2>&1
+
+mv debian/ruby-test-files.yaml.orig debian/ruby-test-files.yaml
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2c8d892
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: beanstalkd
+Depends: @, @builddeps@, gem2deb-test-runner, beanstalkd
+Restrictions: isolation-container
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cc253dd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/beaneater .*/beaneater-(.*).tar.gz

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



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