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


Commits:
b3f7f04d by Andreas Schleifer at 2024-10-04T00:19:24+02:00
upgpkg: 0.19.3-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ruby-protocol-http2
        pkgdesc = A low level implementation of the HTTP/2 protocol
-       pkgver = 0.15.1
-       pkgrel = 5
+       pkgver = 0.19.3
+       pkgrel = 1
        url = https://github.com/socketry/protocol-http2
        arch = any
        license = MIT
@@ -10,6 +10,7 @@ pkgbase = ruby-protocol-http2
        checkdepends = ruby-bake-test-external
        checkdepends = ruby-bundler
        checkdepends = ruby-covered
+       checkdepends = ruby-decode
        checkdepends = ruby-sus
        makedepends = git
        makedepends = ruby-rdoc
@@ -17,7 +18,7 @@ pkgbase = ruby-protocol-http2
        depends = ruby-protocol-hpack
        depends = ruby-protocol-http
        options = !emptydirs
-       source = 
git+https://github.com/socketry/protocol-http2.git#commit=d915a66bd161b39f30cce55396aba7fa1c6e4c1f
-       sha256sums = SKIP
+       source = git+https://github.com/socketry/protocol-http2.git#tag=v0.19.3
+       sha256sums = 
91f942a5f1a37368b995eff25507e0d666c4f5888578fd93e43d2e984f2f59c5
 
 pkgname = ruby-protocol-http2


=====================================
PKGBUILD
=====================================
@@ -1,9 +1,8 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=ruby-protocol-http2
-pkgver=0.15.1
-_commit=d915a66bd161b39f30cce55396aba7fa1c6e4c1f
-pkgrel=5
+pkgver=0.19.3
+pkgrel=1
 pkgdesc='A low level implementation of the HTTP/2 protocol'
 arch=(any)
 url='https://github.com/socketry/protocol-http2'
@@ -23,16 +22,25 @@ checkdepends=(
   ruby-bake-test-external
   ruby-bundler
   ruby-covered
+  ruby-decode
   ruby-sus
 )
 options=(!emptydirs)
-source=(git+https://github.com/socketry/protocol-http2.git#commit=$_commit)
-sha256sums=('SKIP')
+source=("git+${url}.git#tag=v${pkgver}")
+sha256sums=('91f942a5f1a37368b995eff25507e0d666c4f5888578fd93e43d2e984f2f59c5')
 
 prepare() {
   cd protocol-http2
-  sed -r -e 's|~>|>=|g' -e '/signing_key/d' -i protocol-http2.gemspec
-  sed -i '/bake-gem/d;/bake-github-pages/d;/utopia-project/d' gems.rb
+
+  sed -r \
+    -e 's|~>|>=|g' \
+    -e '/signing_key/d' \
+    -i protocol-http2.gemspec
+
+  sed -i \
+    -e '/bake-gem/d;/bake-github-pages/d;/utopia-project/d' \
+    -e '/rubocop/d' \
+    gems.rb
 }
 
 build() {



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

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


Reply via email to