[DRE-commits] [ruby-axiom-types] 01/01: add debian/ - waits for ruby-descendants-tracker, ruby-ice-nine
Jonas Genannt
jonas at brachium-system.net
Tue Mar 4 19:55:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-axiom-types.
commit 97bb670964027615d386bd6b2f5ee0ebc033b63d
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Tue Mar 4 20:55:00 2014 +0100
add debian/ - waits for ruby-descendants-tracker, ruby-ice-nine
---
debian/changelog | 5 +
debian/compat | 1 +
debian/control | 30 +++
debian/copyright | 31 +++
debian/patches/remove_devtools_spec_helper.patch | 13 ++
debian/patches/remove_it_should_behave_like.patch | 255 ++++++++++++++++++++++
debian/patches/series | 2 +
debian/ruby-axiom-types.docs | 1 +
debian/ruby-tests.rake | 5 +
debian/rules | 15 ++
debian/source/format | 1 +
debian/watch | 2 +
12 files changed, 361 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9a10c45
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-axiom-types (0.1.0-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #740761)
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de> Tue, 04 Mar 2014 19:19:05 +0000
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..0d10046
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: ruby-axiom-types
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Genannt <jonas.genannt at capi2name.de>
+Build-Depends: debhelper (>= 7.0.50~),
+ gem2deb (>= 0.6.1~),
+ ruby-descendants-tracker,
+ ruby-ice-nine,
+ ruby-rspec,
+ ruby-thread-safe
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-axiom-types.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-axiom-types.git;a=summary
+Homepage: https://github.com/dkubb/axiom-types
+XS-Ruby-Versions: all
+
+Package: ruby-axiom-types
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+ ruby-descendants-tracker,
+ ruby-ice-nine,
+ ruby-thread-safe,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Ruby module for abstract types for logic programming
+ This package provides a Ruby module that allows one to define types with
+ optional constraints for use within axiom and other libraries. It can
+ be used for logic programming.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ebcf579
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: axiom-types
+Source: https://github.com/dkubb/axiom-types
+
+Files: *
+Copyright: 2013 Dan Kubb <dan.kubb at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Jonas Genannt <jonas.genannt at capi2name.de>
+License: Expat
+
+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.
diff --git a/debian/patches/remove_devtools_spec_helper.patch b/debian/patches/remove_devtools_spec_helper.patch
new file mode 100644
index 0000000..84b891b
--- /dev/null
+++ b/debian/patches/remove_devtools_spec_helper.patch
@@ -0,0 +1,13 @@
+Description: remove devtools from spec_helper, not yet available in Debian
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Forwarded: not-needed
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -20,7 +20,6 @@
+ end
+ end
+
+-require 'devtools/spec_helper'
+ require 'axiom-types'
+
+ include Axiom::Types
diff --git a/debian/patches/remove_it_should_behave_like.patch b/debian/patches/remove_it_should_behave_like.patch
new file mode 100644
index 0000000..5941c0e
--- /dev/null
+++ b/debian/patches/remove_it_should_behave_like.patch
@@ -0,0 +1,255 @@
+Description: remove it_should_behave_like, because of missing shared examples
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Forwarded: yes
+Bug: https://github.com/dkubb/axiom-types/issues/11
+
+--- a/spec/unit/axiom/types/class_methods/finalize_spec.rb
++++ b/spec/unit/axiom/types/class_methods/finalize_spec.rb
+@@ -8,7 +8,7 @@
+ let(:object) { described_class }
+ let(:descendant) { Class.new(Axiom::Types::Type) }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ it 'finalizes the descendants' do
+ expect(descendant).to receive(:finalize)
+--- a/spec/unit/axiom/types/collection/class_methods/finalize_spec.rb
++++ b/spec/unit/axiom/types/collection/class_methods/finalize_spec.rb
+@@ -8,8 +8,8 @@
+ let(:object) { Class.new(Axiom::Types::Collection) }
+
+ context 'with the default member constraints' do
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+@@ -31,8 +31,8 @@
+ object.member_type Axiom::Types::Symbol
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/encodable/finalize_spec.rb
++++ b/spec/unit/axiom/types/encodable/finalize_spec.rb
+@@ -16,8 +16,8 @@
+ end
+
+ context 'when an ascii compatible encoding (UTF-8) is used' do
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+@@ -51,8 +51,8 @@
+ object.encoding Encoding::UTF_16BE
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/hash/class_methods/finalize_spec.rb
++++ b/spec/unit/axiom/types/hash/class_methods/finalize_spec.rb
+@@ -8,8 +8,8 @@
+ let(:object) { Class.new(Axiom::Types::Hash) }
+
+ context 'with the default key and value constraints' do
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+@@ -33,8 +33,8 @@
+ object.value_type Axiom::Types::String
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/length_comparable/finalize_spec.rb
++++ b/spec/unit/axiom/types/length_comparable/finalize_spec.rb
+@@ -13,8 +13,8 @@
+ end
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/length_comparable/range_spec.rb
++++ b/spec/unit/axiom/types/length_comparable/range_spec.rb
+@@ -17,7 +17,7 @@
+ object.finalize
+ end
+
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/object/class_methods/coercion_method_spec.rb
++++ b/spec/unit/axiom/types/object/class_methods/coercion_method_spec.rb
+@@ -17,7 +17,7 @@
+
+ let(:symbol) { :to_string }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ it 'sets the coercion_method' do
+ expect { subject }.to change { object.coercion_method }
+--- a/spec/unit/axiom/types/object/class_methods/finalize_spec.rb
++++ b/spec/unit/axiom/types/object/class_methods/finalize_spec.rb
+@@ -12,8 +12,8 @@
+ object
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/object/class_methods/primitive_spec.rb
++++ b/spec/unit/axiom/types/object/class_methods/primitive_spec.rb
+@@ -17,7 +17,7 @@
+
+ let(:klass) { ::String }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ it 'sets the primitive' do
+ expect { subject }.to change { object.primitive.object_id }
+--- a/spec/unit/axiom/types/options/accept_options_spec.rb
++++ b/spec/unit/axiom/types/options/accept_options_spec.rb
+@@ -11,8 +11,8 @@
+ context 'with valid options' do
+ let(:new_options) { [:primitive, :coerce_method] }
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it 'adds methods to the object' do
+ expect(object).to_not respond_to(*new_options)
+--- a/spec/unit/axiom/types/type/class_methods/constraint_spec.rb
++++ b/spec/unit/axiom/types/type/class_methods/constraint_spec.rb
+@@ -18,7 +18,7 @@
+ context 'with a callable object' do
+ subject { object.constraint(callable) }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ its(:constraint) { should respond_to(:call) }
+
+@@ -35,7 +35,7 @@
+ context 'with another constraint' do
+ subject { super().constraint(other) }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ its(:constraint) { should respond_to(:call) }
+
+@@ -54,7 +54,7 @@
+ context 'with a block' do
+ subject { object.constraint(&callable) }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ its(:constraint) { should respond_to(:call) }
+
+@@ -71,7 +71,7 @@
+ context 'with another constraint' do
+ subject { super().constraint(&other) }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ its(:constraint) { should respond_to(:call) }
+
+--- a/spec/unit/axiom/types/type/class_methods/finalize_spec.rb
++++ b/spec/unit/axiom/types/type/class_methods/finalize_spec.rb
+@@ -11,8 +11,8 @@
+ end
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/type/class_methods/includes_spec.rb
++++ b/spec/unit/axiom/types/type/class_methods/includes_spec.rb
+@@ -11,7 +11,7 @@
+ let(:member) { Object.new }
+ let(:members) { [member, member] }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ it 'adds a constraint that returns true for a valid member' do
+ should include(member)
+@@ -36,7 +36,7 @@
+ context 'with an empty set' do
+ let(:members) { [] }
+
+- it_should_behave_like 'a command method'
++ #it_should_behave_like 'a command method'
+
+ it 'adds a constraint that returns false' do
+ should_not include(Object.new)
+--- a/spec/unit/axiom/types/value_comparable/finalize_spec.rb
++++ b/spec/unit/axiom/types/value_comparable/finalize_spec.rb
+@@ -13,8 +13,8 @@
+ end
+ end
+
+- it_should_behave_like 'a command method'
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'a command method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
+--- a/spec/unit/axiom/types/value_comparable/range_spec.rb
++++ b/spec/unit/axiom/types/value_comparable/range_spec.rb
+@@ -17,7 +17,7 @@
+ object.finalize
+ end
+
+- it_should_behave_like 'an idempotent method'
++ #it_should_behave_like 'an idempotent method'
+
+ it { should be_frozen }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9f62b99
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+remove_it_should_behave_like.patch
+remove_devtools_spec_helper.patch
diff --git a/debian/ruby-axiom-types.docs b/debian/ruby-axiom-types.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-axiom-types.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..70a846d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..82ddc0c
--- /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=ruby1.9.1 ruby2.0 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/watch b/debian/watch
new file mode 100644
index 0000000..777d20c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/axiom-types .*/axiom-types-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-axiom-types.git
More information about the Pkg-ruby-extras-commits
mailing list