pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ruby-neocities



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Thu Jul 23 15:15:18 UTC 2026

Modified Files:
        pkgsrc/www/ruby-neocities: Makefile distinfo
Added Files:
        pkgsrc/www/ruby-neocities/patches: patch-lib_neocities_client.rb

Log Message:
www/ruby-neocities: Update to 0.2.1

Chnagelog:
Not available.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/ruby-neocities/Makefile \
    pkgsrc/www/ruby-neocities/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ruby-neocities/patches/patch-lib_neocities_client.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-neocities/Makefile
diff -u pkgsrc/www/ruby-neocities/Makefile:1.1 pkgsrc/www/ruby-neocities/Makefile:1.2
--- pkgsrc/www/ruby-neocities/Makefile:1.1      Mon Aug 11 12:00:35 2025
+++ pkgsrc/www/ruby-neocities/Makefile  Thu Jul 23 15:15:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2025/08/11 12:00:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2026/07/23 15:15:18 ryoon Exp $
 
-DISTNAME=      neocities-0.1.1
+DISTNAME=      neocities-0.2.1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,21 +8,29 @@ HOMEPAGE=     https://neocities.org/cli
 COMMENT=       Neocities.org CLI and API client
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-tty-table>=0.10:../../devel/ruby-tty-table
-DEPENDS+=      ${RUBY_PKGPREFIX}-tty-prompt>=0.12:../../devel/ruby-tty-prompt
-DEPENDS+=      ${RUBY_PKGPREFIX}-pastel>=0.7:../../devel/ruby-pastel
-DEPENDS+=      ${RUBY_PKGPREFIX}-http>=5.3:../../www/ruby-http
+DEPENDS+=      ${RUBY_PKGPREFIX}-tty-table>=0.12:../../devel/ruby-tty-table
+DEPENDS+=      ${RUBY_PKGPREFIX}-tty-prompt>=0.23:../../devel/ruby-tty-prompt
+DEPENDS+=      ${RUBY_PKGPREFIX}-pastel>=0.8:../../devel/ruby-pastel
+DEPENDS+=      ${RUBY_PKGPREFIX}-http>=5.3.1:../../www/ruby-http
+DEPENDS+=      ${RUBY_PKGPREFIX}-http-cookie>=1.0:../../www/ruby-http-cookie
 DEPENDS+=      ${RUBY_PKGPREFIX}-whirly>=0.3:../../devel/ruby-whirly
 
+.include "../../lang/ruby/rubyversion.mk"
+# for older Ruby
+.if ${RUBY_VER} < 40
+DEPENDS+=      ${RUBY_PKGPREFIX}-openssl>=3.3:../../security/ruby-openssl
+.else
+# Remove dependency to ruby-openssl
+OVERRIDE_GEMSPEC+=     openssl:
+.endif
+
 USE_LANGUAGES= # none
 
 RUBYGEM_OPTIONS+=      --format-executable
 
-OVERRIDE_GEMSPEC+=     tty-table>=0.12.0
-OVERRIDE_GEMSPEC+=     unicode-display_width>=3.1.0
-OVERRIDE_GEMSPEC+=     tty-prompt>=0.23.0
-OVERRIDE_GEMSPEC+=     pastel>=0.8.0
-OVERRIDE_GEMSPEC+=     rake>=13
+OVERRIDE_GEMSPEC+=     http>=5.3
+OVERRIDE_GEMSPEC+=     http-cookie>=1.0
+OVERRIDE_GEMSPEC+=     whirly>=0.3
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ruby-neocities/distinfo
diff -u pkgsrc/www/ruby-neocities/distinfo:1.1 pkgsrc/www/ruby-neocities/distinfo:1.2
--- pkgsrc/www/ruby-neocities/distinfo:1.1      Mon Aug 11 12:00:36 2025
+++ pkgsrc/www/ruby-neocities/distinfo  Thu Jul 23 15:15:18 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2025/08/11 12:00:36 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2026/07/23 15:15:18 ryoon Exp $
 
-BLAKE2s (neocities-0.1.1.gem) = 0be5d278e1eb38e55c268096b490fa8cd281a50b7ae838e93d8afb6ea6bdca00
-SHA512 (neocities-0.1.1.gem) = 468237439040c063fbbdc603242ffd2bba1d05b3657f4eee1460fdeac82bf9ce372458cfdecfa54355411a7c608786141e1f6cf21ad790d9af6568a9e9c075d5
-Size (neocities-0.1.1.gem) = 15872 bytes
+BLAKE2s (neocities-0.2.1.gem) = 37f135ca8083940e5b8c46957779d61d47d4a28cffd603ffdc1ee7fedaa14d52
+SHA512 (neocities-0.2.1.gem) = c4d2fc6352c3c0c3fc0afc802148acda9400d50d49f900207802c6b7a9f1d0742929a07cbdfd21a03379f0e04ae30039d7f63f3f55148ed13f517980ecd3856f
+Size (neocities-0.2.1.gem) = 15872 bytes
+SHA1 (patch-lib_neocities_client.rb) = 8472e83777703cb66067a54e631039ac0e34864a

Added files:

Index: pkgsrc/www/ruby-neocities/patches/patch-lib_neocities_client.rb
diff -u /dev/null pkgsrc/www/ruby-neocities/patches/patch-lib_neocities_client.rb:1.1
--- /dev/null   Thu Jul 23 15:15:18 2026
+++ pkgsrc/www/ruby-neocities/patches/patch-lib_neocities_client.rb     Thu Jul 23 15:15:18 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-lib_neocities_client.rb,v 1.1 2026/07/23 15:15:18 ryoon Exp $
+
+* Fix errors from delete command.
+
+--- lib/neocities/client.rb.orig       2026-06-13 18:43:16.633986300 +0000
++++ lib/neocities/client.rb
+@@ -147,8 +147,8 @@ module Neocities
+       end
+     end
+ 
+-    def delete(*paths)
+-      post 'delete', 'filenames[]' => paths
++    def delete(path)
++      post 'delete', 'filenames[]' => path
+     end
+ 
+     def info(sitename)
+@@ -168,4 +168,4 @@ module Neocities
+       JSON.parse resp.body, symbolize_names: true
+     end
+   end
+-end
+\ No newline at end of file
++end



Home | Main Index | Thread Index | Old Index