diff options
author | taca <taca@pkgsrc.org> | 2019-10-17 16:13:17 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2019-10-17 16:13:17 +0000 |
commit | 1bb78bd9b90d69bf5cdf1e8d10c886a7454a61bd (patch) | |
tree | 908d01c7537409d6006efaf77962ae6747371fe3 | |
parent | 8d31c13a29bcdddc0a5c46969ea9d1fe2c8637de (diff) | |
download | pkgsrc-1bb78bd9b90d69bf5cdf1e8d10c886a7454a61bd.tar.gz |
www/ruby-jekyll: fix build problem with ruby24
Allow lower version of rubygems to fix build problem with ruby24.
This problem reported by wiz@ via private mail.
Bump PKGREVISION.
-rw-r--r-- | www/ruby-jekyll/Makefile | 6 | ||||
-rw-r--r-- | www/ruby-jekyll/distinfo | 3 | ||||
-rw-r--r-- | www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec | 15 |
3 files changed, 20 insertions, 4 deletions
diff --git a/www/ruby-jekyll/Makefile b/www/ruby-jekyll/Makefile index e769675c34c..095c3a79d01 100644 --- a/www/ruby-jekyll/Makefile +++ b/www/ruby-jekyll/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2019/10/05 05:10:12 ryoon Exp $ +# $NetBSD: Makefile,v 1.37 2019/10/17 16:13:17 taca Exp $ DISTNAME= jekyll-4.0.0 +PKGREVISION= 1 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org @@ -20,14 +21,13 @@ DEPENDS+= ${RUBY_PKGPREFIX}-liquid>=4.0<5:../../www/ruby-liquid DEPENDS+= ${RUBY_PKGPREFIX}-mercenary>=0.3.3<0.4:../../devel/ruby-mercenary DEPENDS+= ${RUBY_PKGPREFIX}-pathutil>=0.9<1:../../devel/ruby-pathutil DEPENDS+= ${RUBY_PKGPREFIX}-rouge>=3.0<4:../../www/ruby-rouge - DEPENDS+= ${RUBY_PKGPREFIX}-safe_yaml>=1.0<2:../../textproc/ruby-safe_yaml DEPENDS+= ${RUBY_PKGPREFIX}-terminal-table>=1.8<2:../../textproc/ruby-terminal-table # below packages are not listed in gemspec DEPENDS+= ${RUBY_PKGPREFIX}-jekyll-minima>=2.5<3:../../www/ruby-jekyll-minima DEPENDS+= ${RUBY_PKGPREFIX}-jekyll-feed>=0.12<1:../../www/ruby-jekyll-feed -RUBY_VERSIONS_ACCEPTED= 24 25 26 +USE_LANGUAGES= # empty RUBYGEM_OPTIONS+= --format-executable diff --git a/www/ruby-jekyll/distinfo b/www/ruby-jekyll/distinfo index 3fefe0fe380..e1665da78fe 100644 --- a/www/ruby-jekyll/distinfo +++ b/www/ruby-jekyll/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.19 2019/10/05 05:10:12 ryoon Exp $ +$NetBSD: distinfo,v 1.20 2019/10/17 16:13:17 taca Exp $ SHA1 (jekyll-4.0.0.gem) = 52e202e75b0d8abeeab2da31e0e97765148b5603 RMD160 (jekyll-4.0.0.gem) = 855207891ecd3972f4fcc381e307ac45462fcd28 SHA512 (jekyll-4.0.0.gem) = eef8d1a5d7aa019394dff8ac5a4a6133a046afedb3605b480e6c699155274cd2a9deaff72e26984ee1dd4a5bfd6f0c81a39e468eb1566dbf57245fdbf6bc0c97 Size (jekyll-4.0.0.gem) = 119808 bytes +SHA1 (patch-.._jekyll-4.0.0.gemspec) = 6aff1a06d4e417160a7464e0f16e3834be9b813e SHA1 (patch-lib_jekyll_commands_new.rb) = 928f4542aae30671efeaa99f59d61034aa5e38a7 diff --git a/www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec b/www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec new file mode 100644 index 00000000000..3090c86cd25 --- /dev/null +++ b/www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec @@ -0,0 +1,15 @@ +$NetBSD: patch-.._jekyll-4.0.0.gemspec,v 1.1 2019/10/17 16:13:17 taca Exp $ + +Allow lower rubygems, Ruby 2.4. + +--- ../jekyll-4.0.0.gemspec.orig 2019-10-16 16:07:46.095067718 +0000 ++++ ../jekyll-4.0.0.gemspec +@@ -5,7 +5,7 @@ Gem::Specification.new do |s| + s.name = "jekyll".freeze + s.version = "4.0.0" + +- s.required_rubygems_version = Gem::Requirement.new(">= 2.7.0".freeze) if s.respond_to? :required_rubygems_version= ++ s.required_rubygems_version = Gem::Requirement.new(">= 2.6.0".freeze) if s.respond_to? :required_rubygems_version= + s.metadata = { "bug_tracker_uri" => "https://github.com/jekyll/jekyll/issues", "changelog_uri" => "https://github.com/jekyll/jekyll/releases", "homepage_uri" => "https://jekyllrb.com", "source_code_uri" => "https://github.com/jekyll/jekyll" } if s.respond_to? :metadata= + s.require_paths = ["lib".freeze] + s.authors = ["Tom Preston-Werner".freeze, "Parker Moore".freeze, "Matt Rogers".freeze] |