extra/ruby to 3.3.5-2

This commit is contained in:
David Beauchamp 2024-10-14 12:03:14 -04:00
parent 53beb22c27
commit 289b63b643
3 changed files with 16 additions and 10 deletions

View file

@ -1,6 +1,6 @@
pkgbase = ruby pkgbase = ruby
pkgdesc = An object-oriented language for quick and easy programming pkgdesc = An object-oriented language for quick and easy programming
pkgver = 3.2.5 pkgver = 3.3.5
pkgrel = 2 pkgrel = 2
url = https://www.ruby-lang.org/en/ url = https://www.ruby-lang.org/en/
arch = x86_64 arch = x86_64
@ -22,9 +22,9 @@ pkgbase = ruby
makedepends = tk makedepends = tk
makedepends = zlib makedepends = zlib
options = !emptydirs options = !emptydirs
source = https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.5.tar.xz source = https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.tar.xz
sha512sums = 092348b84b513aec62e63ec10b326370d0e3d1fa3126c59c03c84f28e2d7741a4772c461b077ec6a7dac3964a20f434655729e1acd50a3438755d7ad64073305 sha512sums = dd5c6a7f74854e143e0ca46b9d7c0d1983fc4886f5f733cd108345dbf4b21f61ad978ad6806e05a57b7af28fd9216dd38d7145808188bbb3695a7f3a4eda3883
b2sums = a37c92a0f751e81dcae328b8944c4ecf10f6aee4f4468d6d08bb924c9808c8556c5febb71a825dd62dbcccf56385138e6e306bf3efae3589bdf0512d16d99d1a b2sums = 4fa242ceeaf0dbf0d048b3f116f149f299c1a0ccca500a47929344da523cd3c49365381777e56546fe94003ee90ccc1f2cc957697eb82cd8beb7311b0b00287c
pkgname = ruby pkgname = ruby
depends = gcc-libs depends = gcc-libs
@ -156,7 +156,6 @@ pkgname = ruby-default-gems
depends = ruby-bundler depends = ruby-bundler
depends = ruby-erb depends = ruby-erb
depends = ruby-irb depends = ruby-irb
depends = ruby-racc
depends = ruby-rdoc depends = ruby-rdoc
depends = ruby-rubygems depends = ruby-rubygems
@ -171,6 +170,7 @@ pkgname = ruby-bundled-gems
depends = ruby-net-smtp depends = ruby-net-smtp
depends = ruby-power_assert depends = ruby-power_assert
depends = ruby-prime depends = ruby-prime
depends = ruby-racc
depends = ruby-rake depends = ruby-rake
depends = ruby-rbs depends = ruby-rbs
depends = ruby-rexml depends = ruby-rexml

View file

@ -19,7 +19,7 @@ pkgname=(
ruby-bundled-gems ruby-bundled-gems
ruby-stdlib ruby-stdlib
) )
pkgver=3.2.5 pkgver=3.3.5
pkgrel=2 pkgrel=2
pkgdesc='An object-oriented language for quick and easy programming' pkgdesc='An object-oriented language for quick and easy programming'
url='https://www.ruby-lang.org/en/' url='https://www.ruby-lang.org/en/'
@ -47,8 +47,8 @@ checkdepends=(
) )
options=('!emptydirs') options=('!emptydirs')
source=("https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz") source=("https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz")
sha512sums=('092348b84b513aec62e63ec10b326370d0e3d1fa3126c59c03c84f28e2d7741a4772c461b077ec6a7dac3964a20f434655729e1acd50a3438755d7ad64073305') sha512sums=('dd5c6a7f74854e143e0ca46b9d7c0d1983fc4886f5f733cd108345dbf4b21f61ad978ad6806e05a57b7af28fd9216dd38d7145808188bbb3695a7f3a4eda3883')
b2sums=('a37c92a0f751e81dcae328b8944c4ecf10f6aee4f4468d6d08bb924c9808c8556c5febb71a825dd62dbcccf56385138e6e306bf3efae3589bdf0512d16d99d1a') b2sums=('4fa242ceeaf0dbf0d048b3f116f149f299c1a0ccca500a47929344da523cd3c49365381777e56546fe94003ee90ccc1f2cc957697eb82cd8beb7311b0b00287c')
_bootstrap=0 _bootstrap=0
_rubyver="${pkgver:0:3}.0" _rubyver="${pkgver:0:3}.0"
@ -62,6 +62,7 @@ _bundled_gems=(
net-smtp net-smtp
power_assert power_assert
prime prime
racc
rake rake
rbs rbs
rexml rexml
@ -70,6 +71,7 @@ _bundled_gems=(
typeprof typeprof
) )
_bundled_gems_bins=( _bundled_gems_bins=(
racc
rake rake
rbs rbs
rdbg rdbg
@ -147,7 +149,6 @@ _default_tool_gems=(
bundler bundler
erb erb
irb irb
racc
rdoc rdoc
rubygems rubygems
) )
@ -157,7 +158,6 @@ _default_tool_gems_bins=(
erb erb
gem gem
irb irb
racc
rdoc rdoc
ri ri
) )
@ -302,6 +302,7 @@ _remove_bundled_gems() {
done done
for bin in "${_bundled_gems_bins[@]}"; do for bin in "${_bundled_gems_bins[@]}"; do
rm --recursive --verbose "${pkgdir}/usr/bin/${bin}" rm --recursive --verbose "${pkgdir}/usr/bin/${bin}"
rm --recursive --verbose --force "${pkgdir}/usr/bin/${bin}.lock"
rm --recursive --verbose --force "${pkgdir}/usr/share/man/man1/${bin}.1" rm --recursive --verbose --force "${pkgdir}/usr/share/man/man1/${bin}.1"
done done
@ -324,6 +325,7 @@ _remove_default_tool_gems() {
done done
for bin in "${_default_tool_gems_bins[@]}"; do for bin in "${_default_tool_gems_bins[@]}"; do
rm --recursive --verbose "${pkgdir}/usr/bin/${bin}" rm --recursive --verbose "${pkgdir}/usr/bin/${bin}"
rm --recursive --verbose --force "${pkgdir}/usr/bin/${bin}.lock"
rm --recursive --verbose --force "${pkgdir}/usr/share/man/man1/${bin}.1" rm --recursive --verbose --force "${pkgdir}/usr/share/man/man1/${bin}.1"
done done
} }

View file

@ -31,7 +31,9 @@ Build the following packages in the given order:
- ruby-rake - ruby-rake
- ruby-hoe - ruby-hoe
- ruby-kpeg - ruby-kpeg
- ruby-test-unit-ruby-core
- ruby-rdoc - ruby-rdoc
- ruby-tracer
- ruby-irb - ruby-irb
- ruby-power_assert `--nocheck` - ruby-power_assert `--nocheck`
- ruby-test-unit - ruby-test-unit
@ -76,6 +78,8 @@ Build the following packages in the given order:
- ruby-racc - ruby-racc
- ruby-rdoc - ruby-rdoc
- ruby-typeprof - ruby-typeprof
- ruby-test-unit-ruby-core
- ruby-tracer
### rebuild all packages ### rebuild all packages