diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/opencl.scm | 20 | ||||
-rw-r--r-- | gnu/packages/ruby-xyz.scm | 39 |
2 files changed, 16 insertions, 43 deletions
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 40fa5981fe..114e5315cf 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -78,26 +78,6 @@ (home-page "https://registry.khronos.org/OpenCL/") (license license:asl2.0))) -(define (make-opencl-headers major-version subversion) - ;; The upstream OpenCL-Headers repository is no longer separating headers by - ;; version; instead, you are supposed to #define CL_TARGET_OPENCL_VERSION. - (deprecated-package (string-append "opencl-headers-" - major-version "." - subversion) opencl-headers)) - -(define-public opencl-headers-2.2 - (make-opencl-headers "2" "2")) -(define-public opencl-headers-2.1 - (make-opencl-headers "2" "1")) -(define-public opencl-headers-2.0 - (make-opencl-headers "2" "0")) -(define-public opencl-headers-1.2 - (make-opencl-headers "1" "2")) -(define-public opencl-headers-1.1 - (make-opencl-headers "1" "1")) -(define-public opencl-headers-1.0 - (make-opencl-headers "1" "0")) - (define-public opencl-clhpp (package (name "opencl-clhpp") diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 80bf94a365..13539b5364 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -11644,7 +11644,7 @@ part of the Prawn PDF generator.") (define-public ruby-puma (package (name "ruby-puma") - (version "6.6.0") + (version "6.6.1") (source (origin (method git-fetch) ;for tests @@ -11654,7 +11654,7 @@ part of the Prawn PDF generator.") (file-name (git-file-name name version)) (sha256 (base32 - "1pdd7s403pi4y75s1sb4jkghhmm2w9zcqifj7z7yx4z0qfs7lvzv")))) + "0wppz08pfwz1ypidjiz199i5jl2qvb9ppg0sdvf0kc7azpx5mphl")))) (build-system ruby-build-system) (arguments (list @@ -14049,37 +14049,30 @@ common interface over different adapters.") (define-public ruby-nio4r (package (name "ruby-nio4r") - (version "2.5.2") + (version "2.7.4") (source (origin - (method url-fetch) - (uri (rubygems-uri "nio4r" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/socketry/nio4r") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0gnmvbryr521r135yz5bv8354m7xn6miiapfgpg1bnwsvxz8xj6c")))) + "1planm0yrzgkjqvxbfrcp477k030f1cyplpf8g1p7dppgzk2iqqm")))) (build-system ruby-build-system) (arguments - '(#:phases + '(#:test-target "spec" + #:phases (modify-phases %standard-phases - (add-after 'unpack 'remove-unnecessary-dependencies + (add-after 'extract-gemspec 'delete-certificate (lambda _ - (substitute* "spec/spec_helper.rb" - ;; Coveralls is for uploading test coverage information to an - ;; online service, and thus unnecessary for building the Guix - ;; package - (("require \"coveralls\"") "") - (("Coveralls\\.wear!") "") - ;; Remove rspec/retry as we are not retrying the tests - (("require \"rspec/retry\"") "") - (("config\\.display_try_failure_messages = true") "") - (("config\\.verbose_retry = true") "")))) + (substitute* "nio4r.gemspec" + (("spec.cert_chain = .*") "") + (("spec.signing_key = .*") "")))) (add-before 'check 'compile (lambda _ - (invoke "rake" "compile"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "rspec"))))))) + (invoke "rake" "compile")))))) (native-inputs (list bundler ruby-rake-compiler ruby-rspec ruby-rubocop)) (synopsis "New I/O for Ruby") |