Пакет python3-module-dbusmock: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | %define modname dbusmock %define pypi_name python-%modname %def_enable check Name: python3-module-dbusmock Version: 0.30.2 Release: alt1 Summary: mock D-Bus objects for tests License: LGPL-3.0-or-later Group: Development/Python3 Url: https://github.com/martinpitt/python-dbusmock # https://pypi.python.org/pypi/%pypi_name Vcs: https://github.com/martinpitt/python-dbusmock.git #Source: %url/releases/download/%version/%pypi_name-%version.tar.gz Source: https://pypi.io/packages/source/p/%pypi_name/%pypi_name-%version.tar.gz BuildArch: noarch Requires: dbus BuildRequires(pre): rpm-build-python3 rpm-build-gir BuildRequires: python3-devel python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-dbus %if_enabled check BuildRequires: /proc dbus-tools-gui %_bindir/notify-send %_bindir/nmcli upower bluez BuildRequires: polkit iio-sensor-proxy notification-daemon BuildRequires: python3(pytest) BuildRequires: python3-module-dbus-gobject python3-module-pycodestyle BuildRequires: python3-module-pyflakes python3-module-importlib-metadata BuildRequires: python3-module-mypy %endif %description With this program/Python library you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, logind, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests. See %_docdir/%name-%version/README.rst for more information. %prep %setup -n %pypi_name-%version %build %pyproject_build %install %pyproject_install %check python3 -m unittest %files %python3_sitelibdir_noarch/%modname/ %python3_sitelibdir_noarch/%{pyproject_distinfo %pypi_name} %doc NEWS PKG-INFO README* %changelog * Sun Dec 31 2023 Yuri N. Sedunov <aris@altlinux.org> 0.30.2-alt1 - 0.30.2 * Sun Dec 24 2023 Yuri N. Sedunov <aris@altlinux.org> 0.30.1-alt1 - 0.30.1 * Wed Dec 06 2023 Yuri N. Sedunov <aris@altlinux.org> 0.30.0-alt1 - 0.30.0 * Thu Jul 27 2023 Yuri N. Sedunov <aris@altlinux.org> 0.29.1-alt1 - 0.29.1 * Mon Apr 24 2023 Yuri N. Sedunov <aris@altlinux.org> 0.29.0-alt1 - 0.29.0 * Wed Jan 11 2023 Yuri N. Sedunov <aris@altlinux.org> 0.28.7-alt1 - 0.28.7 * Tue Nov 15 2022 Michael Shigorin <mike@altlinux.org> 0.28.6-alt2 - fix build --without check (explicit BR: python3-module-dbus) - minor spec cleanup * Wed Oct 12 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.6-alt1 - 0.28.6 * Wed Jul 20 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.4-alt1 - 0.28.4 - ported to %%pyproject macros * Sun Jul 17 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.3-alt1 - 0.28.3 * Sun Jul 17 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.2-alt1 - 0.28.2 (fixed tests with libnotify 0.8.0) * Wed Jun 29 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.1-alt1 - 0.28.1 * Mon Jun 20 2022 Yuri N. Sedunov <aris@altlinux.org> 0.28.0-alt1 - 0.28.0 * Tue Apr 05 2022 Yuri N. Sedunov <aris@altlinux.org> 0.27.5-alt1 - 0.27.5 * Tue Apr 05 2022 Yuri N. Sedunov <aris@altlinux.org> 0.27.4-alt1 - 0.27.4 * Wed Mar 23 2022 Yuri N. Sedunov <aris@altlinux.org> 0.27.3-alt1 - 0.27.3 * Thu Mar 03 2022 Yuri N. Sedunov <aris@altlinux.org> 0.26.1-alt1 - 0.26.1 * Sat Dec 25 2021 Yuri N. Sedunov <aris@altlinux.org> 0.25.0-alt1 - 0.25.0 * Thu Oct 28 2021 Yuri N. Sedunov <aris@altlinux.org> 0.24.1-alt1 - 0.24.1 * Sat Aug 28 2021 Yuri N. Sedunov <aris@altlinux.org> 0.24.0-alt1 - 0.24.0 * Wed Jun 16 2021 Yuri N. Sedunov <aris@altlinux.org> 0.23.1-alt1 - 0.23.1 * Fri Mar 26 2021 Yuri N. Sedunov <aris@altlinux.org> 0.23.0-alt1 - 0.23.0 * Sat Jan 02 2021 Yuri N. Sedunov <aris@altlinux.org> 0.22.0-alt1 - 0.22.0 * Fri Jan 01 2021 Yuri N. Sedunov <aris@altlinux.org> 0.21.0-alt1 - 0.21.0 * Sun Dec 20 2020 Yuri N. Sedunov <aris@altlinux.org> 0.20.0-alt1 - 0.20.0 (python3-only) * Fri May 01 2020 Yuri N. Sedunov <aris@altlinux.org> 0.19-alt2 - fixed python2 build * Fri Jan 10 2020 Yuri N. Sedunov <aris@altlinux.org> 0.19-alt1 - 0.19 * Thu Dec 26 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.3-alt2 - fixed BR after python-module-dbus split - made python2 build optional * Mon Sep 09 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.3-alt1 - 0.18.3 * Sun Feb 24 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.2-alt1 - 0.18.2 * Thu Jan 10 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1.1 - skipped broken polkit tests * Thu Nov 22 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1 - 0.18.1 * Mon Jul 02 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18-alt1 - 0.18 * Fri Mar 02 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17.2-alt1 - 0.17.2 * Mon Feb 26 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17.1-alt1 - 0.17.1 * Thu Feb 01 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17-alt2 - fixed buildreqs * Mon Nov 20 2017 Yuri N. Sedunov <aris@altlinux.org> 0.17-alt1 - 0.17 * Wed Aug 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.9-alt2 - rebuilt with rpm-build-gir * Tue Jun 20 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.9-alt1 - 0.16.9 * Wed Jun 14 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.8-alt1 - 0.16.8 * Tue Nov 01 2016 Yuri N. Sedunov <aris@altlinux.org> 0.16.7-alt1 - 0.16.7 * Fri Jun 17 2016 Yuri N. Sedunov <aris@altlinux.org> 0.16.4-alt1 - first build for Sisyphus |