Tim Meusel pushed to branch main at Arch Linux / Packaging / Packages / 
ruby-httpclient


Commits:
b4bea506 by Tim Meusel at 2024-06-09T13:40:38+02:00
upgpkg: 2.8.3-10

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,22 @@
+pkgbase = ruby-httpclient
+       pkgdesc = gives something like the functionality of libwww-perl (LWP) 
in Ruby
+       pkgver = 2.8.3
+       pkgrel = 10
+       url = https://github.com/nahi/httpclient
+       arch = any
+       license = Ruby
+       checkdepends = ruby-rake
+       checkdepends = ruby-http-cookie
+       checkdepends = ruby-test-unit
+       checkdepends = ruby-rack
+       checkdepends = ruby-webrick
+       makedepends = ruby-rdoc
+       makedepends = ruby-bundler
+       depends = ruby
+       options = !emptydirs
+       source = 
https://github.com/nahi/httpclient/archive/v2.8.3/ruby-httpclient-v2.8.3.tar.gz
+       source = disable-broken-TLS-test.patch
+       sha512sums = 
b65b5adb97af069d7ff6b6f4cccd6a42c6d9c88b797e9495768fe1f36a6bd93defe50190edc201de5e39c4e306ba0bd17a8ff2f8eba4d636dacafa06c172967d
+       sha512sums = 
fcdb88f83ea1663f1f21113f7943223ffc1c69dc0f1305d74e8a96b3752f905c1bfa3727f2eb9dae9742db16d222ba5971a072b065a6c7ce535615b51fdb8712
+
+pkgname = ruby-httpclient


=====================================
PKGBUILD
=====================================
@@ -6,11 +6,11 @@
 _gemname='httpclient'
 pkgname="ruby-${_gemname}"
 pkgver=2.8.3
-pkgrel=9
+pkgrel=10
 pkgdesc='gives something like the functionality of libwww-perl (LWP) in Ruby'
 arch=('any')
 url='https://github.com/nahi/httpclient'
-license=('RUBY')
+license=('Ruby')
 makedepends=('ruby-rdoc' 'ruby-bundler')
 checkdepends=('ruby-rake' 'ruby-http-cookie' 'ruby-test-unit' 'ruby-rack' 
'ruby-webrick')
 depends=('ruby')
@@ -50,13 +50,28 @@ build() {
 
 check() {
   cd "${srcdir}/${_gemname}-${pkgver}"
-  # Ignoring a few tests that fail on Ruby 3.0.0 (taken from Fedora)
+  # Ignoring a few tests that fail on Ruby 3 (taken from Fedora)
+  # 
https://src.fedoraproject.org/rpms/rubygem-httpclient/blob/rawhide/f/rubygem-httpclient.spec
   ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)' -- \
-    --ignore-name '/^test_post_content$/' \
-    --ignore-name '/^test_put$/' \
-    --ignore-name '/^test_post_empty$/' \
-    --ignore-name '/^test_post_follow_redirect$/' \
-    --ignore-name '/^test_redirect_see_other$/'
+    --ignore-name /^test_post_async_with_default_internal$/ \
+    --ignore-name /^test_timeout$/ \
+    --ignore-name /^test_tcp_keepalive$/ \
+    --ignore-name /^test_sync$/ \
+    --ignore-name /^test_proxy_ssl$/ \
+    --ignore-name /^test_cert_store$/ \
+    --ignore-name /^test_verification_without_httpclient$/ \
+    --ignore-name /^test_verification$/ \
+    --ignore-name /^test_set_default_paths$/ \
+    --ignore-name /^test_allow_tlsv1$/ \
+    --ignore-name /^test_no_sslv3$/ \
+    --ignore-name /^test_post_connection_check$/ \
+    --ignore-name /^test_debug_dev$/ \
+    --ignore-name /^test_ciphers$/ \
+    --ignore-name /^test_redirect_see_other$/ \
+    --ignore-name /^test_post_follow_redirect$/ \
+    --ignore-name /^test_put$/ \
+    --ignore-name /^test_post_empty$/ \
+    --ignore-name /^test_post_content$/
 }
 
 package() {



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

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


Reply via email to