[DRE-commits] [ruby-gyoku] 02/03: A bit of work on package

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Wed Jul 22 18:27:18 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-gyoku.

commit 359da73d0193cd21763a3c1f7c4af86291b6cc35
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Tue Jul 14 17:55:41 2015 +0300

    A bit of work on package
---
 debian/control                                     |  4 +-
 debian/copyright                                   | 45 ++++++++++------------
 .../patches/0001-Remove-bundler-and-CI-stuff.patch | 28 ++++++++++++++
 debian/patches/series                              |  1 +
 debian/tests/control.ex                            | 13 -------
 5 files changed, 52 insertions(+), 39 deletions(-)

diff --git a/debian/control b/debian/control
index e94823e..54f44a6 100644
--- a/debian/control
+++ b/debian/control
@@ -22,5 +22,5 @@ Depends: ruby | ruby-interpreter,
          ruby-builder (>= 2.1.2),
          ${misc:Depends},
          ${shlibs:Depends}
-Description: Translates Ruby Hashes to XML
- Gyoku translates Ruby Hashes to XML
+Description: translates Ruby hashes to XML
+ Gyoku is library which translates Ruby hashes to XML.
diff --git a/debian/copyright b/debian/copyright
index 6b3657a..199cfb6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: gyoku
-Source: FIXME <http://example.com/>
+Source: https://github.com/savonrb/gyoku
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010-2015 Daniel Harrington <me at rubiii.com>
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Hleb Valoshka <375gnu at gmail.com>
-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
+ 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:
  .
- 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.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
  .
- 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
- .
- 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 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/patches/0001-Remove-bundler-and-CI-stuff.patch b/debian/patches/0001-Remove-bundler-and-CI-stuff.patch
new file mode 100644
index 0000000..74b7fa9
--- /dev/null
+++ b/debian/patches/0001-Remove-bundler-and-CI-stuff.patch
@@ -0,0 +1,28 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Tue, 14 Jul 2015 17:49:43 +0300
+Subject: Remove bundler and CI stuff
+
+---
+ spec/spec_helper.rb | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index d2dd8fc..035a165 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,15 +1,2 @@
+-require 'bundler'
+-Bundler.setup(:default, :development)
+-
+-unless RUBY_PLATFORM =~ /java/
+-  require 'simplecov'
+-  require 'coveralls'
+-
+-  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
+-  SimpleCov.start do
+-    add_filter 'spec'
+-  end
+-end
+-
+ require 'gyoku'
+ require 'rspec'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2563f61
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Remove-bundler-and-CI-stuff.patch
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index d604201..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 --check-dependencies 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-gyoku.git



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