[DRE-commits] [ruby-netrc] 01/04: Initial packaging

Lucas Nussbaum lucas at moszumanska.debian.org
Tue May 5 14:02:49 UTC 2015


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

lucas pushed a commit to branch master
in repository ruby-netrc.

commit a7b241c688394b54ac5638422c42fa61bb53927f
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue May 5 15:36:44 2015 +0200

    Initial packaging
---
 debian/changelog          |  2 +-
 debian/control            |  7 ++++---
 debian/copyright          | 45 ++++++++++++++++++++++-----------------------
 debian/ruby-netrc.docs    |  2 +-
 debian/ruby-netrc.install |  3 ---
 debian/ruby-tests.rake    |  2 +-
 debian/tests/control.ex   | 13 -------------
 7 files changed, 29 insertions(+), 45 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 48771b5..9dc3fb1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 ruby-netrc (0.10.3-1) UNRELEASED; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release.
 
  -- Lucas Nussbaum <lucas at debian.org>  Tue, 05 May 2015 15:08:04 +0200
diff --git a/debian/control b/debian/control
index fe3d2b0..3ef3989 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ XS-Ruby-Versions: all
 Package: ruby-netrc
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, 
-Description: Library to read and write netrc files.
- This library can read and update netrc files, preserving formatting including comments and whitespace.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Description: Ruby library to read and write netrc files
+ This Ruby library can read and update netrc files, preserving formatting
+ including comments and whitespace.
diff --git a/debian/copyright b/debian/copyright
index 43c183b..d513661 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,34 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: netrc
-Source: FIXME <http://example.com/>
+Source: https://github.com/geemus/netrc
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2011-2014 [CONTRIBUTORS.md](https://github.com/geemus/netrc/blob/master/CONTRIBUTORS.md)
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Lucas Nussbaum <lucas at debian.org>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
- 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
- version 2 of the License, or (at your option) any later
- version.
+License: Expat
+ The MIT License (MIT)
  .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
+ Copyright (c) 2011-2014 [CONTRIBUTORS.md](https://github.com/geemus/netrc/blob/master/CONTRIBUTORS.md)
  .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
+ 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:
  .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ 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/ruby-netrc.docs b/debian/ruby-netrc.docs
index d0ab95f..ad1245d 100644
--- a/debian/ruby-netrc.docs
+++ b/debian/ruby-netrc.docs
@@ -1 +1 @@
-# FIXME: READMEs found
+Readme.md
diff --git a/debian/ruby-netrc.install b/debian/ruby-netrc.install
deleted file mode 100644
index 2259f11..0000000
--- a/debian/ruby-netrc.install
+++ /dev/null
@@ -1,3 +0,0 @@
-# FIXME: data/ dir found in source. Consider installing it somewhere.
-# Examples:
-# data/* /usr/share/ruby-netrc/
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index ea98ddf..fcd901a 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,5 @@
 require 'gem2deb/rake/testtask'
 
 Gem2Deb::Rake::TestTask.new do |t|
-  t.test_files = FileList['test/**/*_test.rb']
+  t.test_files = FileList['test/**/test_*.rb']
 end
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-netrc.git



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