[arch-commits] Commit in mat2/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 16 08:58:07 UTC 2020


    Date: Monday, November 16, 2020 @ 08:58:07
  Author: foutrelis
Revision: 755163

Fix tests with Python 3.9

Modified:
  mat2/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 08:40:14 UTC (rev 755162)
+++ PKGBUILD	2020-11-16 08:58:07 UTC (rev 755163)
@@ -16,14 +16,22 @@
 )
 checkdepends=('ffmpeg')
 source=(https://0xacab.org/jvoisin/mat2/-/archive/${pkgver}/mat2-${pkgver}.tar.gz
-        https://0xacab.org/jvoisin/mat2/uploads/0f66d648ede0b98804b50f487e9d694c/mat2-${pkgver}.tar.gz.asc)
+        https://0xacab.org/jvoisin/mat2/uploads/0f66d648ede0b98804b50f487e9d694c/mat2-${pkgver}.tar.gz.asc
+        ${pkgname}-fix-tests.patch::https://0xacab.org/jvoisin/mat2/-/commit/62ec8f6c1efc.patch)
 sha512sums=('8396a32b409b83cc4158546f92d458bc8a62e5aabd2c452402ac6185c2efdeff8794a7e1e45a8e39e9eaba31e256a303ca0be38b65fd43f11e7b07d1ea8b2f06'
-            'SKIP')
+            'SKIP'
+            '35069154432c721a73126f3c28c6c4cb78897c009c15ece7ef28ad624a8c3c98440e0a8b1cd394f35ada9c3b2bdb517a97218168d4a9f6d96fe4e4d97dd4a9ef')
 b2sums=('c55d04fe7d49e8515bc5bc3ebfad4c71ddec670e5efed9855545bc32374661bb92501fb5910a599f27d97a3089a44f983c983cb82572ab153602d38e39682164'
-        'SKIP')
+        'SKIP'
+        '3b6edf909be57d6c11747d22d5a4475952a12d6c72518950e3fa79029774b9ddb34bf8212c34df83891763699cacaaba9bf29dc73f7c8b33fd66cf675c0af27b')
 
 validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC') # Julien (jvoisin) Voisin
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../${pkgname}-fix-tests.patch
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   python setup.py build



More information about the arch-commits mailing list