[DRE-commits] [ruby-raindrops] 04/06: Add patch to make gemspec work without `make' and `olddoc'

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Mon Aug 8 11:04:11 UTC 2016


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

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

commit bb2382f69af3085b93b8d0eed1f3381e59802dca
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Mon Aug 8 13:39:38 2016 +0300

    Add patch to make gemspec work without `make' and `olddoc'
---
 ...Make-gemspec-work-without-make-and-olddoc.patch | 46 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 47 insertions(+)

diff --git a/debian/patches/0003-Make-gemspec-work-without-make-and-olddoc.patch b/debian/patches/0003-Make-gemspec-work-without-make-and-olddoc.patch
new file mode 100644
index 0000000..225328e
--- /dev/null
+++ b/debian/patches/0003-Make-gemspec-work-without-make-and-olddoc.patch
@@ -0,0 +1,46 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Mon, 8 Aug 2016 13:47:06 +0300
+Subject: Make gemspec work without make and olddoc
+
+---
+ raindrops.gemspec | 19 ++++++++++---------
+ 1 file changed, 10 insertions(+), 9 deletions(-)
+
+diff --git a/raindrops.gemspec b/raindrops.gemspec
+index 356bff2..1bda002 100644
+--- a/raindrops.gemspec
++++ b/raindrops.gemspec
+@@ -1,23 +1,24 @@
+ # -*- encoding: binary -*-
+-ENV["VERSION"] or abort "VERSION= must be specified"
+ manifest = File.readlines('.manifest').map! { |x| x.chomp! }
+ test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
+-require 'olddoc'
+-extend Olddoc::Gemspec
+-name, summary, title = readme_metadata
+ 
+ Gem::Specification.new do |s|
+   s.name = %q{raindrops}
+-  s.version = ENV["VERSION"].dup
++  s.version = '0.17.0'
+ 
+   s.authors = ["raindrops hackers"]
+-  s.description = readme_description
++  s.description = <<-END
++raindrops is a real-time stats toolkit to show statistics for Rack HTTP
++servers.  It is designed for preforking servers such as unicorn, but
++should support any Rack HTTP server on platforms supporting POSIX shared
++memory.  It may also be used as a generic scoreboard for sharing atomic
++counters across multiple processes.
++  END
+   s.email = %q{raindrops at bogomips.org}
+   s.extensions = %w(ext/raindrops/extconf.rb)
+-  s.extra_rdoc_files = extra_rdoc_files(manifest)
+   s.files = manifest
+-  s.homepage = Olddoc.config['rdoc_url']
+-  s.summary = summary
++  s.homepage = 'https://bogomips.org/raindrops/'
++  s.summary = 'real-time stats for preforking Rack servers'
+   s.test_files = test_files
+   s.add_development_dependency('aggregate', '~> 0.2')
+   s.add_development_dependency('test-unit', '~> 3.0')
diff --git a/debian/patches/series b/debian/patches/series
index 46d09f3..ed01fda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Invoke-unix_listener_stats-conditionally.patch
 0002-Disable-tests-which-require-inet_diag-or-tcp_diag-ke.patch
+0003-Make-gemspec-work-without-make-and-olddoc.patch

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



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