[DRE-commits] [ruby-test-construct] 01/01: Release Debian package 2.0.0-1

Alexander GQ Gerasiov gq at moszumanska.debian.org
Thu Feb 19 13:18:43 UTC 2015


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

gq pushed a commit to branch master
in repository ruby-test-construct.

commit 513c9f7fac98136663ea1de7cc51dcc9d094fb89
Author: Alexander GQ Gerasiov <gq at cs.msu.su>
Date:   Thu Feb 19 16:17:27 2015 +0300

    Release Debian package 2.0.0-1
    
    Signed-off-by: Alexander GQ Gerasiov <gq at cs.msu.su>
---
 debian/changelog                    |  5 ++++
 debian/compat                       |  1 +
 debian/control                      | 28 +++++++++++++++++++
 debian/copyright                    | 54 +++++++++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 debian/patches/test-fix.patch       | 13 +++++++++
 debian/ruby-test-construct.docs     |  1 +
 debian/ruby-test-construct.examples |  3 +++
 debian/ruby-test-files.yaml         |  3 +++
 debian/rules                        | 18 +++++++++++++
 debian/source/format                |  1 +
 debian/watch                        |  2 ++
 12 files changed, 130 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..66c3178
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-test-construct (2.0.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #778764)
+
+ -- Alexander GQ Gerasiov <gq at debian.org>  Thu, 19 Feb 2015 16:16:01 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ca56a14
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: ruby-test-construct
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Alexander GQ Gerasiov <gq at debian.org>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-minitest, ruby-mocha
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-test-construct.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-test-construct.git;a=summary
+Homepage: https://github.com/bhb/test_construct
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-test-construct
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Description: Ruby library that creates temporary files and directories for testing
+ TestConstruct is a DSL for creating temporary files and directories during
+ testing.
+ .
+ Using construct is as simple as calling within_construct and providing a
+ block. All files and directories that are created within that block are
+ created within a temporary directory. The temporary directory is always
+ deleted before within_construct finishes.
+ .
+ There is nothing special about the files and directories created with
+ TestConstruct, so you can use plain old Ruby IO methods to interact with them.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..806bfcf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: test_construct
+Source: https://github.com/bhb/test_construct
+
+Files: *
+Copyright: 2013 Ben Brinckerhoff
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Alexander GQ Gerasiov <gq at debian.org>
+License: GPL-2+ or Expat
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+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:
+ .
+ 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: GPL-2+
+ 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.
+ .
+ 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.
+ .
+ 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'.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..067d0f7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-fix.patch
diff --git a/debian/patches/test-fix.patch b/debian/patches/test-fix.patch
new file mode 100644
index 0000000..dceba64
--- /dev/null
+++ b/debian/patches/test-fix.patch
@@ -0,0 +1,13 @@
+Description: Fix require issue in test.
+Author: Alexander Gerasiov <gq at debian.org>
+Last-Update: 2015-02-19
+Index: ruby-test-construct-2.0.0/test/test_construct_test.rb
+===================================================================
+--- ruby-test-construct-2.0.0.orig/test/test_construct_test.rb	2015-02-19 01:31:27.000000000 +0300
++++ ruby-test-construct-2.0.0/test/test_construct_test.rb	2015-02-19 01:33:29.782286977 +0300
+@@ -1,4 +1,4 @@
+-require 'test_helper'
++require (File.dirname(File.realdirpath(__FILE__)) + '/test_helper.rb')
+ 
+ class TestConstructTest < Minitest::Test
+   include TestConstruct::Helpers
diff --git a/debian/ruby-test-construct.docs b/debian/ruby-test-construct.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-test-construct.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-test-construct.examples b/debian/ruby-test-construct.examples
new file mode 100644
index 0000000..d970cc8
--- /dev/null
+++ b/debian/ruby-test-construct.examples
@@ -0,0 +1,3 @@
+# FIXME: examples/ dir found in source. Consider installing the examples.
+# Examples:
+# examples/*
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
new file mode 100644
index 0000000..42c9be5
--- /dev/null
+++ b/debian/ruby-test-files.yaml
@@ -0,0 +1,3 @@
+---
+- test/test_construct_test.rb
+- test/test_helper.rb
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2cf4254
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/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
+
+override_dh_installchangelogs:
+	dh_installchangelogs CHANGELOG.md
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/watch b/debian/watch
new file mode 100644
index 0000000..972eed4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/test_construct .*/test_construct-(.*).tar.gz

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



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