From 0cc62b6d4f1786e9598dd34e4dc1290d3ff2c4e6 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 19 Jan 2024 12:30:40 -0500 Subject: [PATCH] user/ruby3.0-power_assert: remove for ruby3.2 --- user/ruby3.0-power_assert/APKBUILD | 64 ------------------------- user/ruby3.0-power_assert/gemspec.patch | 23 --------- 2 files changed, 87 deletions(-) delete mode 100644 user/ruby3.0-power_assert/APKBUILD delete mode 100644 user/ruby3.0-power_assert/gemspec.patch diff --git a/user/ruby3.0-power_assert/APKBUILD b/user/ruby3.0-power_assert/APKBUILD deleted file mode 100644 index bf81915..0000000 --- a/user/ruby3.0-power_assert/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer: Antoine Martin (ayakael) -# Contributor: Antoine Martin (ayakael) -# Contributor: Jakub Jirutka - -pkgname=ruby3.0-power_assert -_gemname=power_assert -# Keep version in sync with "Bundled gems" (https://stdgems.org) for the -# packaged Ruby version. -pkgver=1.2.0 -pkgrel=1 -pkgdesc="Debug tool for Ruby that displays intermediate results of a method chain" -url="https://github.com/ruby/power_assert" -arch="noarch" -license="BSD-2-Clause AND Ruby" -depends="ruby3.0" -checkdepends="ruby3.0-pry ruby3.0-rake ruby3.0-test-unit" -makedepends="ruby3.0-rdoc" -subpackages="$pkgname-doc" -source="https://github.com/ruby/power_assert/archive/v$pkgver/$_gemname-$pkgver.tar.gz - gemspec.patch - " -builddir="$srcdir/$_gemname-$pkgver" -# Avoid circular dependency with ruby-test-unit. -options="!check" - -prepare() { - default_prepare - sed -i '/require .bundler/d' Rakefile -} - -build() { - gem build $_gemname.gemspec -} - -check() { - rake test -} - -package() { - local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')" - - gem install \ - --local \ - --install-dir "$gemdir" \ - --ignore-dependencies \ - --document ri \ - --verbose \ - $_gemname - - # Remove unnessecary files - cd "$gemdir" - rm -rf build_info cache extensions plugins -} - -doc() { - pkgdesc="$pkgdesc (ri docs)" - - amove "$(ruby -e 'puts Gem.default_dir')"/doc -} - -sha512sums=" -2f001f6223fc3fb586c7b0457f775379040e11eb83b5bdda51c02b2b24e531aecd6e12e6ec80bf9407a768ab1a10b0a6b4c8f1a92ca69ea702faf56202bb635c power_assert-1.2.0.tar.gz -ae0ca6ad2990d01d57f95cdce11dc3004b2ace9e79b90bf9eb181bf604bed5992436cb319f923075af951b8e2d31d59f13e15af94c534885d18e033338302524 gemspec.patch -" diff --git a/user/ruby3.0-power_assert/gemspec.patch b/user/ruby3.0-power_assert/gemspec.patch deleted file mode 100644 index 81fa904..0000000 --- a/user/ruby3.0-power_assert/gemspec.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/power_assert.gemspec -+++ b/power_assert.gemspec -@@ -12,11 +12,7 @@ - s.summary = "Power Assert for Ruby" - s.description = "Power Assert for Ruby. Power Assert shows each value of variables and method calls in the expression. It is useful for testing, providing which value wasn't correct when the condition is not satisfied." - -- s.files = `git ls-files -z`.split("\x0").reject do |f| -- f.match(%r{^(test|spec|features|benchmark)/}) -- end -- s.bindir = 'exe' -- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) } -+ s.files = Dir['lib/**/*.rb'] - s.require_paths = ['lib'] - s.add_development_dependency 'test-unit' - s.add_development_dependency 'rake' -@@ -25,7 +21,6 @@ - s.add_development_dependency 'pry' - s.add_development_dependency 'byebug' - s.add_development_dependency 'benchmark-ips' -- s.extra_rdoc_files = ['README.rdoc'] - s.rdoc_options = ['--main', 'README.rdoc'] - s.licenses = ['2-clause BSDL', "Ruby's"] - end