pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ruby-jekyll



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Oct 16 04:17:23 UTC 2022

Modified Files:
        pkgsrc/www/ruby-jekyll: Makefile distinfo
Added Files:
        pkgsrc/www/ruby-jekyll/patches: patch-lib_jekyll_commands_serve.rb

Log Message:
www/ruby-jekyll: fix "jekyll server"

Fix "jekyll server".

* Require ruby-webrick on Ruby 3.0 and lator.
* Explicitly require webrick".

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/www/ruby-jekyll/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/ruby-jekyll/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ruby-jekyll/patches/patch-lib_jekyll_commands_serve.rb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ruby-jekyll/Makefile
diff -u pkgsrc/www/ruby-jekyll/Makefile:1.42 pkgsrc/www/ruby-jekyll/Makefile:1.43
--- pkgsrc/www/ruby-jekyll/Makefile:1.42        Thu Sep  1 14:53:14 2022
+++ pkgsrc/www/ruby-jekyll/Makefile     Sun Oct 16 04:17:23 2022
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2022/09/01 14:53:14 taca Exp $
+# $NetBSD: Makefile,v 1.43 2022/10/16 04:17:23 taca Exp $
 
 DISTNAME=      jekyll-4.2.2
+PKGREVISION=   1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -30,5 +31,11 @@ USE_LANGUAGES=       # empty
 
 RUBYGEM_OPTIONS+=      --format-executable
 
+.include "../../lang/ruby/rubyversion.mk"
+
+.if ${RUBY_VER} >= 30
+DEPENDS+=      ${RUBY_PKGPREFIX}-webrick>=1.6.0:../../www/ruby-webrick
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/ruby-jekyll/distinfo
diff -u pkgsrc/www/ruby-jekyll/distinfo:1.27 pkgsrc/www/ruby-jekyll/distinfo:1.28
--- pkgsrc/www/ruby-jekyll/distinfo:1.27        Thu Sep  1 14:53:14 2022
+++ pkgsrc/www/ruby-jekyll/distinfo     Sun Oct 16 04:17:23 2022
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.27 2022/09/01 14:53:14 taca Exp $
+$NetBSD: distinfo,v 1.28 2022/10/16 04:17:23 taca Exp $
 
 BLAKE2s (jekyll-4.2.2.gem) = 83b28534052835db7b6f0674b7a2c769eb1d9452d5c56b1d5588f9f75d0530f0
 SHA512 (jekyll-4.2.2.gem) = c49692d12905915021c5d5b18da4a808c09da04e7338995e7385ecb4b48c39e6cd019378457dc97ee5f16fdfe403e8db53ca151e181e6853f2e3adbb19ac16be
 Size (jekyll-4.2.2.gem) = 124928 bytes
 SHA1 (patch-lib_jekyll_commands_new.rb) = 5a58a44fe851fb95d03a86a9df4f5671f2b73502
+SHA1 (patch-lib_jekyll_commands_serve.rb) = ac115a7a8f85487105b62a44d0746912892dd8b5

Added files:

Index: pkgsrc/www/ruby-jekyll/patches/patch-lib_jekyll_commands_serve.rb
diff -u /dev/null pkgsrc/www/ruby-jekyll/patches/patch-lib_jekyll_commands_serve.rb:1.1
--- /dev/null   Sun Oct 16 04:17:23 2022
+++ pkgsrc/www/ruby-jekyll/patches/patch-lib_jekyll_commands_serve.rb   Sun Oct 16 04:17:23 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_jekyll_commands_serve.rb,v 1.1 2022/10/16 04:17:23 taca Exp $
+
+* "jekyll serve" require webrick.
+
+--- lib/jekyll/commands/serve.rb.orig  2022-10-16 04:11:09.565369814 +0000
++++ lib/jekyll/commands/serve.rb
+@@ -1,5 +1,7 @@
+ # frozen_string_literal: true
+ 
++require 'webrick'
++
+ module Jekyll
+   module Commands
+     class Serve < Command



Home | Main Index | Thread Index | Old Index