15
0

- Update to 0.6.1:

* Drop support for Python 2.7
  * Move to pycodestyle from pep8 and drop setup.py requirement for it
  * Minor maintenance documentation updates 
- Do not ship tests directory.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbus-deviation?expand=0&rev=8
This commit is contained in:
2021-05-17 08:32:20 +00:00
committed by Git OBS Bridge
parent fd0b91dfc3
commit 87e6ed3c98
4 changed files with 18 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfbb3c906807d8376ae598bbc889b3a71992cdecc0637091d97ffcbcb69b7408
size 59944

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d0eb7a3
size 60599

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon May 17 08:30:46 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.6.1:
* Drop support for Python 2.7
* Move to pycodestyle from pep8 and drop setup.py requirement for it
* Minor maintenance documentation updates
- Do not ship tests directory.
-------------------------------------------------------------------
Thu Dec 3 15:53:31 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dbus-deviation
#
# Copyright (c) 2020 SUSE LLC
# 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
@@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dbus-deviation
Version: 0.6.0
Version: 0.6.1
Release: 0
Summary: Parse D-Bus introspection XML and process it in various ways
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: http://people.collabora.com/~pwith/dbus-deviation/
Source: https://files.pythonhosted.org/packages/source/d/dbus-deviation/dbus-deviation-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
@@ -56,6 +56,8 @@ sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py
%python_clone -a %{buildroot}%{_bindir}/dbus-interface-diff
%python_clone -a %{buildroot}%{_bindir}/dbus-interface-vcs-helper
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# No fair shipping the tests
%python_expand rm -r %{buildroot}%{$python_sitelib}/dbusdeviation/tests
%check
%pyunittest -v
@@ -67,7 +69,7 @@ sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py
%python_uninstall_alternative dbus-interface-diff
%files %{python_files}
%doc AUTHORS NEWS README
%doc AUTHORS NEWS README.md
%license COPYING
%python_alternative %{_bindir}/dbus-interface-diff
%python_alternative %{_bindir}/dbus-interface-vcs-helper