python-dbusmock 0.32.0__tar.gz → 0.32.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.github/workflows/tests.yml +8 -0
  2. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/PKG-INFO +1 -1
  3. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/_version.py +1 -1
  4. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/packaging/python-dbusmock.spec +1 -1
  5. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/python_dbusmock.egg-info/PKG-INFO +1 -1
  6. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/run-centos +5 -2
  7. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/run-debian +6 -8
  8. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/run-fedora +5 -2
  9. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/run-ubuntu +6 -8
  10. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.fmf/version +0 -0
  11. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.github/release.eloquent.yml +0 -0
  12. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.github/workflows/pages.yml +0 -0
  13. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.github/workflows/release.yml +0 -0
  14. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.gitignore +0 -0
  15. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/.pre-commit-config.yaml +0 -0
  16. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/COPYING +0 -0
  17. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/NEWS +0 -0
  18. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/README.md +0 -0
  19. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/__init__.py +0 -0
  20. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/__main__.py +0 -0
  21. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/mockobject.py +0 -0
  22. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/pytest_fixtures.py +0 -0
  23. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/SKELETON +0 -0
  24. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/__init__.py +0 -0
  25. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/bluez5-obex.py +0 -0
  26. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/bluez5.py +0 -0
  27. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/gnome_screensaver.py +0 -0
  28. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/iio-sensors-proxy.py +0 -0
  29. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/logind.py +0 -0
  30. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/low_memory_monitor.py +0 -0
  31. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/modemmanager.py +0 -0
  32. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/networkmanager.py +0 -0
  33. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/notification_daemon.py +0 -0
  34. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/ofono.py +0 -0
  35. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/polkitd.py +0 -0
  36. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/power_profiles_daemon.py +0 -0
  37. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/systemd.py +0 -0
  38. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/timedated.py +0 -0
  39. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/upower.py +0 -0
  40. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/upower_power_profiles_daemon.py +0 -0
  41. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/templates/urfkill.py +0 -0
  42. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/dbusmock/testcase.py +0 -0
  43. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/doc/conf.py +0 -0
  44. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/doc/index.rst +0 -0
  45. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/packit.yaml +0 -0
  46. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/plans/all.fmf +0 -0
  47. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/pyproject.toml +0 -0
  48. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/python_dbusmock.egg-info/SOURCES.txt +0 -0
  49. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/python_dbusmock.egg-info/dependency_links.txt +0 -0
  50. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/python_dbusmock.egg-info/requires.txt +0 -0
  51. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/python_dbusmock.egg-info/top_level.txt +0 -0
  52. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/setup.cfg +0 -0
  53. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/setup.py +0 -0
  54. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/__init__.py +0 -0
  55. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/conftest.py +0 -0
  56. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/main.fmf +0 -0
  57. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/run +0 -0
  58. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_api.py +0 -0
  59. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_api_pytest.py +0 -0
  60. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_bluez5.py +0 -0
  61. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_cli.py +0 -0
  62. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_code.py +0 -0
  63. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_gnome_screensaver.py +0 -0
  64. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_iio_sensors_proxy.py +0 -0
  65. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_logind.py +0 -0
  66. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_low_memory_monitor.py +0 -0
  67. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_modemmanager.py +0 -0
  68. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_networkmanager.py +0 -0
  69. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_notification_daemon.py +0 -0
  70. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_ofono.py +0 -0
  71. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_polkitd.py +0 -0
  72. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_power_profiles_daemon.py +0 -0
  73. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_systemd.py +0 -0
  74. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_timedated.py +0 -0
  75. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_upower.py +0 -0
  76. {python-dbusmock-0.32.0 → python-dbusmock-0.32.1}/tests/test_urfkill.py +0 -0
@@ -28,6 +28,14 @@ jobs:
28
28
  # need this to also fetch tags
29
29
  fetch-depth: 0
30
30
 
31
+ - name: Workaround for https://github.com/actions/checkout/pull/697
32
+ run: |
33
+ set -ex
34
+ TAG=$(git describe --tags)
35
+ if echo "$TAG" | grep -q '^[0-9.]\+$'; then
36
+ git fetch --force origin $TAG:refs/tags/$TAG
37
+ fi
38
+
31
39
  - name: Run unit tests
32
40
  run: |
33
41
  dpkg -s podman docker || true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-dbusmock
3
- Version: 0.32.0
3
+ Version: 0.32.1
4
4
  Summary: Mock D-Bus objects
5
5
  Home-page: https://github.com/martinpitt/python-dbusmock
6
6
  Author: Martin Pitt
@@ -1,2 +1,2 @@
1
1
  '''auto-generated version from setuptools_scm'''
2
- __version__ = "0.32.0"
2
+ __version__ = "0.32.1"
@@ -34,7 +34,7 @@ Requires: python3-dbus, python3-gobject, dbus-x11
34
34
  %description -n python3-dbusmock %_description
35
35
 
36
36
  %prep
37
- %autosetup -n %{name}-%{version} -S git
37
+ %autosetup -n %{name}-%{version}
38
38
  rm -rf python-%{modname}.egg-info
39
39
 
40
40
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-dbusmock
3
- Version: 0.32.0
3
+ Version: 0.32.1
4
4
  Summary: Mock D-Bus objects
5
5
  Home-page: https://github.com/martinpitt/python-dbusmock
6
6
  Author: Martin Pitt
@@ -2,11 +2,14 @@
2
2
  set -eux
3
3
  # install build dependencies
4
4
  dnf -y install python3-setuptools python3 python3-gobject-base \
5
- python3-dbus python3-pytest dbus-x11 util-linux \
5
+ python3-dbus dbus-x11 util-linux \
6
6
  upower NetworkManager bluez libnotify polkit
7
7
 
8
8
  if ! grep -q :el /etc/os-release; then
9
- dnf -y install power-profiles-daemon iio-sensor-proxy
9
+ dnf -y install power-profiles-daemon iio-sensor-proxy python3-pytest
10
+ else
11
+ dnf -y install python3-pip
12
+ pip install pytest
10
13
  fi
11
14
 
12
15
  if [ "$SKIP_STATIC_CHECKS" != "1" ]; then
@@ -40,16 +40,14 @@ my_version=\$(git describe --abbrev=0)
40
40
 
41
41
  # test sdist with direct setuptools
42
42
  ./setup.py sdist
43
- tar --wildcards --strip-components=1 -xvf dist/python-dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
43
+ tar --wildcards --strip-components=1 -xvf dist/python[_-]dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
44
44
  grep "^Version: \${my_version}" PKG-INFO
45
45
  grep "^## Purpose" PKG-INFO
46
46
  git clean -ffdx
47
47
 
48
- # test sdist with PyPA build; note https://bugs.debian.org/1009916
49
- if dpkg --compare-versions \$(dpkg-query -f '\${Version}' --show python3-build) '>=' 0.7.0-3; then
50
- python3 -m build --sdist
51
- tar --wildcards --strip-components=1 -xvf dist/python_dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
52
- grep "^Version: \${my_version}" PKG-INFO
53
- grep "^## Purpose" PKG-INFO
54
- fi
48
+ # test sdist with PyPA build
49
+ python3 -m build --sdist
50
+ tar --wildcards --strip-components=1 -xvf dist/python_dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
51
+ grep "^Version: \${my_version}" PKG-INFO
52
+ grep "^## Purpose" PKG-INFO
55
53
  EOF
@@ -2,11 +2,14 @@
2
2
  set -eux
3
3
  # install build dependencies
4
4
  dnf -y install python3-setuptools python3 python3-gobject-base \
5
- python3-dbus python3-pytest dbus-x11 util-linux \
5
+ python3-dbus dbus-x11 util-linux \
6
6
  upower NetworkManager bluez libnotify polkit
7
7
 
8
8
  if ! grep -q :el /etc/os-release; then
9
- dnf -y install power-profiles-daemon iio-sensor-proxy
9
+ dnf -y install power-profiles-daemon iio-sensor-proxy python3-pytest
10
+ else
11
+ dnf -y install python3-pip
12
+ pip install pytest
10
13
  fi
11
14
 
12
15
  if [ "$SKIP_STATIC_CHECKS" != "1" ]; then
@@ -40,16 +40,14 @@ my_version=\$(git describe --abbrev=0)
40
40
 
41
41
  # test sdist with direct setuptools
42
42
  ./setup.py sdist
43
- tar --wildcards --strip-components=1 -xvf dist/python-dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
43
+ tar --wildcards --strip-components=1 -xvf dist/python[_-]dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
44
44
  grep "^Version: \${my_version}" PKG-INFO
45
45
  grep "^## Purpose" PKG-INFO
46
46
  git clean -ffdx
47
47
 
48
- # test sdist with PyPA build; note https://bugs.debian.org/1009916
49
- if dpkg --compare-versions \$(dpkg-query -f '\${Version}' --show python3-build) '>=' 0.7.0-3; then
50
- python3 -m build --sdist
51
- tar --wildcards --strip-components=1 -xvf dist/python_dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
52
- grep "^Version: \${my_version}" PKG-INFO
53
- grep "^## Purpose" PKG-INFO
54
- fi
48
+ # test sdist with PyPA build
49
+ python3 -m build --sdist
50
+ tar --wildcards --strip-components=1 -xvf dist/python_dbusmock-\${my_version}*.tar.gz '*/PKG-INFO'
51
+ grep "^Version: \${my_version}" PKG-INFO
52
+ grep "^## Purpose" PKG-INFO
55
53
  EOF
File without changes