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


Commits:
a8b7ef51 by Andreas Schleifer at 2024-10-04T00:26:54+02:00
upgpkg: 0.27.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruby-protocol-http1
        pkgdesc = A low level implementation of the HTTP/1 protocol
-       pkgver = 0.15.0
-       pkgrel = 5
+       pkgver = 0.27.0
+       pkgrel = 1
        url = https://github.com/socketry/protocol-http1
        arch = any
        license = MIT
@@ -10,14 +10,13 @@ pkgbase = ruby-protocol-http1
        checkdepends = ruby-bake-test-external
        checkdepends = ruby-bundler
        checkdepends = ruby-covered
+       checkdepends = ruby-decode
        checkdepends = ruby-sus
        makedepends = ruby-rdoc
        depends = ruby
        depends = ruby-protocol-http
        options = !emptydirs
-       source = 
https://github.com/socketry/protocol-http1/archive/v0.15.0/ruby-protocol-http1-0.15.0.tar.gz
-       source = 
ruby-protocol-http1-test-dependencies.patch::https://github.com/socketry/protocol-http1/pull/15.patch
-       sha256sums = 
cdb044d2fb8daa9bd85f65fb209aec09e032804cf211d7d2257c1d423e152751
-       sha256sums = 
01aff72318d4ab71c699585b8ddc814587f4d9ed0834dc10ca470dfc989e5702
+       source = 
https://github.com/socketry/protocol-http1/archive/v0.27.0/ruby-protocol-http1-0.27.0.tar.gz
+       sha256sums = 
34816894910078e10f87bb579e0bc23f9e36cee06809366054490fe1f268ff5a
 
 pkgname = ruby-protocol-http1


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=ruby-protocol-http1
-pkgver=0.15.0
-pkgrel=5
+pkgver=0.27.0
+pkgrel=1
 pkgdesc='A low level implementation of the HTTP/1 protocol'
 arch=(any)
 url='https://github.com/socketry/protocol-http1'
@@ -20,19 +20,25 @@ checkdepends=(
   ruby-bake-test-external
   ruby-bundler
   ruby-covered
+  ruby-decode
   ruby-sus
 )
 options=(!emptydirs)
-source=(https://github.com/socketry/protocol-http1/archive/v$pkgver/$pkgname-$pkgver.tar.gz
-        
$pkgname-test-dependencies.patch::https://github.com/socketry/protocol-http1/pull/15.patch)
-sha256sums=('cdb044d2fb8daa9bd85f65fb209aec09e032804cf211d7d2257c1d423e152751'
-            '01aff72318d4ab71c699585b8ddc814587f4d9ed0834dc10ca470dfc989e5702')
+source=(https://github.com/socketry/protocol-http1/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('34816894910078e10f87bb579e0bc23f9e36cee06809366054490fe1f268ff5a')
 
 prepare() {
   cd protocol-http1-$pkgver
-  patch -p1 -i ../$pkgname-test-dependencies.patch
-  sed -r -e 's|~>|>=|g' -e '/signing_key/d' -i protocol-http1.gemspec
-  sed -i '/bake-gem/d;/bake-github-pages/d;/utopia-project/d;s/gem 
"stringio".*$/gem "stringio"/' gems.rb
+
+  sed -r \
+    -e 's|~>|>=|g' \
+    -e '/signing_key/d' \
+    -i protocol-http1.gemspec
+
+  sed -i \
+    -e '/bake-gem/d;/bake-github-pages/d;/utopia-project/d;s/gem 
"stringio".*$/gem "stringio"/' \
+    -e '/rubocop/d' \
+    gems.rb
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-protocol-http1/-/commit/a8b7ef513db2df30d244b8c36aec81657e87cc78

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


Reply via email to