aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-unf_ext/gemspec.patch
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2019-05-20 17:49:05 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-21 13:38:37 +0000
commitdad002e808bbc06da294cdf0a4a279d30374b08d (patch)
tree7dbf7a8d6d90f8fef2c2d1ffbf5f9d6fe8cb3260 /testing/ruby-unf_ext/gemspec.patch
parent9b98e2e03da4d14e0fe14d97e9f93201cf9669a6 (diff)
downloadaports-dad002e808bbc06da294cdf0a4a279d30374b08d.tar.bz2
aports-dad002e808bbc06da294cdf0a4a279d30374b08d.tar.xz
testing/ruby-unf_ext: new package
Diffstat (limited to 'testing/ruby-unf_ext/gemspec.patch')
-rw-r--r--testing/ruby-unf_ext/gemspec.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ruby-unf_ext/gemspec.patch b/testing/ruby-unf_ext/gemspec.patch
new file mode 100644
index 0000000000..662f0bf092
--- /dev/null
+++ b/testing/ruby-unf_ext/gemspec.patch
@@ -0,0 +1,34 @@
+--- a/unf_ext.gemspec
++++ b/unf_ext.gemspec
+@@ -13,30 +13,6 @@
+ gem.homepage = "https://github.com/knu/ruby-unf_ext"
+ gem.licenses = ["MIT"]
+
+- gem.files = `git ls-files`.split($/)
+- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+- gem.test_files = gem.files.grep(%r{^(test|spec|features)/}).grep(%r{/test_[^/]+\.rb$})
++ gem.files = ["lib/unf_ext.rb", "lib/unf_ext/version.rb", "lib/unf_ext.so"]
+ gem.require_paths = ["lib"]
+- gem.extensions = ["ext/unf_ext/extconf.rb"]
+-
+- gem.extra_rdoc_files = [
+- "LICENSE.txt",
+- "README.md"
+- ]
+-
+- if RUBY_VERSION < "1.9"
+- gem.add_development_dependency("rake", [">= 0.9.2.2", "< 11"])
+- gem.add_development_dependency('i18n', '< 0.7.0')
+- # Cap dependency on activesupport with < 4.0 on behalf of
+- # shoulda-matchers to satisfy bundler.
+- gem.add_development_dependency("activesupport", ["< 4.0"])
+- gem.add_development_dependency("test-unit", ["= 3.1.5"])
+- else
+- gem.add_development_dependency("rake", [">= 0.9.2.2"])
+- gem.add_development_dependency("test-unit")
+- end
+- gem.add_development_dependency("rdoc", ["> 2.4.2"])
+- gem.add_development_dependency("bundler", [">= 1.2"])
+- gem.add_development_dependency("rake-compiler", [">= 0.7.9"])
+- gem.add_development_dependency("rake-compiler-dock", ["~> 0.7.0"])
+ end