-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22422 from raedrizqie/ruby
ruby: update to 3.3.6
- Loading branch information
Showing
15 changed files
with
229 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
# Maintainer: Andrew Sun <[email protected]> | ||
|
||
_gemname=ruby-dbus | ||
_realname=${_gemname} | ||
_realname=ruby-dbus | ||
pkgbase=mingw-w64-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") | ||
pkgver=0.17.0 | ||
pkgver=0.23.1 | ||
pkgrel=1 | ||
pkgdesc="Ruby module for interaction with D-Bus (mingw-w64)" | ||
arch=('any') | ||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') | ||
url="https://github.com/mvidner/ruby-dbus" | ||
license=('spdx:LGPL-2.1-or-later') | ||
depends=("${MINGW_PACKAGE_PREFIX}-ruby") | ||
source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem) | ||
noextract=(${_gemname}-${pkgver}.gem) | ||
sha256sums=('7c5380a0797c6050160fd5940aba11741ac4d7050fd3ffd38be386a35643502e') | ||
source=(https://rubygems.org/downloads/${_realname}-${pkgver}.gem) | ||
noextract=(${_realname}-${pkgver}.gem) | ||
sha256sums=('f582da0a66e7a907dade9473c152194197e322e50771275853ac87b868f1c941') | ||
|
||
package() { | ||
local _gemdir="$(ruby -e'puts Gem.default_dir')" | ||
local _gemdir="$(ruby -e 'puts Gem.default_dir')" | ||
_gemdir="$(cygpath -u ${_gemdir})" | ||
|
||
${MINGW_PREFIX}/bin/gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" ${_gemname}-${pkgver}.gem | ||
gem install --ignore-dependencies --no-user-install --verbose \ | ||
-i "${pkgdir}/${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" \ | ||
"${_realname}-${pkgver}.gem" | ||
|
||
rm "${pkgdir}${_gemdir}/cache/${_gemname}-${pkgver}.gem" | ||
rm "${pkgdir}/${_gemdir}/cache/${_realname}-${pkgver}.gem" | ||
|
||
install -D -m644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" | ||
install -Dm644 "${pkgdir}/${_gemdir}/gems/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
# Maintainer: Andrew Sun <[email protected]> | ||
|
||
_gemname=native-package-installer | ||
_realname=ruby-${_gemname} | ||
pkgbase=mingw-w64-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") | ||
pkgver=1.1.5 | ||
_realname=native-package-installer | ||
pkgbase=mingw-w64-ruby-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-ruby-${_realname}") | ||
pkgver=1.1.9 | ||
pkgrel=1 | ||
pkgdesc="native-package-installer helps to install native packages on gem install (mingw-w64)" | ||
pkgdesc="A helper to install native packages on gem install (mingw-w64)" | ||
arch=('any') | ||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') | ||
url="https://github.com/ruby-gnome2/native-package-installer" | ||
license=('spdx:LGPL-3.0-or-later') | ||
depends=("${MINGW_PACKAGE_PREFIX}-ruby") | ||
source=("https://rubygems.org/downloads/${_gemname}-${pkgver}.gem") | ||
noextract=("${_gemname}-${pkgver}.gem") | ||
sha256sums=('516ebbacd7382b7e424da96eda6666d60dfad4dd407245a6ad5c1ad94e803ae4') | ||
source=("https://rubygems.org/downloads/${_realname}-${pkgver}.gem") | ||
noextract=("${_realname}-${pkgver}.gem") | ||
sha256sums=('fbb41b6b22750791a4304f0a0aeea3dd837668892117f49c4caf2e8e0f4e792f') | ||
|
||
package() { | ||
local _gemdir="$(ruby -e'puts Gem.default_dir')" | ||
local _gemdir="$(ruby -e 'puts Gem.default_dir')" | ||
_gemdir="$(cygpath -u ${_gemdir})" | ||
|
||
${MINGW_PREFIX}/bin/gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" ${_gemname}-${pkgver}.gem | ||
gem install --ignore-dependencies --no-user-install --verbose \ | ||
-i "${pkgdir}/${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" \ | ||
"${_realname}-${pkgver}.gem" | ||
|
||
rm "${pkgdir}${_gemdir}/cache/${_gemname}-${pkgver}.gem" | ||
rm "${pkgdir}/${_gemdir}/cache/${_realname}-${pkgver}.gem" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
# Maintainer: Andrew Sun <[email protected]> | ||
|
||
_gemname=pkg-config | ||
_realname=ruby-${_gemname} | ||
pkgbase=mingw-w64-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") | ||
pkgver=1.4.9 | ||
_realname=pkg-config | ||
pkgbase=mingw-w64-ruby-${_realname} | ||
pkgname=("${MINGW_PACKAGE_PREFIX}-ruby-${_realname}") | ||
pkgver=1.5.7 | ||
pkgrel=1 | ||
pkgdesc="Implementation of pkg-config in ruby (mingw-w64)" | ||
arch=('any') | ||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') | ||
url="https://github.com/ruby-gnome2/pkg-config" | ||
license=('spdx:LGPL-2.1-or-later') | ||
depends=("${MINGW_PACKAGE_PREFIX}-ruby") | ||
provides=("${MINGW_PACKAGE_PREFIX}-ruby-pkgconfig") | ||
replaces=("${MINGW_PACKAGE_PREFIX}-ruby-pkgconfig") | ||
conflicts=("${MINGW_PACKAGE_PREFIX}-ruby-pkgconfig") | ||
source=("https://rubygems.org/downloads/${_gemname}-${pkgver}.gem") | ||
noextract=("${_gemname}-${pkgver}.gem") | ||
sha256sums=('14968c3fec94a66f53a273b74478ed6372f2cf9a08bc081ba7642878ebac3b6d') | ||
source=(https://rubygems.org/downloads/${_realname}-${pkgver}.gem) | ||
noextract=(${_realname}-${pkgver}.gem) | ||
sha256sums=('713671c6af034325dc7e7c12026b02570fbb1358d9f3a023d3a001ce0159b1c7') | ||
|
||
package() { | ||
local _gemdir="$(ruby -e 'puts Gem.default_dir')" | ||
_gemdir="$(cygpath -u ${_gemdir})" | ||
|
||
${MINGW_PREFIX}/bin/gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" ${_gemname}-${pkgver}.gem | ||
gem install --ignore-dependencies --no-user-install --verbose \ | ||
-i "${pkgdir}/${_gemdir}" -n "${pkgdir}${MINGW_PREFIX}/bin" \ | ||
"${_realname}-${pkgver}.gem" | ||
|
||
rm "${pkgdir}${_gemdir}/cache/${_gemname}-${pkgver}.gem" | ||
rm "${pkgdir}/${_gemdir}/cache/${_realname}-${pkgver}.gem" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.