pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-jekyll www/ruby-jekyll: fix build problem wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba8a42b9591f
branches:  trunk
changeset: 341287:ba8a42b9591f
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Oct 17 16:13:17 2019 +0000

description:
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.

diffstat:

 www/ruby-jekyll/Makefile                              |   6 +++---
 www/ruby-jekyll/distinfo                              |   3 ++-
 www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r 69c9dab8ea1b -r ba8a42b9591f www/ruby-jekyll/Makefile
--- a/www/ruby-jekyll/Makefile  Thu Oct 17 16:05:06 2019 +0000
+++ b/www/ruby-jekyll/Makefile  Thu Oct 17 16:13:17 2019 +0000
@@ -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@localhost
@@ -20,14 +21,13 @@
 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 -r 69c9dab8ea1b -r ba8a42b9591f www/ruby-jekyll/distinfo
--- a/www/ruby-jekyll/distinfo  Thu Oct 17 16:05:06 2019 +0000
+++ b/www/ruby-jekyll/distinfo  Thu Oct 17 16:13:17 2019 +0000
@@ -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 -r 69c9dab8ea1b -r ba8a42b9591f www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-jekyll/patches/patch-.._jekyll-4.0.0.gemspec     Thu Oct 17 16:13:17 2019 +0000
@@ -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]



Home | Main Index | Thread Index | Old Index