Skip to content
Snippets Groups Projects
Commit ca05112f authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/ruby-rdiscount: upgrade to 2.2.7

parent 3f566217
No related branches found
No related tags found
1 merge request!41495Upgrade some of my aports (2)
......@@ -2,8 +2,8 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ruby-rdiscount
_gemname=rdiscount
pkgver=2.2.0.2
pkgrel=1
pkgver=2.2.7
pkgrel=0
pkgdesc="Fast Implementation of Gruber's Markdown in C"
url="http://dafoster.net/projects/rdiscount/"
arch="all"
......@@ -11,9 +11,7 @@ license="BSD-3-Clause"
checkdepends="perl ruby-test-unit tidyhtml"
makedepends="ruby-dev ruby-rake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/davidfstr/$_gemname/archive/$pkgver.tar.gz
fix-rakefile.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/davidfstr/$_gemname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_gemname-$pkgver"
build() {
......@@ -52,6 +50,5 @@ package() {
}
sha512sums="
a2635bba5561ac4533c20010fbfe13191b0a182e6e2b3ea7da9a33abba7c26affb25ed1ff174149b528d5e83c930842972c6bc42f6d0d8623e3c0689b32528a3 ruby-rdiscount-2.2.0.2.tar.gz
eef24dd1a1bafd0efc27cb7097d5cd26d2ef0daeea2daf57f665d309352561fb79012faf3be2a1e584f735ed3b36ab6dc3fb975c78b8331a38d971b280d75eac fix-rakefile.patch
8cfce02f39de7b7a474f527a3ac1224c7678364161d3b7ac4326659d78bb29d36c49489e6b51c85f7ce74aa3a6e762a3b9d591d7806350441511baf9363e13b8 ruby-rdiscount-2.2.7.tar.gz
"
Ruby 2.5+ doesn't support option -rubygems anymore.
--- a/Rakefile
+++ b/Rakefile
@@ -53,7 +53,6 @@
require 'rake/testtask'
Rake::TestTask.new('test:unit') do |t|
t.test_files = FileList['test/*_test.rb']
- t.ruby_opts += ['-rubygems'] if defined? Gem
end
task 'test:unit' => [:build]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment