[arch-commits] Commit in nvchecker/trunk (PKGBUILD nvchecker-update-tests-4.patch)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Apr 11 02:03:12 UTC 2020
Date: Saturday, April 11, 2020 @ 02:03:11
Author: yan12125
Revision: 613294
nvchecker: fix checksum failures
Apparently GitHub changed their git diff generator :/
--- nvchecker-update-tests-4.patch 2020-04-10 19:33:43.827647681 +0800
+++ 4fc62d35888c3d695956793d5724a52ba3a99574.patch 2020-04-11 09:31:27.313519714 +0800
@@ -11,7 +11,7 @@
index 36f7222..3096394 100644
--- a/tests/test_archpkg.py
+++ b/tests/test_archpkg.py
-@@ -18,7 +18,7 @@ async def test_archpkg_provided(get_version):
+@@ -18,7 +18,7 @@
assert await get_version("jsoncpp", {
"archpkg": None,
"provided": "libjsoncpp.so",
@@ -20,7 +20,7 @@
@flaky
async def test_archpkg_provided_strip(get_version):
-@@ -26,5 +26,5 @@ async def test_archpkg_provided_strip(get_version):
+@@ -26,5 +26,5 @@
"archpkg": None,
"provided": "libjsoncpp.so",
"strip-release": True,
Added:
nvchecker/trunk/nvchecker-update-tests-4.patch
Modified:
nvchecker/trunk/PKGBUILD
--------------------------------+
PKGBUILD | 3 ++-
nvchecker-update-tests-4.patch | 29 +++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-11 00:57:54 UTC (rev 613293)
+++ PKGBUILD 2020-04-11 02:03:11 UTC (rev 613294)
@@ -18,12 +18,13 @@
'subversion: for VCS sources'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/lilydjwg/nvchecker/archive/v$pkgver.tar.gz"
- $pkgname-update-tests-4.patch::https://github.com/lilydjwg/nvchecker/commit/4fc62d35888c3d695956793d5724a52ba3a99574.patch)
+ $pkgname-update-tests-4.patch)
sha512sums=('adca20abcae1fcab2b87d166f18bc14d7e374de3041fcabd35eaaa8bc3d4b086ad16f9c94c5d242259011a0b1435a9c74e0d7959dffabf8da4eda6cf0694f5ee'
'ddf02d38b38560ee8edd8b814197e015d77425d546b4f436c42bea202f1e7514766e47bfaaec9733cb6df6d416c9a68c67baf48994045f07533e0cbc707f0b7d')
prepare() {
cd nvchecker-$pkgver
+ # From https://github.com/lilydjwg/nvchecker/commit/4fc62d35888c3d695956793d5724a52ba3a99574.patch
patch -Np1 -i ../$pkgname-update-tests-4.patch
}
Added: nvchecker-update-tests-4.patch
===================================================================
--- nvchecker-update-tests-4.patch (rev 0)
+++ nvchecker-update-tests-4.patch 2020-04-11 02:03:11 UTC (rev 613294)
@@ -0,0 +1,29 @@
+From 4fc62d35888c3d695956793d5724a52ba3a99574 Mon Sep 17 00:00:00 2001
+From: lilydjwg <lilydjwg at gmail.com>
+Date: Wed, 8 Apr 2020 18:17:32 +0800
+Subject: [PATCH] tests: update test_archpkg
+
+---
+ tests/test_archpkg.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/test_archpkg.py b/tests/test_archpkg.py
+index 36f7222..3096394 100644
+--- a/tests/test_archpkg.py
++++ b/tests/test_archpkg.py
+@@ -18,7 +18,7 @@ async def test_archpkg_provided(get_version):
+ assert await get_version("jsoncpp", {
+ "archpkg": None,
+ "provided": "libjsoncpp.so",
+- }) == "21-64"
++ }) == "22-64"
+
+ @flaky
+ async def test_archpkg_provided_strip(get_version):
+@@ -26,5 +26,5 @@ async def test_archpkg_provided_strip(get_version):
+ "archpkg": None,
+ "provided": "libjsoncpp.so",
+ "strip-release": True,
+- }) == "21"
++ }) == "22"
+
More information about the arch-commits
mailing list