aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-11-15 15:11:12 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-11-15 15:13:30 +0100
commit9b36241f8d59922c4e339d7b065ecb77cc939987 (patch)
treec31d9ded9d32f4511c7f0ac24ca69de221b67aac
parenta7d76fa26f97de57675a50bf5dfc68cec12cf1a5 (diff)
downloadaports-9b36241f8d59922c4e339d7b065ecb77cc939987.tar.gz
aports-9b36241f8d59922c4e339d7b065ecb77cc939987.tar.bz2
aports-9b36241f8d59922c4e339d7b065ecb77cc939987.tar.xz
main/ruby-rake: upgrade to 13.0.6
-rw-r--r--main/ruby-rake/APKBUILD12
-rw-r--r--main/ruby-rake/gemspec.patch12
2 files changed, 6 insertions, 18 deletions
diff --git a/main/ruby-rake/APKBUILD b/main/ruby-rake/APKBUILD
index a9efd025b5..fca010dcd4 100644
--- a/main/ruby-rake/APKBUILD
+++ b/main/ruby-rake/APKBUILD
@@ -4,7 +4,7 @@ pkgname=ruby-rake
_gemname=rake
# Keep version in sync with "Bundled gems" (https://stdgems.org) for the
# packaged Ruby version.
-pkgver=13.0.3
+pkgver=13.0.6
pkgrel=0
pkgdesc="A Ruby task runner, inspired by make"
url="https://github.com/ruby/rake"
@@ -14,9 +14,7 @@ depends="ruby"
checkdepends="ruby-minitest"
makedepends="ruby-rdoc"
subpackages="$pkgname-doc"
-source="https://github.com/ruby/rake/archive/v$pkgver/$_gemname-$pkgver.tar.gz
- gemspec.patch
- "
+source="https://github.com/ruby/rake/archive/v$pkgver/$_gemname-$pkgver.tar.gz"
builddir="$srcdir/$_gemname-$pkgver"
build() {
@@ -44,6 +42,9 @@ package() {
# Remove unnessecary files
cd "$gemdir"
rm -rf build_info cache extensions plugins
+
+ cd gems/rake-*
+ rm -rf doc *.rdoc MIT-LICENSE
}
doc() {
@@ -53,6 +54,5 @@ doc() {
}
sha512sums="
-aff09bbfa58620cd6902e6679ae3f54d90424bfac40c7ad6efcc590a1c9624ae7a0c5597b8b05b378d90e422285c41d781485b9aebe1819c0c2eaf5f2624afa2 rake-13.0.3.tar.gz
-f96cf62c017962145e6553534c4c1e0ae678821781e52b3000ea21ea908a010fc1a25d505d1b0f7262db70b1354a790a1ef3f2f9e59bba23bd701beda69686d2 gemspec.patch
+1b438be96d8cedaf70e961b0bbd2217692b0b5537b2e1d5f599158e7da3e300cf6ab0c5f0c52fea89be0beb675effbbf563d24e55c84fb673b4982013355e03c rake-13.0.6.tar.gz
"
diff --git a/main/ruby-rake/gemspec.patch b/main/ruby-rake/gemspec.patch
deleted file mode 100644
index f661ddde53..0000000000
--- a/main/ruby-rake/gemspec.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/rake.gemspec
-+++ b/rake.gemspec
-@@ -30,8 +30,7 @@
- "source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
- }
-
-- s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.github)/}) } -
-- %w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
-+ s.files = Dir["exe/*", "lib/**/*.rb"]
- s.bindir = "exe"
- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
- s.require_paths = ["lib".freeze]