[DRE-commits] [SCM] ruby-kgio.git branch, master, updated. upstream/2.7.2-3-g2fc7ad3

Hleb Valoshka 375GNU at Gmail.COM
Sat Feb 18 14:00:50 UTC 2012


The following commit has been merged in the master branch:
commit 2fc7ad34adc3b9ce322f4d428da54689cdb4c91e
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Sat Feb 18 17:00:03 2012 +0300

    Make it ready to be built and uploaded

diff --git a/debian/changelog b/debian/changelog
index e2e549f..537dfa3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 ruby-kgio (2.7.2-1) UNRELEASED; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #660341)
 
- -- globus <375gnu at gmail.com>  Sat, 18 Feb 2012 16:43:43 +0300
+ -- Hleb Valoshka <375gnu at gmail.com>  Sat, 18 Feb 2012 16:43:43 +0300
diff --git a/debian/control b/debian/control
index 6e58abe..e5ce3b8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,12 @@ Source: ruby-kgio
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <375gnu at gmail.com>
+Uploaders: Hleb Valoshka <375gnu at gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.11~)
 Standards-Version: 3.9.2
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-kgio.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-kgio.git;a=summary
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-kgio.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-kgio.git;a=summary
 Homepage: http://bogomips.org/kgio/
 XS-Ruby-Versions: all
 
@@ -15,7 +15,7 @@ Package: ruby-kgio
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Description: kinder, gentler I/O for Ruby
+Description: Kinder, gentler I/O for Ruby
  kgio provides non-blocking I/O methods for Ruby without raising
  exceptions on EAGAIN and EINPROGRESS.  It is intended for use with the
  Unicorn and Rainbows! Rack servers, but may be used by other
diff --git a/debian/copyright b/debian/copyright
index 2a4b5d1..dfb0541 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,47 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: kgio
-Source: FIXME <http://example.com/>
+Source: http://bogomips.org/kgio/
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-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
+Copyright: 2010-2011 Eric Wong <normalperson at yhbt.net>
+License: LGPL-2.1 or LGPL-3
+
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
+
+License: LGPL-3
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+ version 3 of the License, or (at your option) any later version.
  .
- 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.
+ This library 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
+ Lesser General Public License for more details.
  .
- 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
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  .
- 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'.
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'.
 
 Files: debian/*
-Copyright: 2012  <375gnu at gmail.com>
-License:
- [LICENSE TEXT]
+Copyright: These files ain't copyrighted
+License: public-domain
+ These files are in Public Domain.
diff --git a/debian/patches/fix-test-under-fakeroot b/debian/patches/fix-test-under-fakeroot
new file mode 100644
index 0000000..858b6c1
--- /dev/null
+++ b/debian/patches/fix-test-under-fakeroot
@@ -0,0 +1,25 @@
+
+This test will fail under fakeroot, so disable it.
+
+diff -uNr kgio-2.6.0.orig/test/test_tryopen.rb kgio-2.6.0/test/test_tryopen.rb
+--- kgio-2.6.0.orig/test/test_tryopen.rb	2011-11-15 20:14:12.000000000 +0300
++++ kgio-2.6.0/test/test_tryopen.rb	2011-11-15 20:16:21.285332747 +0300
+@@ -22,12 +22,12 @@
+     assert_equal :ENOENT, tmp
+   end
+ 
+-  def test_tryopen_EPERM
+-    tmp = Tempfile.new "tryopen"
+-    File.chmod 0000, tmp.path
+-    tmp = Kgio::File.tryopen(tmp.path)
+-    assert_equal :EACCES, tmp
+-  end
++#  def test_tryopen_EPERM
++#    tmp = Tempfile.new "tryopen"
++#    File.chmod 0000, tmp.path
++#    tmp = Kgio::File.tryopen(tmp.path)
++#    assert_equal :EACCES, tmp
++#  end
+ 
+   def test_tryopen_readwrite
+     tmp = Tempfile.new "tryopen"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0f80bbf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-test-under-fakeroot
diff --git a/debian/ruby-kgio.docs b/debian/ruby-kgio.docs
index 786a9ba..8deb7a0 100644
--- a/debian/ruby-kgio.docs
+++ b/debian/ruby-kgio.docs
@@ -1,2 +1,5 @@
-# FIXME: READMEs found
-# README
+HACKING
+ISSUES
+NEWS
+README
+TODO

-- 
ruby-kgio.git



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