diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-26 19:25:39 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-26 19:26:05 +0100 |
commit | 0da910286cb5c33c5a1a9e43ebb12758c7437b83 (patch) | |
tree | cc598424411004b5b449cef41221a4c6705d268d /community/ruby-pygments | |
parent | 0152e9a82417e9f8a6aa3f4fc00910980e501688 (diff) | |
download | aports-0da910286cb5c33c5a1a9e43ebb12758c7437b83.tar.bz2 aports-0da910286cb5c33c5a1a9e43ebb12758c7437b83.tar.xz |
community/ruby-pygments: fix build with Ruby 2.5
Diffstat (limited to 'community/ruby-pygments')
-rw-r--r-- | community/ruby-pygments/APKBUILD | 6 | ||||
-rw-r--r-- | community/ruby-pygments/fix-rakefile.patch | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/community/ruby-pygments/APKBUILD b/community/ruby-pygments/APKBUILD index 09381020b3..d482d1b955 100644 --- a/community/ruby-pygments/APKBUILD +++ b/community/ruby-pygments/APKBUILD @@ -12,7 +12,8 @@ depends="python2 py2-pygments ruby ruby-json ruby-multi_json" checkdepends="ruby-test-unit" makedepends="ruby-bundler ruby-rake" source="$pkgname-$pkgver.tar.gz::https://github.com/tmm1/$_gemname/archive/v$pkgver.tar.gz - use-system-pygments-only.patch" + use-system-pygments-only.patch + fix-rakefile.patch" builddir="$srcdir/$_gemname-$pkgver" prepare() { @@ -52,4 +53,5 @@ package() { } sha512sums="370cd762cfcd14884f14bdf7e9c891507da155eb37eb0004ce31c9ea1030110d8e32642cf1a2c1eb254629a27f7f38f9a2a6c41133f13655024d2741bff6c5f4 ruby-pygments-1.2.1.tar.gz -a8e5d64d8209dacb5090378e8507095359b38ef55ac6896f5bd95fa9676691beb278d6d19eb47cbc51fac843b326b8e21fbf1dd9ed39e123ed0943293b0a82ca use-system-pygments-only.patch" +a8e5d64d8209dacb5090378e8507095359b38ef55ac6896f5bd95fa9676691beb278d6d19eb47cbc51fac843b326b8e21fbf1dd9ed39e123ed0943293b0a82ca use-system-pygments-only.patch +18174eb21397dca7213d55c1d0af5eebba25c974aa60ff7142aa045f591b23099cc4e221be87bca1c96ea61f97a45fb9714166ea858ab36b6cc04643bf88577e fix-rakefile.patch" diff --git a/community/ruby-pygments/fix-rakefile.patch b/community/ruby-pygments/fix-rakefile.patch new file mode 100644 index 0000000000..ca28885516 --- /dev/null +++ b/community/ruby-pygments/fix-rakefile.patch @@ -0,0 +1,12 @@ +Ruby 2.5+ doesn't support option -rubygems anymore. + +--- a/Rakefile ++++ b/Rakefile +@@ -18,7 +18,6 @@ + require 'rake/testtask' + Rake::TestTask.new 'test' do |t| + t.test_files = FileList['test/test_*.rb'] +- t.ruby_opts = ['-rubygems'] + end + + # ========================================================== |