From 8a2a28342a58546513baa0c7eef1b98654662bbe Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 9 Aug 2024 22:32:35 -0400 Subject: [PATCH] user/ruby3.2-webrick: drop due migration to ilot iports --- user/ruby3.2-webrick/APKBUILD | 58 ------------------------------ user/ruby3.2-webrick/gemspec.patch | 13 ------- 2 files changed, 71 deletions(-) delete mode 100644 user/ruby3.2-webrick/APKBUILD delete mode 100644 user/ruby3.2-webrick/gemspec.patch diff --git a/user/ruby3.2-webrick/APKBUILD b/user/ruby3.2-webrick/APKBUILD deleted file mode 100644 index a0c0b1e..0000000 --- a/user/ruby3.2-webrick/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: omni -# Maintainer: Jakub Jirutka -pkgname=ruby3.2-webrick -_gemname=webrick -pkgver=1.8.1 -pkgrel=0 -pkgdesc="HTTP server toolkit for Ruby" -url="https://github.com/ruby/webrick" -arch="noarch" -license="BSD-2-Clause" -depends="ruby3.2" -checkdepends="ruby3.2-rake ruby3.2-test-unit" -makedepends="ruby3.2-rdoc" -subpackages="$pkgname-doc" -source="https://github.com/ruby/webrick/archive/v$pkgver/ruby-webrick-$pkgver.tar.gz - gemspec.patch - " -builddir="$srcdir/$_gemname-$pkgver" - -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=" -21cb396887025f85cfe04868e7fa7ef039809ca42a3acadfe1decb4dcd02eeeb3c9163e970324b56a9e0eb6202d971370af56e200c69de2d224c1941f866400c ruby-webrick-1.8.1.tar.gz -5c657602228ba5aef4c272b75bc5d7c42855876811a49a7736bfa72b00d65a2bb550ea76ffcc2bc1e2ef9575796f5981eadd97cc92b1f3bf06c0105b8d166222 gemspec.patch -" diff --git a/user/ruby3.2-webrick/gemspec.patch b/user/ruby3.2-webrick/gemspec.patch deleted file mode 100644 index db18f02..0000000 --- a/user/ruby3.2-webrick/gemspec.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/webrick.gemspec -+++ b/webrick.gemspec -@@ -14,10 +14,6 @@ - - s.require_path = %w{lib} - s.files = [ -- "Gemfile", -- "LICENSE.txt", -- "README.md", -- "Rakefile", - "lib/webrick.rb", - "lib/webrick/accesslog.rb", - "lib/webrick/cgi.rb",