Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-jsonpatch


Commits:
6fc6e2cc by Jelle van der Waa at 2024-11-08T17:35:19+01:00
upgpkg: 1.33-3: Simplify running tests with builtin unittest module

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,10 @@
 pkgbase = python-jsonpatch
        pkgdesc = An implementation of the JSON Patch format
        pkgver = 1.33
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/stefankoegl/python-json-patch
        arch = any
        license = BSD
-       checkdepends = python-coverage
        makedepends = python-setuptools
        makedepends = python-pypandoc
        depends = python-jsonpointer


=====================================
PKGBUILD
=====================================
@@ -4,14 +4,13 @@
 
 pkgname=python-jsonpatch
 pkgver=1.33
-pkgrel=2
+pkgrel=3
 pkgdesc="An implementation of the JSON Patch format"
 arch=("any")
 url="https://github.com/stefankoegl/python-json-patch";
 license=("BSD")
 depends=("python-jsonpointer")
 makedepends=("python-setuptools" "python-pypandoc")
-checkdepends=('python-coverage')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz";)
 
sha512sums=('0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2')
 
@@ -22,7 +21,7 @@ build() {
 
 check() {
   cd python-json-patch-$pkgver
-  coverage run --source=jsonpatch tests.py
+  PYTHONPATH=. python -m unittest discover -vs .
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpatch/-/commit/6fc6e2cc4a798a3c1c8e168c25bdaeaafdc5eda2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jsonpatch/-/commit/6fc6e2cc4a798a3c1c8e168c25bdaeaafdc5eda2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to