From 3441d234c000cd874ee4460dfe0eea2f3be612ea Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 19 Jan 2024 12:31:03 -0500 Subject: [PATCH] user/ruby3.0-test-unit: remove for ruby3.2 --- user/ruby3.0-test-unit/APKBUILD | 56 ---------------------------- user/ruby3.0-test-unit/gemspec.patch | 15 -------- 2 files changed, 71 deletions(-) delete mode 100644 user/ruby3.0-test-unit/APKBUILD delete mode 100644 user/ruby3.0-test-unit/gemspec.patch diff --git a/user/ruby3.0-test-unit/APKBUILD b/user/ruby3.0-test-unit/APKBUILD deleted file mode 100644 index 265647a..0000000 --- a/user/ruby3.0-test-unit/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Maintainer: Antoine Martin (ayakael) -# Contributor: Antoine Martin (ayakael) -# Contributor: Jakub Jirutka - -pkgname=ruby3.0-test-unit -_gemname=test-unit -# Keep version in sync with "Bundled gems" (https://stdgems.org) for the -# packaged Ruby version. -pkgver=3.3.8 -pkgrel=1 -pkgdesc="An xUnit family unit testing framework for Ruby" -url="https://test-unit.github.io" -arch="noarch" -license="BSD-2-Clause AND Python-2.0 AND Ruby" -depends="ruby3.0 ruby3.0-power_assert" -makedepends="ruby3.0-rdoc" -subpackages="$pkgname-doc" -source="https://github.com/test-unit/test-unit/archive/$pkgver/$_gemname-$pkgver.tar.gz - gemspec.patch - " -builddir="$srcdir/$_gemname-$pkgver" - -build() { - gem build $_gemname.gemspec -} - -check() { - ruby test/run-test.rb -} - -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=" -91df9e76f49998239e72428f9373403f53773c69bd033dcaed5f6fddd40a014e5c70b2cee28f430089da19b73b96d8fe4687e88d807387ace41cf21c0ccc5a56 test-unit-3.3.8.tar.gz -97429f9cb86f7bc989c03531466f1443171ac3835a4738601fe4d52b81a408e1504a26c1ed7d84ae3e07b263600d12f89298af27626219df1d7fd0612b26e466 gemspec.patch -" diff --git a/user/ruby3.0-test-unit/gemspec.patch b/user/ruby3.0-test-unit/gemspec.patch deleted file mode 100644 index 263c7c6..0000000 --- a/user/ruby3.0-test-unit/gemspec.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/test-unit.gemspec -+++ b/test-unit.gemspec -@@ -24,11 +24,7 @@ - description = clean_white_space.call(entries[entries.index("Description") + 1]) - spec.summary, spec.description, = description.split(/\n\n+/, 3) - spec.licenses = ["Ruby", "BSDL", "PSFL"] # lib/test/unit/diff.rb is PSFL -- spec.files = ["README.md", "Rakefile"] -- spec.files += ["COPYING", "BSDL", "PSFL"] -- spec.files += Dir.glob("{lib,sample}/**/*.rb") -- spec.files += Dir.glob("doc/text/**/*.*") -- spec.test_files += Dir.glob("test/**/*") -+ spec.files += Dir.glob("lib/**/*.rb") - - spec.metadata = { - "source_code_uri" => "https://github.com/test-unit/test-unit"