gnu: ruby-nokogiri: Update to 1.6.7.2.

* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.6.7.2.
[arguments]: Relax 'mini_portile2' dependency.
This commit is contained in:
Ben Woodcroft 2016-05-22 08:49:41 +10:00
parent 25c288cbf1
commit 5e7f1b0b2a
1 changed files with 9 additions and 3 deletions

View File

@ -1882,13 +1882,13 @@ to reproduce user environments.")
(define-public ruby-nokogiri (define-public ruby-nokogiri
(package (package
(name "ruby-nokogiri") (name "ruby-nokogiri")
(version "1.6.7.1") (version "1.6.7.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "nokogiri" version)) (uri (rubygems-uri "nokogiri" version))
(sha256 (sha256
(base32 (base32
"12nwv3lad5k2k73aa1d1xy4x577c143ixks6rs70yp78sinbglk2")))) "11sbmpy60ynak6s3794q32lc99hs448msjy8rkp84ay7mq7zqspv"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
;; Tests fail because Nokogiri can only test with an installed extension, ;; Tests fail because Nokogiri can only test with an installed extension,
@ -1897,7 +1897,13 @@ to reproduce user environments.")
#:gem-flags (list "--" "--use-system-libraries" #:gem-flags (list "--" "--use-system-libraries"
(string-append "--with-xml2-include=" (string-append "--with-xml2-include="
(assoc-ref %build-inputs "libxml2") (assoc-ref %build-inputs "libxml2")
"/include/libxml2" )))) "/include/libxml2" ))
#:phases
(modify-phases %standard-phases
(add-after 'extract-gemspec 'update-dependency
(lambda _
(substitute* ".gemspec" (("2.0.0.rc2") "2.0"))
#t)))))
(native-inputs (native-inputs
`(("ruby-hoe" ,ruby-hoe) `(("ruby-hoe" ,ruby-hoe)
("ruby-rake-compiler" ,ruby-rake-compiler))) ("ruby-rake-compiler" ,ruby-rake-compiler)))