Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages / 
ruby-pycall


Commits:
dc6b077d by Andreas Schleifer at 2025-04-18T11:01:08+02:00
upgpkg: 1.5.2-5: Ruby 3.4 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruby-pycall
        pkgdesc = Calling Python functions from the Ruby language
        pkgver = 1.5.2
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/mrkn/pycall.rb
        arch = x86_64
        license = MIT
@@ -18,7 +18,11 @@ pkgbase = ruby-pycall
        depends = ruby
        depends = python
        options = !emptydirs
-       source = git+https://github.com/mrkn/pycall.rb.git#tag=v1.5.2
-       sha512sums = SKIP
+       source = git+https://github.com/mrkn/pycall.rb#tag=v1.5.2
+       source = 
ruby-pycall_fix_tests.patch::https://github.com/mrkn/pycall.rb/pull/191.patch
+       sha512sums = 
84396383428c2a70983436598f793fd6ec9a5f2f116b5ebd32bc7969660133bbc3018705bf1ef69d44dd02ba28d7c996cc3d308edb882e9c0759de5dc98629dc
+       sha512sums = 
882eb2b0c37065c93e18937578800ddf5ed56ef9c734ed40cfb4f428d3c0c1daef1482543cff8a8ac9590a00853ff634887c402932ee150501fedbbb38b1db5c
+       b2sums = 
823bae125b6ab9d4b0b47b7a4be0bf7cde0fe8f4741bfba32e3c2acebe09707de782712c3c96e1251e1e8eefefbd127a675605a5db514d8dc1e33c52a7917e3e
+       b2sums = 
677600734f87a83905949e93df866930084baad556a967608a8bc6d7265083105a88627610cb65dd6bd15ba34679a48c14752e1b8e44e8b423a829feef2e098c
 
 pkgname = ruby-pycall


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=ruby-pycall
 pkgver=1.5.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Calling Python functions from the Ruby language'
 arch=(x86_64)
 url='https://github.com/mrkn/pycall.rb'
@@ -27,11 +27,20 @@ checkdepends=(
   ruby-test-unit
 )
 options=(!emptydirs)
-source=("git+${url}.git#tag=v${pkgver}")
-sha512sums=('SKIP')
+source=(
+  "git+${url}#tag=v${pkgver}"
+  "${pkgname}_fix_tests.patch::${url}/pull/191.patch"
+)
+sha512sums=('84396383428c2a70983436598f793fd6ec9a5f2f116b5ebd32bc7969660133bbc3018705bf1ef69d44dd02ba28d7c996cc3d308edb882e9c0759de5dc98629dc'
+            
'882eb2b0c37065c93e18937578800ddf5ed56ef9c734ed40cfb4f428d3c0c1daef1482543cff8a8ac9590a00853ff634887c402932ee150501fedbbb38b1db5c')
+b2sums=('823bae125b6ab9d4b0b47b7a4be0bf7cde0fe8f4741bfba32e3c2acebe09707de782712c3c96e1251e1e8eefefbd127a675605a5db514d8dc1e33c52a7917e3e'
+        
'677600734f87a83905949e93df866930084baad556a967608a8bc6d7265083105a88627610cb65dd6bd15ba34679a48c14752e1b8e44e8b423a829feef2e098c')
 
 prepare() {
   cd pycall.rb
+
+  patch --verbose --strip=1 --input="../${pkgname}_fix_tests.patch"
+
   sed -r -e '/rake-compiler-dock/d' -e '/launchy/d' -i pycall.gemspec
 }
 
@@ -78,7 +87,7 @@ build() {
 check() {
   local _gemdir="$(gem env gemdir)"
   cd pycall.rb
-  GEM_HOME="tmp_install/$_gemdir" rake spec
+  RSPEC_SEED=6894 GEM_HOME="tmp_install/$_gemdir" rake spec
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-pycall/-/commit/dc6b077d64388a1e8988d4818606f6450a821507

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-pycall/-/commit/dc6b077d64388a1e8988d4818606f6450a821507
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to