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


Commits:
8a01695f by Jelle van der Waa at 2024-05-24T18:05:28+02:00
upgpkg: 0.8.2-3: use unittest for running tests

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,10 @@
 pkgbase = python-into-dbus
        pkgdesc = Facilities for converting an object that inhabits core Python 
types, e.g., lists, ints, dicts, to an object that inhabits dbus-python types, 
e.g., dbus.Array, dbus.UInt32, dbus.Dictionary based on a specified dbus 
signature.
        pkgver = 0.8.2
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/stratis-storage/into-dbus-python
        arch = any
        license = Apache
-       checkdepends = python-nose
        checkdepends = python-hypothesis
        checkdepends = python-hs-dbus-signature
        makedepends = git


=====================================
PKGBUILD
=====================================
@@ -4,14 +4,14 @@
 pkgname='python-into-dbus'
 _srcname='into-dbus-python'
 pkgver=0.8.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Facilities for converting an object that inhabits core Python types, 
e.g., lists, ints, dicts, to an object that inhabits dbus-python types, e.g., 
dbus.Array, dbus.UInt32, dbus.Dictionary based on a specified dbus signature.'
 arch=('any')
 license=('Apache')
 url="https://github.com/stratis-storage/$_srcname";
 depends=('dbus-python' 'python-dbus-signature-pyparsing')
 makedepends=('git' 'python-pylint' 'python-setuptools')
-checkdepends=('python-nose' 'python-hypothesis' 'python-hs-dbus-signature')
+checkdepends=('python-hypothesis' 'python-hs-dbus-signature')
 source=(
   
"${_srcname}-${pkgver}.tar.gz::https://github.com/stratis-storage/${_srcname}/archive/v${pkgver}.tar.gz";
 )
@@ -19,7 +19,7 @@ 
sha256sums=('df54a6f37ccd3b3f0df7f557ad8d7bdd412152b568beccd8d71cd73d4a9343e6')
 
 check() {
   cd "${_srcname}-${pkgver}"
-  nosetests || true # test failing for now
+  PYTHONPATH=src python -m unittest discover -vs .
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-into-dbus/-/commit/8a01695f5533ae3b33f4c2dd527520f4023344dd

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-into-dbus/-/commit/8a01695f5533ae3b33f4c2dd527520f4023344dd
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to