Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / uhttpmock
Commits:
ecf66462 by Jan Alexander Steffens (heftig) at 2024-05-22T02:27:34+02:00
0.10.0-2: Backport HTTP/2 support for msgraph tests
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = uhttpmock
pkgdesc = HTTP web service mocking project for projects which use
libsoup
pkgver = 0.10.0
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.freedesktop.org/pwithnall/uhttpmock
arch = x86_64
license = LGPL-2.1-or-later
@@ -14,7 +14,7 @@ pkgbase = uhttpmock
depends = glib2
depends = glibc
depends = libsoup3
- source =
git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#commit=38a95734050f35165dd8d222476dd0828d80cbfa
- sha256sums = SKIP
+ source =
git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#tag=0.10.0
+ b2sums =
19b3047ab71101741cf9f1ad004bc7ac2dbc7755a7aadcd75d551ef9d445ca99cf056663083e2213bd332bf02d4c45bab78172d9b8e11f67c53d44ed72f3f48c
pkgname = uhttpmock
=====================================
PKGBUILD
=====================================
@@ -1,11 +1,14 @@
# Maintainer: Fabian Bornschein <[email protected]>
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
# Contributor: Jan de Groot <[email protected]>
pkgname=uhttpmock
pkgver=0.10.0
-pkgrel=1
+pkgrel=2
pkgdesc="HTTP web service mocking project for projects which use libsoup"
url="https://gitlab.freedesktop.org/pwithnall/uhttpmock"
+arch=(x86_64)
+license=(LGPL-2.1-or-later)
depends=(
gcc-libs
glib2
@@ -19,22 +22,18 @@ makedepends=(
meson
vala
)
-license=(LGPL-2.1-or-later)
-arch=(x86_64)
-_commit=38a95734050f35165dd8d222476dd0828d80cbfa # tags/0.10.0^0
-source=("git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.freedesktop.org/pwithnall/uhttpmock.git#tag=$pkgver")
+b2sums=('19b3047ab71101741cf9f1ad004bc7ac2dbc7755a7aadcd75d551ef9d445ca99cf056663083e2213bd332bf02d4c45bab78172d9b8e11f67c53d44ed72f3f48c')
-pkgver() {
+prepare() {
cd $pkgname
- git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+
+ # HTTP/2 support - unbreak msgraph testsuite
+ git cherry-pick -n 46e86c50044e07c7427233495c0c21adfdb47891
}
build() {
- local meson_options=(
- )
-
- arch-meson $pkgname build "${meson_options[@]}"
+ arch-meson $pkgname build
meson compile -C build
}
@@ -45,3 +44,5 @@ check() {
package() {
meson install -C build --destdir "$pkgdir"
}
+
+# vim:set sw=2 sts=-1 et:
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/uhttpmock/-/commit/ecf664622b6263c6ea311bbcf572f6c99d4d2faa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/uhttpmock/-/commit/ecf664622b6263c6ea311bbcf572f6c99d4d2faa
You're receiving this email because of your account on gitlab.archlinux.org.