From 54e4a4fce5fb339ab39873f2094db3d02f8275467dfd80c5b067575552d2995a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 29 Sep 2021 13:02:38 +0000 Subject: [PATCH] Accepting request 922102 from home:nyslay I want to update qtile package for opensuse, but need this package as a "BuildRequires" dependency to run test for qtile WM package in OBS. Update qtile package: https://build.opensuse.org/package/show/home:nyslay/qtile OBS-URL: https://build.opensuse.org/request/show/922102 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbus_next?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + python-dbus-next-0.2.3.tar.gz | 3 ++ python-dbus_next-rpmlintrc | 1 + python-dbus_next.changes | 77 +++++++++++++++++++++++++++++++++++ python-dbus_next.spec | 68 +++++++++++++++++++++++++++++++ 6 files changed, 173 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-dbus-next-0.2.3.tar.gz create mode 100644 python-dbus_next-rpmlintrc create mode 100644 python-dbus_next.changes create mode 100644 python-dbus_next.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/python-dbus-next-0.2.3.tar.gz b/python-dbus-next-0.2.3.tar.gz new file mode 100644 index 0000000..837cdd4 --- /dev/null +++ b/python-dbus-next-0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db19689b0de50edd8587e8b55fcc6c30fe5155d813b9972e152ee05790beef59 +size 81711 diff --git a/python-dbus_next-rpmlintrc b/python-dbus_next-rpmlintrc new file mode 100644 index 0000000..d76408a --- /dev/null +++ b/python-dbus_next-rpmlintrc @@ -0,0 +1 @@ +addFilter("zero-length .*/dbus_next/py.typed") \ No newline at end of file diff --git a/python-dbus_next.changes b/python-dbus_next.changes new file mode 100644 index 0000000..5c768a6 --- /dev/null +++ b/python-dbus_next.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Update to version 0.2.3: + * Include py.typed in Manifest.in (#79) + * Fix property validation error message (#81) + * Don't log errors if call failed after disconnect (#84) + * Support PEP563 annotations (#3) + * Service: support async properties (#86) + * Client: Support coroutines as signal handlers (#58) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Update to version 0.2.2: + * Add connected instance variable to the MessageBus (#74) + * Better handling of message bus errors on disconnect (de8ed30) + * Ensure futures are not done when settings results and exceptions (#73, 1213667) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Update to version 0.2.1 + * aio.MessageBus: Support passing unix fds. (#54) + * Unmarshaller optimizations for a significant performance increase in message reading. (#62, #64) + * Cache instances of SignatureTree. (ace5584) + * Fix socket creation on macos. (#63) + * Implement PEP 561 to indicate inline type hints. (#69) + * aio.MessageBus: Return a future from send(). (302511b) + * aio.MessageBus: Add wait_for_disconnect() to detect connection errors. (ab01ab1) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Updated to version 0.1.4 + * Support tcp transport addresses (#57) + * Add support for the annonymous authentication protocol (#32) + * Add flags kwarg to aio high level client method call (#55) + * Allow subclassing of DBusError (#42) + * Fix exception in aio message handler loop on task cancellation (ff165aa) + * Improve error messages (#46, #59) + * Fix match rule memory leak bug (508edf8) + * Don't add match rules for high level client by default (615218f) + * Add empty properties interface to standard interfaces (#49) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Updated to version 0.1.3 + * Add the object manager interface to the service. (#14, #37) + * Allow coroutines in service methods. (#24, #27) + * Client: don't send method replies with NO_REPLY_EXPECTED message flag. (#22) + * Fix duplicate nodes in introspection. (#13) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Updated to version 0.1.2 + * Allow exporting interface multiple times (#4) + * Fix super call in exceptions (#5) + * Add timeout support on introspect (#7) + * Add unix fd type 'h' to valid tokens (#9) + * Dont use future annotations (#10) + * Fix variant validator (d724fc2) + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- Updated to version 0.1.1 + * Remove the MessageBus convenience constructors (breaking). + * Complete documentation. + * Type annotation for all public methods. + +------------------------------------------------------------------- +Tue Sep 28 11:48:34 UTC 2021 - nyslay@gmail.com + +- This is the first release of python-dbus-next. \ No newline at end of file diff --git a/python-dbus_next.spec b/python-dbus_next.spec new file mode 100644 index 0000000..0aced83 --- /dev/null +++ b/python-dbus_next.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-dbus_next +# +# 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-%{**}} +%define modname python-dbus-next +Name: python-dbus_next +Version: 0.2.3 +Release: 0 +Summary: A zero-dependency DBus library for Python with asyncio support +License: MIT +URL: https://github.com/altdesktop/python-dbus-next +Source: https://github.com/altdesktop/python-dbus-next/archive/v%{version}/%{modname}-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildArch: noarch + +%python_subpackages + +%description +python-dbus-next is a Python library for DBus that aims to be a fully featured high level library primarily geared towards integration of applications into Linux desktop and mobile environments. + +Desktop application developers can use this library for integrating their applications into desktop environments by implementing common DBus standard interfaces or creating custom plugin interfaces. + +Desktop users can use this library to create their own scripts and utilities to interact with those interfaces for customization of their desktop environment. + +python-dbus-next plans to improve over other DBus libraries for Python in the following ways: + +Zero dependencies and pure Python 3. +Support for multiple IO backends including asyncio and the GLib main loop. +Nonblocking IO suitable for GUI development. +Target the latest language features of Python for beautiful services and clients. +Complete implementation of the DBus type system without ever guessing types. +Integration tests for all features of the library. +Completely documented public API. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# Test are only supported inside provided docker container. https://github.com/altdesktop/python-dbus-next/issues/94#issuecomment-881654674 + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE +%{python_sitelib}/* + +%changelog \ No newline at end of file