[DRE-commits] [ruby-gli] 02/02: initial debian packaging

Micah Anderson micah at moszumanska.debian.org
Tue Nov 29 17:25:26 UTC 2016


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

micah pushed a commit to branch master
in repository ruby-gli.

commit 40c5a0e179b50d4d582b365dbf2b117b4e298ee4
Author: Micah Anderson <micah at riseup.net>
Date:   Tue Nov 29 11:55:29 2016 -0500

    initial debian packaging
---
 .gitignore                      |  1 +
 debian/changelog                |  6 +++---
 debian/control                  | 19 +++++++++++++++----
 debian/copyright                | 27 +++++++++++++++++++++------
 debian/patches/patch_version    | 15 +++++++++++++++
 debian/patches/series           |  1 +
 debian/source/lintian-overrides |  2 ++
 lib/gli/version.rb              |  4 +---
 8 files changed, 59 insertions(+), 16 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6ecb210..fca1e6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ Gemfile.lock
 results.html
 .rbx
 .DS_Store
+.pc
diff --git a/debian/changelog b/debian/changelog
index 13cd5cb..fe4ddc3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-gli (2.14.0-1) UNRELEASED; urgency=medium
+ruby-gli (2.14.0-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #846250)
 
- -- micah <micah at muck.riseup.net>  Tue, 29 Nov 2016 11:06:59 -0500
+ -- Micah Anderson <micah at debian.org>  Tue, 29 Nov 2016 11:06:59 -0500
diff --git a/debian/control b/debian/control
index 5e945f2..8ef40ac 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,11 @@ Source: ruby-gli
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: <>
+Uploaders: Micah Anderson <micah at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
-               rake
+               rake,
+               ruby-clean-test
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-gli.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-gli.git
@@ -19,5 +20,15 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
-Description: Build command-suite CLI apps that are awesome.
- Build command-suite CLI apps that are awesome.  Bootstrap your app, add commands, options and documentation while maintaining a well-tested idiomatic command-line app
+Description: Build command-suite CLI apps without a lot of syntax
+ Build command-suite CLI apps that are awesome.  Bootstrap your app, add
+ commands, options and documentation while maintaining a well-tested idiomatic
+ command-line app
+ .
+ GLI allows you to make a polished, easy-to-maintain command-line application
+ without a lot of syntax, but without restricting you in any way from the power
+ of OptionParser.
+ .
+ GLI is the best way to make a “command-suite” command-line application,
+ e.g. one like git.
+
diff --git a/debian/copyright b/debian/copyright
index 4036f69..503a2c0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,16 +3,31 @@ Upstream-Name: gli
 Source: http://davetron5000.github.com/gli
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010 Dave Copeland <davetron5000 at gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License 2.0 can
+ be found in "/usr/share/common-licenses/Apache-2.0"
 
 Files: debian/*
-Copyright: 2016  <>
-License: GPL-2+ (FIXME)
+Copyright: 2016 Micah Anderson <micah at debian.org
+License: GPL-2+
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
+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/patches/patch_version b/debian/patches/patch_version
new file mode 100644
index 0000000..38be95c
--- /dev/null
+++ b/debian/patches/patch_version
@@ -0,0 +1,15 @@
+Description: Fix incorrect version.rb import
+Author: Micah Anderson <micah at debian.org>
+Forwarded: Yes
+Last-Update: 2016-11-29
+Index: ruby-gli/lib/gli/version.rb
+===================================================================
+--- ruby-gli.orig/lib/gli/version.rb	2016-11-29 11:14:42.694467745 -0500
++++ ruby-gli/lib/gli/version.rb	2016-11-29 11:14:59.298059147 -0500
+@@ -1,5 +1,3 @@
+ module GLI
+-  unless const_defined? :VERSION
+-    VERSION = '2.14.0'
+-  end
++  VERSION = '2.14.0'
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1968798
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+patch_version
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..a95da9a
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# The /usr/bin/gli tool is a helper tool, and the package is primarily a library
+ruby-gli source: application-not-library
diff --git a/lib/gli/version.rb b/lib/gli/version.rb
index 3cb2a72..05ecb94 100644
--- a/lib/gli/version.rb
+++ b/lib/gli/version.rb
@@ -1,5 +1,3 @@
 module GLI
-  unless const_defined? :VERSION
-    VERSION = '2.14.0'
-  end
+  VERSION = '2.14.0'
 end

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



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