From 0c73133efe8971aace8d6725ed0142d6977a3d0fbe479707e5c5612d799be621 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 20 May 2021 17:25:01 +0000 Subject: [PATCH] Accepting request 894429 from security:SELinux Needed by setroubleshoot OBS-URL: https://build.opensuse.org/request/show/894429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dasbus?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + dasbus-1.5.tar.gz | 3 +++ python-dasbus.changes | 17 +++++++++++++ python-dasbus.spec | 55 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 dasbus-1.5.tar.gz create mode 100644 python-dasbus.changes create mode 100644 python-dasbus.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dasbus-1.5.tar.gz b/dasbus-1.5.tar.gz new file mode 100644 index 0000000..067d88a --- /dev/null +++ b/dasbus-1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccb8687a826271e099ab3590e21f2d32016b0e60d4b42e2a04f3d20ffb8d7c87 +size 71714 diff --git a/python-dasbus.changes b/python-dasbus.changes new file mode 100644 index 0000000..a9fc40e --- /dev/null +++ b/python-dasbus.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Wed May 19 16:03:56 UTC 2021 - Predrag Ivanović + +- Update to dasbus-1.5 + * Provide additional info about the DBus call (vponcova) + * Rename TestMessageBus class to silence pytest warning (luca) + * Fix the raise-missing-from warning (vponcova) +- Add gobject-introspection to BuildRequires + Needed for typelib() requires auto-detection. + +- Require python-gobject instead of python3-gobject + Otherwise every built python flavor (3.6, 3.8, and 3.9) will depend on python 3.8. + +------------------------------------------------------------------- +Mon Mar 15 16:01:09 UTC 2021 - Predrag Ivanović + +- Initial packaging. diff --git a/python-dasbus.spec b/python-dasbus.spec new file mode 100644 index 0000000..aaff8bb --- /dev/null +++ b/python-dasbus.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-dasbus +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-dasbus +Version: 1.5 +Release: 0 +Summary: DBus library in Python 3 +License: LGPL-2.0-or-later +Group: Development/Libraries/Python +URL: https://github.com/rhinstaller/dasbus +Source: https://files.pythonhosted.org/packages/source/d/dasbus/dasbus-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: gobject-introspection +BuildRequires: fdupes +Requires: python-gobject +BuildArch: noarch +%python_subpackages + +%description +DBus library in Python 3, based on GLib and inspired by pydbus. + +%prep +%setup -q -n dasbus-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/* + +%changelog