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

David Runge dvzrv at gemini.archlinux.org
Fri Jul 23 07:45:30 UTC 2021


    Date: Friday, July 23, 2021 @ 07:45:30
  Author: dvzrv
Revision: 984147

upgpkg: python-dbus-next 0.2.2-3: Rebuild to run tests in dbus session.

Run pytest in a dbus session, as many of the tests require it.

Modified:
  python-dbus-next/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-23 07:26:02 UTC (rev 984146)
+++ PKGBUILD	2021-07-23 07:45:30 UTC (rev 984147)
@@ -3,7 +3,7 @@
 _name=dbus_next
 pkgname=python-dbus-next
 pkgver=0.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc="The next great DBus library for Python with asyncio support"
 arch=('any')
 url="https://github.com/altdesktop/python-dbus-next"
@@ -26,22 +26,8 @@
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
 
-  # integration tests are not separate: https://github.com/altdesktop/python-dbus-next/issues/95
-  pytest -v \
-    --ignore "test/test_aio_low_level.py" \
-    --ignore "test/test_big_message.py" \
-    --ignore "test/test_disconnect.py" \
-    --ignore "test/test_request_name.py" \
-    --ignore "test/test_tcp_address.py" \
-    --ignore "test/client/test_methods.py" \
-    --ignore "test/client/test_properties.py" \
-    --ignore "test/client/test_signals.py" \
-    --ignore "test/service/test_export.py" \
-    --ignore "test/service/test_methods.py" \
-    --ignore "test/service/test_properties.py" \
-    --ignore "test/service/test_signals.py" \
-    --ignore "test/service/test_standard_interfaces.py" \
-    -k "not test_sending_file_descriptor_low_level and not test_high_level_service_fd_passing and not test_sending_file_descriptor_with_proxy"
+  # tests require a dbus session
+  dbus-run-session -- pytest -v
 }
 
 package() {




More information about the arch-commits mailing list