commit efaa9a5847d4d4ef1a9241e3b261ea2202520c2d7cc04fe232e52a5eded98350 Author: Markéta Machová Date: Fri Sep 11 12:48:00 2020 +0000 Accepting request 833754 from home:alarrosa:branches:devel:languages:python New package python-dbus-deviation, required by hotdoc OBS-URL: https://build.opensuse.org/request/show/833754 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbus-deviation?expand=0&rev=1 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/dbus-deviation-0.6.0.tar.gz b/dbus-deviation-0.6.0.tar.gz new file mode 100644 index 0000000..bb68bfe --- /dev/null +++ b/dbus-deviation-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfbb3c906807d8376ae598bbc889b3a71992cdecc0637091d97ffcbcb69b7408 +size 59944 diff --git a/python-dbus-deviation.changes b/python-dbus-deviation.changes new file mode 100644 index 0000000..1acda25 --- /dev/null +++ b/python-dbus-deviation.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Aug 4 12:05:17 UTC 2020 - Antonio Larrosa + +- Initial release of python-dbus-deviation 0.6.0 diff --git a/python-dbus-deviation.spec b/python-dbus-deviation.spec new file mode 100644 index 0000000..054a66f --- /dev/null +++ b/python-dbus-deviation.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-dbus-deviation +# +# Copyright (c) 2020 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-dbus-deviation +Version: 0.6.0 +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} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-lxml +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module lxml} +# /SECTION +%python_subpackages + +%description +dbus-deviation is a project for parsing D-Bus introspection XML and processing +it in various ways. Its main tool is dbus-interface-diff, which calculates the +difference between two D-Bus APIs for the purpose of checking for API breaks. +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 + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc AUTHORS NEWS README +%license COPYING +%python3_only %{_bindir}/dbus-interface-diff +%python3_only %{_bindir}/dbus-interface-vcs-helper +%{python_sitelib}/* + +%changelog