pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-journey Stop patching gemspec file and use OV...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab44b514d344
branches:  trunk
changeset: 355038:ab44b514d344
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 19 14:47:22 2016 +0000

description:
Stop patching gemspec file and use OVERRIDE_GEMSPEC with updated
update-gemspec.rb script.

diffstat:

 www/ruby-journey/Makefile                               |   4 +-
 www/ruby-journey/distinfo                               |   3 +-
 www/ruby-journey/patches/patch-.._journey-1.0.4.gemspec |  29 -----------------
 3 files changed, 3 insertions(+), 33 deletions(-)

diffs (63 lines):

diff -r 6534510fe09f -r ab44b514d344 www/ruby-journey/Makefile
--- a/www/ruby-journey/Makefile Sat Nov 19 14:38:03 2016 +0000
+++ b/www/ruby-journey/Makefile Sat Nov 19 14:47:22 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/03/26 13:44:34 taca Exp $
+# $NetBSD: Makefile,v 1.4 2016/11/19 14:47:22 taca Exp $
 
 DISTNAME=      journey-1.0.4
 CATEGORIES=    www
@@ -8,7 +8,7 @@
 COMMENT=       Journey is a router
 LICENSE=       mit
 
-RUBY_RDOC_REQD=        3.11
+OVERRIDE_GEMSPEC+=     rdoc:
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6534510fe09f -r ab44b514d344 www/ruby-journey/distinfo
--- a/www/ruby-journey/distinfo Sat Nov 19 14:38:03 2016 +0000
+++ b/www/ruby-journey/distinfo Sat Nov 19 14:47:22 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:47:35 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/11/19 14:47:22 taca Exp $
 
 SHA1 (journey-1.0.4.gem) = d1fda8327c22e0923020f838a89b93beeb8465e1
 RMD160 (journey-1.0.4.gem) = 28fc04068001dbb7efb9a63dde128e53488e68be
 SHA512 (journey-1.0.4.gem) = 9e6a06da8b77f6efb9941c58f53254e8cf3a1ebb6f8261a66ef3fed9c21ff4e4a90567fee88507b8e2c1fecc0fbdf204a9d3c8473b671bbb4b8c6b9faa6f2a07
 Size (journey-1.0.4.gem) = 28672 bytes
-SHA1 (patch-.._journey-1.0.4.gemspec) = f6ad965152f5ac9b2bf1ce02ddaba9b4d3317bbe
diff -r 6534510fe09f -r ab44b514d344 www/ruby-journey/patches/patch-.._journey-1.0.4.gemspec
--- a/www/ruby-journey/patches/patch-.._journey-1.0.4.gemspec   Sat Nov 19 14:38:03 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-.._journey-1.0.4.gemspec,v 1.1 2015/05/19 12:30:27 ryoon Exp $
-
-* Fix build with Ruby 2.2.
-
---- ../journey-1.0.4.gemspec.orig      2015-05-19 12:15:28.000000000 +0000
-+++ ../journey-1.0.4.gemspec
-@@ -28,14 +28,12 @@ Gem::Specification.new do |s|
-       s.add_development_dependency(%q<racc>, [">= 1.4.6"])
-       s.add_development_dependency(%q<rdoc>, ["~> 3.11"])
-       s.add_development_dependency(%q<json>, [">= 0"])
--      s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
-       s.add_development_dependency(%q<hoe>, ["~> 2.13"])
-     else
-       s.add_dependency(%q<minitest>, ["~> 2.11"])
-       s.add_dependency(%q<racc>, [">= 1.4.6"])
-       s.add_dependency(%q<rdoc>, ["~> 3.11"])
-       s.add_dependency(%q<json>, [">= 0"])
--      s.add_dependency(%q<rdoc>, ["~> 3.10"])
-       s.add_dependency(%q<hoe>, ["~> 2.13"])
-     end
-   else
-@@ -43,7 +41,6 @@ Gem::Specification.new do |s|
-     s.add_dependency(%q<racc>, [">= 1.4.6"])
-     s.add_dependency(%q<rdoc>, ["~> 3.11"])
-     s.add_dependency(%q<json>, [">= 0"])
--    s.add_dependency(%q<rdoc>, ["~> 3.10"])
-     s.add_dependency(%q<hoe>, ["~> 2.13"])
-   end
- end



Home | Main Index | Thread Index | Old Index