gnu: ruby-addressable: Update to 2.8.1.
* gnu/packages/ruby.scm (ruby-addressable): Update to 2.8.1. [arguments]: Delete trailing #t. Add disable-bundler phase. [native-inputs]: Sort.master
parent
ab46c2cc0b
commit
983ff32ad5
|
@ -10644,38 +10644,40 @@ all known public suffixes.")
|
||||||
(define-public ruby-addressable
|
(define-public ruby-addressable
|
||||||
(package
|
(package
|
||||||
(name "ruby-addressable")
|
(name "ruby-addressable")
|
||||||
(version "2.7.0")
|
(version "2.8.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "addressable" version))
|
(uri (rubygems-uri "addressable" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fvchp2rhp2rmigx7qglf69xvjqvzq7x0g49naliw29r2bz656sy"))))
|
"1ypdmpdn20hxp5vwxz3zc04r5xcwqc25qszdlg41h8ghdqbllwmw"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "spec"
|
'(#:test-target "spec"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'disable-bundler
|
||||||
|
(lambda _
|
||||||
|
(substitute* "spec/spec_helper.rb"
|
||||||
|
(("require 'bundler/setup'") ""))))
|
||||||
(add-after 'unpack 'remove-unnecessary-dependencies-from-Gemfile
|
(add-after 'unpack 'remove-unnecessary-dependencies-from-Gemfile
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Gemfile"
|
(substitute* "Gemfile"
|
||||||
(("git: 'https://github.com/sporkmonger/rack-mount.git',") "")
|
(("git: 'https://github.com/sporkmonger/rack-mount.git',") "")
|
||||||
((".*launchy.*") "")
|
((".*launchy.*") "")
|
||||||
((".*rake.*") "gem 'rake'\n")
|
((".*rake.*") "gem 'rake'\n")
|
||||||
((".*redcarpet.*") ""))
|
((".*redcarpet.*") ""))))
|
||||||
#t))
|
|
||||||
(add-before 'check 'delete-network-dependent-test
|
(add-before 'check 'delete-network-dependent-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(delete-file "spec/addressable/net_http_compat_spec.rb")
|
(delete-file "spec/addressable/net_http_compat_spec.rb"))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ruby-rspec
|
(list bundler
|
||||||
bundler
|
|
||||||
ruby-idn-ruby
|
ruby-idn-ruby
|
||||||
ruby-sporkmonger-rack-mount
|
ruby-rspec
|
||||||
ruby-rspec-its-minimal
|
ruby-rspec-its-minimal
|
||||||
ruby-yard
|
ruby-simplecov
|
||||||
ruby-simplecov))
|
ruby-sporkmonger-rack-mount
|
||||||
|
ruby-yard))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ruby-public-suffix))
|
(list ruby-public-suffix))
|
||||||
(home-page "https://github.com/sporkmonger/addressable")
|
(home-page "https://github.com/sporkmonger/addressable")
|
||||||
|
|
Reference in New Issue