[DRE-commits] [ruby-contracts] 01/04: Import intial Debian patch

Sebastien Badia sbadia-guest at moszumanska.debian.org
Thu Aug 20 13:47:36 UTC 2015


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

sbadia-guest pushed a commit to branch master
in repository ruby-contracts.

commit a1ca97c2d9b09e965a4fa9a65faeeb90cc033c1c
Author: Sebastien Badia <seb at sebian.fr>
Date:   Thu Aug 20 15:26:12 2015 +0200

    Import intial Debian patch
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 26 ++++++++++++++++++++++++++
 debian/copyright           | 44 ++++++++++++++++++++++++++++++++++++++++++++
 debian/ruby-contracts.docs |  1 +
 debian/ruby-tests.rake     |  5 +++++
 debian/rules               |  5 +++++
 debian/source/format       |  1 +
 debian/tests/control.ex    | 13 +++++++++++++
 debian/watch               |  2 ++
 10 files changed, 103 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..62003a0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-contracts (0.11.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #796228)
+
+ -- Sebastien Badia <seb at sebian.fr>  Thu, 20 Aug 2015 12:20:46 +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..933323b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: ruby-contracts
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Sebastien Badia <seb at sebian.fr>
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-rspec
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-contracts.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-contracts.git
+Homepage: https://github.com/egonSchiele/contracts.ruby
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-contracts
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Contracts (a assert like) for Ruby.
+ This library provides contracts for Ruby. Contracts let you clearly express
+ how your code behaves, and free you from writing tons of boilerplate, defensive
+ code.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..da94888
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: contracts
+Source: contracts.ruby https://github.com/egonSchiele/contracts.ruby
+
+Files: *
+Copyright: Copyright 2012-2015 Aditya Bhargava
+License: BSD
+
+Files: debian/*
+Copyright: 2015 Sebastien Badia <seb at sebian.fr>
+License: BSD
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: BSD
+ Copyright (c) The Regents of the University of California.
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+ .
+ 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/ruby-contracts.docs b/debian/ruby-contracts.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-contracts.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5df7f46
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+	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/control.ex b/debian/tests/control.ex
new file mode 100644
index 0000000..d604201
--- /dev/null
+++ b/debian/tests/control.ex
@@ -0,0 +1,13 @@
+# AUTOGENERATED FILE
+#
+# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
+# detected, and if debian/tests/control does not exist the contents below will
+# be assumed (with the exception of gem2deb being filtered out from
+# @builddeps@):
+
+Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
+Depends: @, @builddeps@, gem2deb-test-runner
+
+# if you would need to change something to the above, to that and rename this
+# file to `control`. Otherwise, you should probably delete this file
+# (recommended).
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a062285
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/contracts .*/contracts-(.*).tar.gz

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



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