Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages /
ruby-thor
Commits:
47fefd29 by Andreas Schleifer at 2025-03-31T21:36:55+02:00
upgpkg: 1.3.2-3: Ruby 3.4 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ruby-thor
pkgdesc = Toolkit for building powerful command-line interfaces
pkgver = 1.3.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/erikhuda/thor
arch = any
license = MIT
@@ -13,8 +13,10 @@ pkgbase = ruby-thor
depends = ruby
options = !emptydirs
source =
https://github.com/erikhuda/thor/archive/v1.3.2/ruby-thor-1.3.2.tar.gz
+ source =
https://patch-diff.githubusercontent.com/raw/rails/thor/pull/887.patch
source = tests.patch
sha512sums =
fb2aff3cf8c14f1a8b38db77579e4b27292f9578c7abf8fb892da888bee7e24412c4bdbf85ce9e43982348f72e038cacc856500268fc204e44fa61f3f9405c32
+ sha512sums =
952e68b15b853c2ee1e59a7f3d47438841e3a53144b73613a8506b8ac7e52d96ab6e45e99c4f12a9e6609c739fc1b63ca4ee43f9e45019084e57258c0ef6b4d7
sha512sums =
7e07d2561b3f7ae7400b3c4c1747f7488fa5561484b01a4f5d7297ff10e53d45158a5de5b9a5555044721f69dd600b9127a5f677eee7c6a16b8a3b5cc01f396a
pkgname = ruby-thor
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
_gemname='thor'
pkgname="ruby-${_gemname}"
pkgver=1.3.2
-pkgrel=2
+pkgrel=3
pkgdesc='Toolkit for building powerful command-line interfaces'
url='https://github.com/erikhuda/thor'
arch=('any')
@@ -13,14 +13,21 @@ depends=('ruby')
makedepends=('ruby-rdoc')
checkdepends=('ruby-bundler' 'ruby-rake' 'ruby-rspec' 'ruby-webmock')
options=('!emptydirs')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
- tests.patch)
+source=(
+ "${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ # see https://github.com/rails/thor/pull/887
+ "https://patch-diff.githubusercontent.com/raw/rails/thor/pull/887.patch"
+ tests.patch
+)
sha512sums=('fb2aff3cf8c14f1a8b38db77579e4b27292f9578c7abf8fb892da888bee7e24412c4bdbf85ce9e43982348f72e038cacc856500268fc204e44fa61f3f9405c32'
+
'952e68b15b853c2ee1e59a7f3d47438841e3a53144b73613a8506b8ac7e52d96ab6e45e99c4f12a9e6609c739fc1b63ca4ee43f9e45019084e57258c0ef6b4d7'
'7e07d2561b3f7ae7400b3c4c1747f7488fa5561484b01a4f5d7297ff10e53d45158a5de5b9a5555044721f69dd600b9127a5f677eee7c6a16b8a3b5cc01f396a')
prepare() {
cd "${_gemname}-${pkgver}"
+ patch --verbose --strip=1 --input="../887.patch"
+
# remove unused parts from tests and replace git usages
patch --verbose --strip=1 --input=../tests.patch
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-thor/-/commit/47fefd29da99b7b91f14810cb4efbc9154623f52
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-thor/-/commit/47fefd29da99b7b91f14810cb4efbc9154623f52
You're receiving this email because of your account on gitlab.archlinux.org.