15
0

Accepting request 893603 from devel:languages:python

- 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 
- Drop execute bits for installed modules, stop a spurious requirement.

OBS-URL: https://build.opensuse.org/request/show/893603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dbus-deviation?expand=0&rev=4
This commit is contained in:
2021-05-19 15:48:56 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 9 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
- Drop execute bits for installed modules, stop a spurious requirement.
-------------------------------------------------------------------
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}
@@ -45,8 +45,8 @@ This functionality is also available as a Python module, dbusdeviation.
%prep
%setup -q -n dbus-deviation-%{version}
sed -i -e "/setuptools_/d" setup.py
chmod -x dbusapi/tests/*.py dbusdeviation/utilities/*.py
sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py
chmod -x dbusapi/tests/*.py dbusdeviation/tests/*.py dbusdeviation/utilities/*.py
sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/tests/*.py dbusdeviation/utilities/*.py
%build
%python_build
@@ -67,7 +67,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