Ticket #61447: patch-update-rb-ronn-ng.diff
File patch-update-rb-ronn-ng.diff, 6.8 KB (added by judaew (Vadym-Valdis Yudaiev), 4 years ago) |
---|
-
Portfile
diff -ruN orig/Portfile new/Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 3 PortSystem 1.0 4 PortGroup github 1.0 5 PortGroup ruby 1.0 6 7 ruby.branches 2.7 2.6 2.5 2.4 8 ruby.setup ronn-ng 0.9.1 fetch 9 github.setup apjanke ronn-ng 0.9.1 v 10 categories-append www devel 11 platforms darwin 12 license MIT 13 maintainers nomaintainer 14 supported_archs noarch 15 description An updated fork of ronn. Build man pages from Markdown. 16 long_description Ronn-NG is a new, currently-maintained fork of the defunct \ 17 original Ronn project. Ronn builds manuals. It converts \ 18 simple, human readable textfiles to roff for terminal \ 19 display, and also to HTML for the web. 20 homepage https://github.com/apjanke/ronn-ng 21 22 23 checksums rmd160 67dcde879fab39f84612fbddb2ebed097eb6bdc8 \ 24 sha256 41a7e9e621537654d1fd0cea5b60a0fca3c9d2a7ebddf6c7be8721612df88164 \ 25 size 68096 26 27 if {${name} ne ${subport}} { 28 depends_lib-append port:rb${ruby.suffix}-mustache \ 29 port:rb${ruby.suffix}-nokogiri \ 30 port:rb${ruby.suffix}-kramdown 31 32 patchfiles patch-relax-dependencies.diff 33 34 35 use_configure no 36 37 build.cmd ${ruby.gem} 38 build.target build 39 build.args ronn-ng.gemspec 40 41 build { 42 command_exec build 43 } 44 45 destroot.cmd ${ruby.gem} 46 destroot.target install 47 destroot.args --local --force --install-dir ${destroot}${ruby.gemdir} 48 destroot.env-append rake=${ruby.rake} 49 destroot.post_args ronn-ng-${version}.gem 50 51 destroot { 52 command_exec destroot 53 54 set binDir ${destroot}${ruby.gemdir}/bin 55 if {[file isdirectory $binDir]} { 56 foreach file [readdir $binDir] { 57 file copy [file join $binDir $file] ${destroot}${ruby.bindir} 58 } 59 } 60 } 61 } -
Portfile.orig
diff -ruN orig/Portfile.orig new/Portfile.orig
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=42 3 PortSystem 1.04 PortGroup github 1.05 PortGroup ruby 1.06 7 ruby.branches 2.7 2.6 2.5 2.48 ruby.setup ronn-ng 0.8.2 fetch9 github.setup apjanke ronn-ng 0.8.2 v10 categories-append www devel11 platforms darwin12 license MIT13 maintainers nomaintainer14 supported_archs noarch15 description An updated fork of ronn. Build man pages from Markdown.16 long_description Ronn-NG is a new, currently-maintained fork of the defunct \17 original Ronn project. Ronn builds manuals. It converts \18 simple, human readable textfiles to roff for terminal \19 display, and also to HTML for the web.20 homepage https://github.com/apjanke/ronn-ng21 22 checksums rmd160 2ba9f3985bc1c596990e0887d0ef30d396c1491a \23 sha256 de0e97051fd1b7b982b7593736827b505c1f7138b4ac520d3b02d42d7baccda8 \24 size 6715225 26 if {${name} ne ${subport}} {27 depends_lib-append port:rb${ruby.suffix}-mustache \28 port:rb${ruby.suffix}-nokogiri \29 port:rb${ruby.suffix}-rdiscount30 31 patchfiles patch-relax-dependencies.diff32 33 use_configure no34 35 build.cmd ${ruby.gem}36 build.target build37 build.args ronn-ng.gemspec38 39 build {40 command_exec build41 }42 43 destroot.cmd ${ruby.gem}44 destroot.target install45 destroot.args --local --force --install-dir ${destroot}${ruby.gemdir}46 destroot.env-append rake=${ruby.rake}47 destroot.post_args ronn-ng-${version}.gem48 49 destroot {50 command_exec destroot51 52 set binDir ${destroot}${ruby.gemdir}/bin53 if {[file isdirectory $binDir]} {54 foreach file [readdir $binDir] {55 file copy [file join $binDir $file] ${destroot}${ruby.bindir}56 }57 }58 }59 } -
files/patch-relax-dependencies.diff
diff -ruN orig/files/patch-relax-dependencies.diff new/files/patch-relax-dependencies.diff
old new 1 Description: Relax gem dependencies2 as Debian unstable has already newer version of them...3 Author: Cédric Boutillier <boutil@debian.org>4 Last-Update: 2020-11-155 Forwarded: not-needed6 7 8 --- ronn-ng.gemspec9 +++ ronn-ng.gemspec10 @@ -107,9 +107,9 @@11 s.test_files = s.files.select { |path| path =~ /^test\/.*_test.rb/ }12 13 s.extra_rdoc_files = %w[LICENSE.txt AUTHORS]14 - s.add_dependency 'kramdown', '~> 2.1'15 - s.add_dependency 'mustache', '~> 0.7', '>= 0.7.0'16 - s.add_dependency 'nokogiri', '~> 1.9', '>= 1.9.0'17 + s.add_dependency 'kramdown', '>= 2.1.0'18 + s.add_dependency 'mustache', '>= 0.7.0'19 + s.add_dependency 'nokogiri', '>= 1.9.0'20 s.add_development_dependency 'rack', '~> 2.0', '>= 2.0.6'21 s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.0'22 s.add_development_dependency 'rubocop', '~> 0.60', '>= 0.57.1' -
files/patch-relax-dependencies.diff.orig
diff -ruN orig/files/patch-relax-dependencies.diff.orig new/files/patch-relax-dependencies.diff.orig
old new 1 Description: Relax gem dependencies 2 as Debian unstable has already newer version of them... 3 Author: Cédric Boutillier <boutil@debian.org> 4 Last-Update: 2019-02-06 5 Forwarded: not-needed 6 7 8 --- ronn-ng.gemspec 9 +++ ronn-ng.gemspec 10 @@ -107,9 +107,9 @@ 11 s.test_files = s.files.select { |path| path =~ /^test\/.*_test.rb/ } 12 13 s.extra_rdoc_files = %w[LICENSE.txt AUTHORS] 14 - s.add_dependency 'mustache', '~> 0.7', '>= 0.7.0' 15 - s.add_dependency 'nokogiri', '~> 1.9', '>= 1.9.0' 16 - s.add_dependency 'rdiscount', '~> 2.0', '>= 2.0.7' 17 + s.add_dependency 'mustache', '>= 0.7.0' 18 + s.add_dependency 'nokogiri', '>= 1.9.0' 19 + s.add_dependency 'rdiscount', '>= 2.0.7' 20 s.add_development_dependency 'rack', '~> 2.0', '>= 2.0.6' 21 s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.0' 22 s.add_development_dependency 'rubocop', '~> 0.60', '>= 0.57.1'