pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-tilt Stop patching gemspec file and use ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9fd21565395
branches:  trunk
changeset: 355047:c9fd21565395
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 19 15:40:08 2016 +0000

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

diffstat:

 textproc/ruby-tilt/Makefile                            |   3 +-
 textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec |  30 ------------------
 2 files changed, 2 insertions(+), 31 deletions(-)

diffs (51 lines):

diff -r 547df105db65 -r c9fd21565395 textproc/ruby-tilt/Makefile
--- a/textproc/ruby-tilt/Makefile       Sat Nov 19 15:36:34 2016 +0000
+++ b/textproc/ruby-tilt/Makefile       Sat Nov 19 15:40:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2015/03/14 07:54:52 taca Exp $
+# $NetBSD: Makefile,v 1.11 2016/11/19 15:40:08 taca Exp $
 
 DISTNAME=      tilt-1.4.1
 PKGREVISION=   1
@@ -10,6 +10,7 @@
 LICENSE=       mit
 
 RUBYGEM_OPTIONS+=      --format-executable
+OVERRIDE_GEMSPEC+=     rdoc:
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 547df105db65 -r c9fd21565395 textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec
--- a/textproc/ruby-tilt/patches/patch-.._tilt-1.4.1.gemspec    Sat Nov 19 15:36:34 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-.._tilt-1.4.1.gemspec,v 1.1 2015/05/19 12:31:26 ryoon Exp $
-
-* Fix build with Ruby 2.2.
-
---- ../tilt-1.4.1.gemspec.orig 2015-05-19 12:24:21.000000000 +0000
-+++ ../tilt-1.4.1.gemspec
-@@ -46,7 +46,6 @@ Gem::Specification.new do |s|
-       s.add_development_dependency(%q<sass>, [">= 0"])
-       s.add_development_dependency(%q<wikicloth>, [">= 0"])
-       s.add_development_dependency(%q<yajl-ruby>, [">= 0"])
--      s.add_development_dependency(%q<rdoc>, [">= 0"])
-     else
-       s.add_dependency(%q<asciidoctor>, [">= 0.1.0"])
-       s.add_dependency(%q<RedCloth>, [">= 0"])
-@@ -70,7 +69,6 @@ Gem::Specification.new do |s|
-       s.add_dependency(%q<sass>, [">= 0"])
-       s.add_dependency(%q<wikicloth>, [">= 0"])
-       s.add_dependency(%q<yajl-ruby>, [">= 0"])
--      s.add_dependency(%q<rdoc>, [">= 0"])
-     end
-   else
-     s.add_dependency(%q<asciidoctor>, [">= 0.1.0"])
-@@ -95,7 +93,6 @@ Gem::Specification.new do |s|
-     s.add_dependency(%q<sass>, [">= 0"])
-     s.add_dependency(%q<wikicloth>, [">= 0"])
-     s.add_dependency(%q<yajl-ruby>, [">= 0"])
--    s.add_dependency(%q<rdoc>, [">= 0"])
-   end
- end
- 



Home | Main Index | Thread Index | Old Index