aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-rmagick/gemspec.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-03-28 19:44:26 +0100
committerAndy Postnikov <apostnikov@gmail.com>2019-04-05 00:42:49 +0300
commitc81b4acc699bdcad9ed8407ad40e176fb4b195bc (patch)
tree33b20972a8efc4ae32b2c20456d20b3f338960b2 /community/ruby-rmagick/gemspec.patch
parent7265f5c68465fbf270b08e5b5afab0c89bebdcff (diff)
downloadaports-c81b4acc699bdcad9ed8407ad40e176fb4b195bc.tar.bz2
aports-c81b4acc699bdcad9ed8407ad40e176fb4b195bc.tar.xz
community/ruby-rmagick: upgrade to 3.0.0
Diffstat (limited to 'community/ruby-rmagick/gemspec.patch')
-rw-r--r--community/ruby-rmagick/gemspec.patch47
1 files changed, 2 insertions, 45 deletions
diff --git a/community/ruby-rmagick/gemspec.patch b/community/ruby-rmagick/gemspec.patch
index a282a3076f..aac5d69f83 100644
--- a/community/ruby-rmagick/gemspec.patch
+++ b/community/ruby-rmagick/gemspec.patch
@@ -1,54 +1,11 @@
--- a/rmagick.gemspec
+++ b/rmagick.gemspec
-@@ -2,13 +2,6 @@
- require 'English'
- require './lib/rmagick/version'
-
--def v(version)
-- Gem::Version.new(version)
--end
--
--RUBY = v(RUBY_VERSION.dup)
--RUBYGEMS = v(Gem::VERSION.dup)
--
- Gem::Specification.new do |s|
- s.name = 'rmagick'
- s.version = Magick::VERSION
-@@ -20,7 +13,7 @@
+@@ -13,7 +13,7 @@
s.homepage = 'https://github.com/rmagick/rmagick'
s.license = 'MIT'
- tracked_files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
+ tracked_files = Dir['deprecated/*', 'ext/**/*', 'lib/**/*', '*.gemspec']
file_exclusion_regex = %r{(\Alib/rvg/to_c.rb)}
- files = tracked_files.reject{|file| file[file_exclusion_regex] }
+ files = tracked_files.reject { |file| file[file_exclusion_regex] }
test_files = files.grep(%r{^(test|spec|features)/})
-@@ -38,26 +31,6 @@
- s.requirements << "ImageMagick #{Magick::MIN_IM_VERSION} or later"
-
- s.add_development_dependency 'rspec', '~> 3.2.0'
--
-- if RUBY < v('1.9.0')
-- s.add_development_dependency 'rake', '~> 10.0'
-- end
--
-- if RUBY < v('2.0.0')
-- s.add_development_dependency 'json', '~> 1.0'
-- end
--
-- if RUBY >= v('1.9.2')
-- s.add_development_dependency 'rubocop', '~> 0.33.0'
-- end
--
-- if RUBY >= v('2.2.0')
-- s.add_development_dependency 'test-unit', '~> 2'
-- end
--
-- if RUBYGEMS < v('1.8.25')
-- s.add_development_dependency 'rake-compiler', '~> 0.8.0'
-- else
-- s.add_development_dependency 'rake-compiler'
-- end
-+ s.add_development_dependency 'test-unit', '~> 2'
-+ s.add_development_dependency 'rake-compiler'
- end