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

Felix Yan felixonmars at gemini.archlinux.org
Wed Aug 31 17:39:24 UTC 2022


    Date: Wednesday, August 31, 2022 @ 17:39:23
  Author: felixonmars
Revision: 1289194

upgpkg: python-xmlsec 1.3.13-1

Modified:
  python-xmlsec/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-31 17:34:28 UTC (rev 1289193)
+++ PKGBUILD	2022-08-31 17:39:23 UTC (rev 1289194)
@@ -1,17 +1,17 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-xmlsec
-pkgver=1.3.12
-pkgrel=3
+pkgver=1.3.13
+pkgrel=1
 pkgdesc="Python bindings for the XML Security Library"
 url="https://github.com/mehcode/python-xmlsec"
 license=('MIT')
 arch=('x86_64')
 depends=('python-lxml' 'xmlsec')
-makedepends=('python-pip' 'python-pkgconfig' 'python-setuptools-scm')
-checkdepends=('python-hypothesis' 'python-pytest-runner')
+makedepends=('python-pkgconfig' 'python-setuptools-scm' 'python-wheel')
+checkdepends=('python-hypothesis' 'python-pytest')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/mehcode/python-xmlsec/archive/$pkgver.tar.gz")
-sha512sums=('19c5e3bf58b4b0f8a1cca3e60c08348b02ae298620f8c02b8cfb325aecf0313cb2bd1af89507b754ebe4c35af3b031e232d15ddcd42deae0821c9c0d7571aa7c')
+sha512sums=('a79c8bddf4e7eef8fc1ccf7c9045b7486a05e9192481b2ce351a20c2511a1992fc91d28be8feb9ad3dd4372ba630521bdf79152001775e17813bad4af4c4e34c')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
@@ -23,7 +23,10 @@
 check() {
   cd python-xmlsec-$pkgver
   # https://github.com/mehcode/python-xmlsec/issues/84
-  python setup.py pytest || :
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" pytest \
+    --deselect 'tests/test_doc_examples.py::test_doc_example[encrypt.py]' \
+    --deselect 'tests/test_doc_examples.py::test_doc_example[sign.py]' \
+    --deselect 'tests/test_doc_examples.py::test_doc_example[verify.py]'
 }
 
 package() {



More information about the arch-commits mailing list