[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/229: gnu: Add ruby-ruby2-keywords.
From: |
guix-commits |
Subject: |
96/229: gnu: Add ruby-ruby2-keywords. |
Date: |
Tue, 28 Mar 2023 22:29:07 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 5c35c65bde03da32a6203530b9456c50aa19d02c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 8 21:10:46 2023 -0500
gnu: Add ruby-ruby2-keywords.
* gnu/packages/ruby.scm (ruby-ruby2-keywords): New variable.
---
gnu/packages/ruby.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5b3e8fa4fe..210a456432 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10644,6 +10644,41 @@ more robust and work for non rails projects.")
(home-page "https://github.com/danmayer/code_statistics")
(license license:expat)))
+(define-public ruby-ruby2-keywords
+ (package
+ (name "ruby-ruby2-keywords")
+ (version "0.0.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruby/ruby2_keywords")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jhqb152zfr2yrxj6j8rzakkwdkg5viggwnnqrrfxwwy63msdi97"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-extraneous-rake-files
+ (lambda _
+ (for-each delete-file '("rakelib/changelogs.rake"
+ "rakelib/epoch.rake"
+ "rakelib/version.rake"))))
+ (add-after 'extract-gemspec 'adjust-files
+ (lambda _
+ (substitute* "ruby2_keywords.gemspec"
+ ;; This file is not present in the git checkout.
+ ((".*\"ChangeLog\",.*") "")))))))
+ (synopsis "Shim library for Module#ruby2_keywords")
+ (description "Provides empty @code{Module#ruby2_keywords} method, for the
+forward source-level compatibility against @command{ruby2.7} and
+@command{ruby3}.")
+ (home-page "https://github.com/ruby/ruby2_keywords")
+ (license license:bsd-2)))
+
(define-public ruby-rubypants
(package
(name "ruby-rubypants")
- 44/229: gnu: ruby-cucumber-core: Update to 11.1.0., (continued)
- 44/229: gnu: ruby-cucumber-core: Update to 11.1.0., guix-commits, 2023/03/28
- 56/229: gnu: ruby-activesupport: Update to 7.0.4.3., guix-commits, 2023/03/28
- 70/229: gnu: Add ruby-launchy., guix-commits, 2023/03/28
- 78/229: gnu: Add ruby-rack-cache., guix-commits, 2023/03/28
- 80/229: gnu: ruby-rack-test: Update home page., guix-commits, 2023/03/28
- 82/229: gnu: ruby-sinatra: Update to 3.0.5., guix-commits, 2023/03/28
- 85/229: gnu: Add ruby-vcr-expat., guix-commits, 2023/03/28
- 87/229: gnu: Add ruby-syntax-tree., guix-commits, 2023/03/28
- 90/229: gnu: Add ruby-concurrent-ruby., guix-commits, 2023/03/28
- 93/229: gnu: Add ruby-concurrent-ruby-edge., guix-commits, 2023/03/28
- 96/229: gnu: Add ruby-ruby2-keywords.,
guix-commits <=
- 97/229: gnu: Add ruby-faraday-net-http., guix-commits, 2023/03/28
- 99/229: gnu: ruby-octokit: Update to 6.1.0., guix-commits, 2023/03/28
- 101/229: gnu: ruby-sawyer: Update to 0.9.2., guix-commits, 2023/03/28
- 102/229: gnu: ruby-pry-byebug: Avoid depending on ruby-chandler., guix-commits, 2023/03/28
- 107/229: gnu: Add ruby-faraday-multipart., guix-commits, 2023/03/28
- 109/229: gnu: Add ruby-fileutils., guix-commits, 2023/03/28
- 111/229: gnu: ruby-bandwidth-iris: Fix indentation., guix-commits, 2023/03/28
- 112/229: gnu: ruby-bandwidth-iris: Update to 7.0.0., guix-commits, 2023/03/28
- 113/229: gnu: ruby-octokit: Enable tests., guix-commits, 2023/03/28
- 114/229: gnu: Add ruby-mapping., guix-commits, 2023/03/28