[DRE-commits] [ruby-beautify] 01/04: Package preparation.

Tomasz Nitecki tnnn-guest at moszumanska.debian.org
Tue Oct 21 08:14:54 UTC 2014


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

tnnn-guest pushed a commit to branch master
in repository ruby-beautify.

commit ff1f09779ff8deac2e302c525f236e23e831f173
Author: Tomasz Nitecki <tnnn at tnnn.pl>
Date:   Tue Oct 21 10:04:51 2014 +0200

    Package preparation.
---
 debian/control            | 11 +++++++----
 debian/copyright          | 36 ++++++++++++++++++++++++++++++------
 debian/ruby-beautify.docs |  3 +--
 debian/ruby-tests.rake    |  2 +-
 debian/rules              |  4 ++++
 debian/tests/control.ex   | 13 -------------
 6 files changed, 43 insertions(+), 26 deletions(-)

diff --git a/debian/control b/debian/control
index 358d43b..0fd735f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Tomasz Nitecki <tnnn at tnnn.pl>
 Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-rspec, rake
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-beautify.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-beautify.git;a=summary
 Homepage: https://github.com/erniebrodeur/ruby-beautify
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-beautify
@@ -16,5 +16,8 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
 # rspec (>= 0, development)
-Description: a cli tool (and module) to beautify ruby code.
- a cli tool (and module) to beautify ruby code.
+Description: CLI binary and module that will pretty up ruby code
+ This package provides a CLI tool and module to make pretty up Ruby source 
+ code. It can operate on both files and on STDIN, making it suitable for 
+ piping. It can  also be used as a Build-Dependency for ruby-gherkin 
+ (>= 2.12.2) to clean Ruby files generated by ragel.
diff --git a/debian/copyright b/debian/copyright
index 4947e6f..c903d41 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,18 +1,42 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ruby-beautify
-Source: FIXME <http://example.com/>
+Source: https://github.com/erniebrodeur/ruby-beautify
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012 Ernie Brodeur <ebrodeur at ujami.net>
+License: Expat
+
+Files: lib/beautifier.rb
+Copyright: 2006 Paul Lutus
+           2011 Craig Williams <cwilliams.allancraig at gmail.com>
+License: GPL-2+
 
 Files: debian/*
 Copyright: 2014 Tomasz Nitecki <tnnn at tnnn.pl>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
+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
diff --git a/debian/ruby-beautify.docs b/debian/ruby-beautify.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-beautify.docs
+++ b/debian/ruby-beautify.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 99987ae..dcc1601 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,7 @@
 require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/*_spec.rb'
+  spec.pattern = './spec/**/*_spec.rb'
 end
 
 task :default => :spec
diff --git a/debian/rules b/debian/rules
index d81794d..11b05f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,7 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+# Install upstream changelog
+override_dh_installchangelogs:
+	dh_installchangelogs RELEASE.md
\ No newline at end of file
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index 429a392..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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 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).

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



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