[DRE-commits] [ruby-rack] 02/06: Update Debian packaging using dh-make-ruby

Sebastien Badia sbadia-guest at moszumanska.debian.org
Wed Mar 2 17:28:12 UTC 2016


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

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

commit 4408fb9af68bc1d402582b25eba83825710e2030
Author: Sebastien Badia <seb at sebian.fr>
Date:   Wed Mar 2 13:52:02 2016 -0300

    Update Debian packaging using dh-make-ruby
---
 debian/control   | 38 +++++++++++++++++-----------
 debian/copyright | 76 ++++++++++++++++++++++++--------------------------------
 debian/rules     | 13 ++--------
 3 files changed, 58 insertions(+), 69 deletions(-)

diff --git a/debian/control b/debian/control
index f15572f..e45fadf 100644
--- a/debian/control
+++ b/debian/control
@@ -3,27 +3,35 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>, Youhei SASAKI <uwabami at gfd-dennou.org>, Paul van Tilburg <paulvt at debian.org>, Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 9~), gem2deb (>= 0.3.0~), rake, ruby-bacon, ruby-memcache-client, thin
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-bacon,
+               ruby-memcache-client,
+               thin
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack.git
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rack.git;a=summary
-Homepage: http://rack.rubyforge.org
+Homepage: http://rack.github.io/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
-Testsuite: autopkgtest
 
 Package: ruby-rack
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Replaces: librack-ruby1.9.1 (<< 1.2.2-1~), librack-ruby1.8 (<< 1.2.2-1~), librack-ruby (<< 1.2.2-1~)
-Conflicts: librack-ruby1.9.1 (<< 1.2.2-1~), librack-ruby1.8 (<< 1.2.2-1~), librack-ruby (<< 1.2.2-1~)
-Provides: librack-ruby1.9.1, librack-ruby1.8, librack-ruby
-Description: Modular Ruby webserver interface
- Rack provides a minimal, modular and adaptable interface for
- developing web applications in Ruby.  By wrapping HTTP requests and
- responses in the simplest way possible, it unifies and distills the
- API for web servers, web frameworks, and software in between (the
- so-called middleware) into a single method call.
+Depends: ruby | ruby-interpreter, ${misc:Depends}, ${shlibs:Depends}
+Replaces: librack-ruby (<< 1.2.2-1~),
+          librack-ruby1.8 (<< 1.2.2-1~),
+          librack-ruby1.9.1 (<< 1.2.2-1~)
+Conflicts: librack-ruby (<< 1.2.2-1~),
+           librack-ruby1.8 (<< 1.2.2-1~),
+           librack-ruby1.9.1 (<< 1.2.2-1~)
+Provides: librack-ruby, librack-ruby1.8, librack-ruby1.9.1
+Description: a modular Ruby webserver interface
+ Rack provides a minimal, modular and adaptable interface for developing
+ web applications in Ruby.  By wrapping HTTP requests and responses in
+ the simplest way possible, it unifies and distills the API for web
+ servers, web frameworks, and software in between (the so-called
+ middleware) into a single method call.
  .
- The exact details of this are described in the Rack specification,
- which all Rack applications should conform to.
+ Also see http://rack.github.io/.
diff --git a/debian/copyright b/debian/copyright
index 1503aef..7dc273d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,43 +1,33 @@
-This package was debianized by Sebastien Delafond <seb at debian.org> on
-Wed, 07 May 2008 09:39:28 -0700.
-
-It was downloaded from <URL:http://rack.rubyforge.org>
-
-Upstream Authors:
-  * Christian Neukirchen <chneukirchen at gmail.com>
-  * HTTP authentication: Tim Fletcher <twoggle at gmail.com>
-  * Cookie sessions, Static handler: Luc Heinrich <luc at honk-honk.com>
-  * Pool sessions, OpenID authentication: blink <blinketje at gmail.com>
-  * LiteSpeed handler: Adrian Madrid
-  * SCGI handler: Jeremy Evans
-  * Official Logo: Armin Ronacher
-
-Copyright:
-  doc/js/jquery.js is Copyright (c) 2009 John Resig, and
-  is distributed under either the MIT or GPL licenses.
-
-  doc/js/thickbox-compressed.js is Copyright (c) 2007 Cody Lindley, and
-  is licensed under the MIT license.
-
-  The rest of the source is Copyright (c) 2007 Christian Neukirchen
-  <chneukirchen at gmail.com>.
-
-  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 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.
-
-On Debian systems, the text of the GPL license version 2 can be found at
-`/usr/share/common-licenses/GPL-2'
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rack
+Source: http://rack.github.io/
+
+Files: *
+Copyright: 2007-2015 Christian Neukirchen <purl.org/net/chneukirchen>
+License: Expat
+
+Files: debian/*
+Copyright: 2008 Sebastien Delafond <seb at debian.org>
+           2011-2015 Youhei SASAKI <uwabami at gfd-dennou.org>
+           2013-2016 Antonio Terceiro <terceiro at debian.org>
+License: 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.
diff --git a/debian/rules b/debian/rules
index 6990df9..58f5da3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/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.8 ruby1.9.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

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



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