[arch-commits] Commit in sssd/trunk (PKGBUILD fix-py-tests.patch)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue May 25 09:23:14 UTC 2021
Date: Tuesday, May 25, 2021 @ 09:23:13
Author: mtorromeo
Revision: 945587
upgpkg: sssd 2.5.0-1
Added:
sssd/trunk/fix-py-tests.patch
Modified:
sssd/trunk/PKGBUILD
--------------------+
PKGBUILD | 10 ++++++----
fix-py-tests.patch | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-25 09:23:01 UTC (rev 945586)
+++ PKGBUILD 2021-05-25 09:23:13 UTC (rev 945587)
@@ -2,7 +2,7 @@
# Maintainer: Mantas M. <grawity at gmail.com>
pkgname=sssd
-pkgver=2.4.2
+pkgver=2.5.0
pkgrel=1
pkgdesc="System Security Services Daemon"
arch=('x86_64')
@@ -38,9 +38,11 @@
'softhsm'
)
backup=('etc/logrotate.d/sssd')
-source=("https://github.com/SSSD/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('871435cd82db38eef36988bae84a6d28220839ee16b600c3dab17523c18b295e65ff62e86c095ea67e652be661248b45720a5106e01179190ff3852b1c0e7a33'
- 'SKIP')
+source=("https://github.com/SSSD/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'fix-py-tests.patch')
+sha512sums=('80b5e81cedacdf0bbe724af20d69b918bb6cc353976c6c65421afcd5809d1723f523bc3c1be294b9e01cfda9617c2df5c6ceb007837f195eb1abc2abdab9858c'
+ 'SKIP'
+ '7570e1e67d6d23654a6be0307a1e9e0595447473f9783a70be0df7c8902833bc7f35e296b5006c6ae1e684452cd6e26d61be5e3f561b481c50d6edafaafa0698')
validpgpkeys=('E4E366758CA0716AAB8048671EC6AB7532E7BC25'
'16F24229488E736048952737BA88000FE6398272'
'1A41DC67505F89A330828B66AFFE75DDE8508E12')
Added: fix-py-tests.patch
===================================================================
--- fix-py-tests.patch (rev 0)
+++ fix-py-tests.patch 2021-05-25 09:23:13 UTC (rev 945587)
@@ -0,0 +1,39 @@
+diff --git a/src/tests/pyhbac-test.py b/src/tests/pyhbac-test.py
+index 06163afc5..a0775d452 100755
+--- a/src/tests/pyhbac-test.py
++++ b/src/tests/pyhbac-test.py
+@@ -27,7 +27,7 @@ import copy
+ import tempfile
+
+ BUILD_DIR = os.getenv('builddir') or "."
+-TEST_DIR = os.getenv('SSS_TEST_DIR') or "."
++TEST_DIR = os.path.abspath(os.getenv('SSS_TEST_DIR') or ".")
+ MODPATH = tempfile.mkdtemp(prefix="tp_pyhbac_", dir=TEST_DIR)
+
+
+diff --git a/src/tests/pysss-test.py b/src/tests/pysss-test.py
+index 30bc074ab..9ecaed9ec 100755
+--- a/src/tests/pysss-test.py
++++ b/src/tests/pysss-test.py
+@@ -26,7 +26,7 @@ import os
+ import tempfile
+
+ BUILD_DIR = os.getenv('builddir') or "."
+-TEST_DIR = os.getenv('SSS_TEST_DIR') or "."
++TEST_DIR = os.path.abspath(os.getenv('SSS_TEST_DIR') or ".")
+ MODPATH = tempfile.mkdtemp(prefix="tp_pysss_", dir=TEST_DIR)
+
+
+diff --git a/src/tests/pysss_murmur-test.py b/src/tests/pysss_murmur-test.py
+index 531f8b55f..89d5077b7 100755
+--- a/src/tests/pysss_murmur-test.py
++++ b/src/tests/pysss_murmur-test.py
+@@ -25,7 +25,7 @@ import os
+ import tempfile
+
+ BUILD_DIR = os.getenv('builddir') or "."
+-TEST_DIR = os.getenv('SSS_TEST_DIR') or "."
++TEST_DIR = os.path.abspath(os.getenv('SSS_TEST_DIR') or ".")
+ MODPATH = tempfile.mkdtemp(prefix="tp_pysss_murmur_", dir=TEST_DIR)
+
+
More information about the arch-commits
mailing list