Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
dbus-client-gen


Commits:
a2ed04d1 by Jelle van der Waa at 2024-04-30T21:57:43+02:00
Use pytest instead of nose

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
 pkgbase = dbus-client-gen
        pkgdesc = A library for generating some simple classes and functions 
useful for a Python D-Bus client
        pkgver = 0.5.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://stratis-storage.github.io/
        arch = any
        license = MPL2
-       checkdepends = python-nose
+       checkdepends = python-pytest
        checkdepends = python-hypothesis
        checkdepends = python-hs-dbus-signature
        makedepends = python-pylint


=====================================
PKGBUILD
=====================================
@@ -3,20 +3,20 @@
 
 pkgname='dbus-client-gen'
 pkgver=0.5.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A library for generating some simple classes and functions useful for 
a Python D-Bus client'
 arch=('any')
 license=('MPL2')
 url='https://stratis-storage.github.io/'
 depends=('python-dbus')
 makedepends=('python-pylint' 'python-setuptools')
-checkdepends=('python-nose' 'python-hypothesis' 'python-hs-dbus-signature')
+checkdepends=('python-pytest' 'python-hypothesis' 'python-hs-dbus-signature')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${pkgname}/archive/v${pkgver}.tar.gz";)
 sha256sums=('2fd53bf85955cf9bc76f8bbbdb9968fc891401bea247b31d702a35f5a3bd8bba')
 
 check() {
   cd "${pkgname}-${pkgver}"
-  nosetests
+  PYTHONPATH=src pytest
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dbus-client-gen/-/commit/a2ed04d1a10b641294c99cc8267ec5f356b9c28f

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dbus-client-gen/-/commit/a2ed04d1a10b641294c99cc8267ec5f356b9c28f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to