Compare commits

...

No commits in common. "a9" and "c10s" have entirely different histories.
a9 ... c10s

9 changed files with 156 additions and 5 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

38
.gitignore vendored
View File

@ -1 +1,37 @@
SOURCES/python-dbusmock-0.28.7.tar.gz
/python-dbusmock-0.1.1.tar.gz
/python-dbusmock-0.3.tar.gz
/python-dbusmock-0.3.1.tar.gz
/python-dbusmock-0.4.0.tar.gz
/python-dbusmock-0.6.tar.gz
/python-dbusmock-0.6.2.tar.gz
/python-dbusmock-0.6.3.tar.gz
/python-dbusmock-0.8.tar.gz
/python-dbusmock-0.8.1.tar.gz
/python-dbusmock-0.10.3.tar.gz
/python-dbusmock-0.10.1.tar.gz
/python-dbusmock-0.11.1.tar.gz
/python-dbusmock-0.16.7.tar.gz
/0.16.9.tar.gz
/python-dbusmock-0.16.9.tar.gz
/python-dbusmock-0.17.tar.gz
/python-dbusmock-0.18.3.tar.gz
/python-dbusmock-0.22.0.tar.gz
/python-dbusmock-0.23.0.tar.gz
/python-dbusmock-0.25.0.tar.gz
/python-dbusmock-0.26.1.tar.gz
/python-dbusmock-0.27.0.tar.gz
/python-dbusmock-0.27.3.tar.gz
/python-dbusmock-0.27.4.tar.gz
/python-dbusmock-0.27.5.tar.gz
/python-dbusmock-0.28.0.tar.gz
/python-dbusmock-0.28.1.tar.gz
/python-dbusmock-0.28.2.tar.gz
/python-dbusmock-0.28.3.tar.gz
/python-dbusmock-0.28.4.tar.gz
/python-dbusmock-0.28.6.tar.gz
/python-dbusmock-0.28.7.tar.gz
/python-dbusmock-0.29.0.tar.gz
/python-dbusmock-0.29.1.tar.gz
/python-dbusmock-0.30.0.tar.gz
/python-dbusmock-0.30.1.tar.gz
/python-dbusmock-0.30.2.tar.gz

View File

@ -1 +0,0 @@
21c1193b572ed4b56def892cd3439ee787c06af7 SOURCES/python-dbusmock-0.28.7.tar.gz

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.87.1.post1.dev11+gd1f7091b.

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

50
packit.yaml Normal file
View File

@ -0,0 +1,50 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_project_url: https://github.com/martinpitt/python-dbusmock
# HACK: should work without, but propose_downstream fails; https://github.com/packit/packit-service/issues/1511
specfile_path: packaging/python-dbusmock.spec
issue_repository: https://github.com/martinpitt/python-dbusmock
copy_upstream_release_description: true
upstream_package_name: python-dbusmock
downstream_package_name: python-dbusmock
actions:
create-archive:
- ./setup.py sdist
# spec and tarball need to be in the same directory
- sh -c 'mv dist/*.tar.* packaging; ls packaging/python-dbusmock-*.tar.*'
srpm_build_deps:
- python3-setuptools
- python3-setuptools_scm
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- centos-stream-8-x86_64
- centos-stream-9-x86_64
- job: tests
trigger: pull_request
targets:
- fedora-all
- centos-stream-8-x86_64
- centos-stream-9-x86_64
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
# rawhide updates are created automatically
- fedora-branched

5
plans/upstream.fmf Normal file
View File

@ -0,0 +1,5 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

View File

@ -1,11 +1,11 @@
%global modname dbusmock
Name: python-%{modname}
Version: 0.28.7
Release: 1%{?dist}
Version: 0.30.2
Release: 5%{?dist}
Summary: Mock D-Bus objects
License: LGPLv3+
License: LGPL-3.0-or-later
URL: https://pypi.python.org/pypi/python-dbusmock
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
@ -15,6 +15,7 @@ BuildRequires: python3-dbus
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-gobject
BuildRequires: python3-pytest
BuildRequires: dbus-x11
BuildRequires: upower
@ -51,6 +52,49 @@ rm -rf python-%{modname}.egg-info
%{python3_sitelib}/*%{modname}*
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.30.2-5
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.30.2-4
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Dec 31 2023 Martin Pitt <mpitt@redhat.com> - 0.30.2-1
- bluez5: Fix invalid arguments to PairDevice (thanks Simon McVittie)
* Sat Dec 23 2023 Packit <hello@packit.dev> - 0.30.1-1
- bluez: Clean up static default properties, re-drop PairDevice() `class_` parameter
- Add pre-commit rules (thanks Peter Hutterer)
* Thu Nov 30 2023 Packit <hello@packit.dev> - 0.30.0-1
- api: Add pytest support and helpers
- api: Factor the server spawning into a new SpawnedMock object (thanks Peter Hutterer)
- doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/ (thanks Peter Hutterer)
- cli: Add support for running custom commands on the mock environment (thanks Marco Trevisan)
* Thu Jul 27 2023 Packit <hello@packit.dev> - 0.29.1-1
- spec: Update License: to SPDX format
- Test fixes (thanks Marco Trevisan)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.29.0-2
- Rebuilt for Python 3.12
* Thu Apr 20 2023 Packit <hello@packit.dev> - 0.29.0-1
- Support loading templates from XDG_DATA_DIRS
- iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 05 2023 Packit <hello@packit.dev> - 0.28.7-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
@ -77,6 +121,9 @@ rm -rf python-%{modname}.egg-info
</ul>
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 19 2022 Packit <hello@packit.dev> - 0.28.4-1
<!-- generated by eloquent/github-release-action -->
<!-- original source:
@ -130,6 +177,9 @@ rm -rf python-%{modname}.egg-info
- mockobject: Allow sending signals with extra details (thanks Peter Hutterer)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.27.5-2
- Rebuilt for Python 3.11
* Tue Apr 05 2022 Packit <hello@packit.dev> - 0.27.5-1
- bluez and accountsservice templates: Drop default arguments from D-Bus methods (thanks Simon McVittie)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (python-dbusmock-0.30.2.tar.gz) = a34c4660fe50b9551274626b19959dbe985e112429d2eb68811f3cc37cc017f8171eac2e2b8c262874678e24f7fb3d1f39410cd977b59f501973de19b6ca3a13