diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:48:31 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-18 11:54:03 +0100 |
commit | 772f164914ee311367dd29949089c1266408133c (patch) | |
tree | 542a0ef2e43db0e09395e1d9c564c7ec24836e24 /gnu/packages/patches | |
parent | a604be516293b307616a726f600e56fa232cfa45 (diff) | |
download | guix-772f164914ee311367dd29949089c1266408133c.tar guix-772f164914ee311367dd29949089c1266408133c.tar.gz |
gnu: Add ruby-therubyracer.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/ruby-therubyracer-fix-gemspec.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-therubyracer-fix-gemspec.patch b/gnu/packages/patches/ruby-therubyracer-fix-gemspec.patch new file mode 100644 index 0000000000..83787192d2 --- /dev/null +++ b/gnu/packages/patches/ruby-therubyracer-fix-gemspec.patch @@ -0,0 +1,16 @@ +diff --git a/therubyracer.gemspec b/therubyracer.gemspec +index 5a6ace7..95e2a27 100644 +--- a/therubyracer.gemspec ++++ b/therubyracer.gemspec +@@ -8,9 +8,8 @@ Gem::Specification.new do |gem| + gem.description = "Call JavaScript code and manipulate JavaScript objects from Ruby. Call Ruby code and manipulate Ruby objects from JavaScript." + gem.homepage = "http://github.com/cowboyd/therubyracer" + +- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } +- gem.files = `git ls-files`.split("\n") +- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") ++ gem.files = `find . -type f |sort`.split("\n") ++ gem.test_files = `find spec -type f |sort`.split("\n") + gem.name = "therubyracer" + gem.extensions = ["ext/v8/extconf.rb"] + gem.require_paths = ["lib", "ext"] |