[DRE-commits] [rubocop] 01/04: Import Debian patch.
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Mon Apr 21 14:08:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository rubocop.
commit ec428b62b8230d43b09bbb27503e9ded3a1fa179
Author: Sebastien Badia <seb at sebian.fr>
Date: Mon Apr 21 16:05:54 2014 +0200
Import Debian patch.
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 37 +++++++++++++++++++++++++++++++++++++
debian/copyright | 32 ++++++++++++++++++++++++++++++++
debian/rubocop.docs | 1 +
debian/ruby-tests.rake | 7 +++++++
debian/rules | 15 +++++++++++++++
debian/source/format | 1 +
debian/watch | 3 +++
9 files changed, 102 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6b394fc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rubocop (0.20.1-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #745423)
+
+ -- Sebastien Badia <seb at sebian.fr> Thu, 17 Apr 2014 20:26:45 +0200
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..b63b0fc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: rubocop
+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 (>= 7.0.50~),
+ gem2deb (>= 0.7.5~),
+ rake,
+ ruby-json,
+ ruby-parser,
+ ruby-powerpack,
+ ruby-progressbar,
+ ruby-rainbow,
+ ruby-rspec,
+ ruby-simplecov,
+ yard
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/rubocop.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/rubocop.git;a=summary
+Homepage: http://github.com/bbatsov/rubocop
+XS-Ruby-Versions: all
+
+Package: rubocop
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+ ruby-json,
+ ruby-parser,
+ ruby-powerpack,
+ ruby-progressbar,
+ ruby-rainbow,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Automatic Ruby code style checking tool
+ Ruby static code analyzer, based on the community Ruby style guide
+ Automatic Ruby code style checking tool.
+ Aims to enforce the community-driven Ruby Style Guide.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d96f7d7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rubocop
+Source: https://github.com/bbatsov/rubocop
+
+Files: *
+Copyright: 2012-2014 Bozhidar Batsov <bozhidar at batsov.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2014 Sebastien Badia <seb at sebian.fr>
+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/rubocop.docs b/debian/rubocop.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/rubocop.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..06981cd
--- /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.0 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/watch b/debian/watch
new file mode 100644
index 0000000..db572f8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/powerpack-$1\.tar\.gz/ \
+ https://github.com/bbatsov/rubocop/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rubocop.git
More information about the Pkg-ruby-extras-commits
mailing list