From: Ryan Prior via Guix-patches via <guix-patches@gnu.org>
To: 41036@debbugs.gnu.org
Subject: [bug#41036] ruby: Add 2.7.3.
Date: Sat, 02 May 2020 23:25:53 +0000 [thread overview]
Message-ID: <SU9SP1GK5ozN3dN1IbeZUa5ZoKn4OaknSmtIwyUgE1fVQxqE_kwEIeDhexuNNh-12mB4SmxOy_1hI86iYDwHrvkTQ_l5UNS3FhK2XvVFL6Y=@protonmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 47 bytes --]
This patch adds Ruby 2.7.3, the latest release.
[-- Attachment #1.2: Type: text/html, Size: 334 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-ruby-2.7.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-ruby-2.7.patch", Size: 2277 bytes --]
From 0c10fb29338bc118c3fa442615aa6217960bb03b Mon Sep 17 00:00:00 2001
From: Ryan Prior <rprior@protonmail.com>
Date: Sat, 2 May 2020 18:17:00 -0500
Subject: [PATCH] gnu: Add ruby-2.7.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4d6d323442..67f344301c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -128,6 +128,48 @@ a focus on simplicity and productivity.")
(home-page "https://www.ruby-lang.org")
(license license:ruby)))
+(define-public ruby-2.7
+ (package
+ (inherit ruby)
+ (version "2.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+ (version-major+minor version)
+ "/ruby-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0674x98f542y02r7n2yv2qhmh97blqhi2mvh2dn5f000vlxlh66l"))
+ (modules '((guix build utils)))
+ (snippet `(begin
+ ;; Remove bundled libffi
+ (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+ #t))))
+ (arguments
+ `(#:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'replace-bin-sh-and-remove-libffi
+ (lambda _
+ (substitute* '("configure.ac"
+ "template/Makefile.in"
+ "lib/rubygems/installer.rb"
+ "ext/pty/pty.c"
+ "io.c"
+ "lib/mkmf.rb"
+ "process.c"
+ "test/rubygems/test_gem_ext_configure_builder.rb"
+ "test/rdoc/test_rdoc_parser.rb"
+ "test/ruby/test_rubyoptions.rb"
+ "test/ruby/test_process.rb"
+ "test/ruby/test_system.rb"
+ "tool/rbinstall.rb")
+ (("/bin/sh") (which "sh")))
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)))))
+
(define-public ruby-2.4
(package
(inherit ruby)
--
2.17.1
next reply other threads:[~2020-05-02 23:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 23:25 Ryan Prior via Guix-patches via [this message]
2020-05-02 23:34 ` [bug#41036] ruby: Add ruby-2.5 as an alias to ruby Ryan Prior via Guix-patches via
2020-05-02 23:34 ` [bug#41036] ruby: Update to 2.7.3 Ryan Prior via Guix-patches via
2020-05-07 7:47 ` Ludovic Courtès
2020-05-07 19:27 ` Ryan Prior via Guix-patches via
2020-05-12 8:10 ` Diego Nicola Barbato
2020-05-12 12:47 ` [bug#41036] [EXT] " Thompson, David
2020-05-12 17:55 ` Ryan Prior via Guix-patches via
2020-05-13 17:54 ` [bug#41036] ruby: Add 2.7.3 Christopher Baines
2020-06-17 10:03 ` Ludovic Courtès
2020-06-19 8:54 ` Christopher Baines
2020-06-21 3:02 ` [bug#41036] [PATCH 0/2] New patches to update Ruby to 2.7 Ryan Prior via Guix-patches via
2020-06-21 3:02 ` [bug#41036] [PATCH 1/2] gnu: Renames ruby to ruby-2.6 Ryan Prior via Guix-patches via
2020-06-21 3:02 ` [bug#41036] [PATCH 2/2] gnu: Ruby: Update to 2.7 Ryan Prior via Guix-patches via
2020-06-24 20:28 ` bug#41036: [PATCH 0/2] New patches to update Ruby " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='SU9SP1GK5ozN3dN1IbeZUa5ZoKn4OaknSmtIwyUgE1fVQxqE_kwEIeDhexuNNh-12mB4SmxOy_1hI86iYDwHrvkTQ_l5UNS3FhK2XvVFL6Y=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=41036@debbugs.gnu.org \
--cc=rprior@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).