summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-28 23:11:03 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-31 23:25:26 +0200
commite6f82fcd5f8d8340f7f4f5ac5e476db8caaaeef1 (patch)
tree39098b85cb6b271154757d942672285994a15d43 /tests
parentd46d1bee1ea93d8fba97d7f8cadd142c493dc3bf (diff)
downloadguix-e6f82fcd5f8d8340f7f4f5ac5e476db8caaaeef1.tar.gz
import: gem: Factorize "bundler" special case for name mapping.
* guix/import/gem.scm (ruby-package-name): Add "bundler" special case.
(gem->guix-package): Adjust accordingly.
* tests/gem.scm ("gem-recursive-import")
("gem-recursive-import with a specific version"): Remove "ruby-bundler"
from the expected packages.
Diffstat (limited to 'tests')
-rw-r--r--tests/gem.scm30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/gem.scm b/tests/gem.scm
index 6aa0d279dc..023415de7b 100644
--- a/tests/gem.scm
+++ b/tests/gem.scm
@@ -182,21 +182,6 @@
               ('home-page "https://example.com")
               ('license #f))                      ;no licensing info
             ('package
-              ('name "ruby-bundler")
-              ('version "1.14.2")
-              ('source
-               ('origin
-                 ('method 'url-fetch)
-                 ('uri ('rubygems-uri "bundler" 'version))
-                 ('sha256
-                  ('base32
-                   "1446xiz7zg0bz7kgx9jv84y0s4hpsg61dj5l3qb0i00avc1kxd9v"))))
-              ('build-system 'ruby-build-system)
-              ('synopsis "Ruby gem bundler")
-              ('description "Ruby gem bundler")
-              ('home-page "https://bundler.io/")
-              ('license 'license:expat))
-            ('package
               ('name "ruby-foo")
               ('version "1.0.0")
               ('source
@@ -249,21 +234,6 @@
               ('home-page "https://example.com")
               ('license #f))                      ;no licensing info
             ('package
-              ('name "ruby-bundler")
-              ('version "1.14.2")
-              ('source
-               ('origin
-                 ('method 'url-fetch)
-                 ('uri ('rubygems-uri "bundler" 'version))
-                 ('sha256
-                  ('base32
-                   "1446xiz7zg0bz7kgx9jv84y0s4hpsg61dj5l3qb0i00avc1kxd9v"))))
-              ('build-system 'ruby-build-system)
-              ('synopsis "Ruby gem bundler")
-              ('description "Ruby gem bundler")
-              ('home-page "https://bundler.io/")
-              ('license 'license:expat))
-            ('package
               ('name "ruby-foo")
               ('version "2.0.0")
               ('source