From af8de4d92e5e278613144a9e54560a246657daad015044db6a9d955de8d9d49e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2023 19:21:33 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.3.2:=20=20=20*=20Python=203?= =?UTF-8?q?,=20version=203.5=20or=20later,=20is=20required.=20=20=20*=20In?= =?UTF-8?q?stalling=20from=20source=20code=20using=20Autotools=20requires?= =?UTF-8?q?=20Python=203.5=20or=20=20=20=20=20later.=20=20=20*=20dbus.gobj?= =?UTF-8?q?ect=5Fservice,=20dbus.types.UTF8String=20and=20the=20utf8=5Fstr?= =?UTF-8?q?ings=20=20=20keyword=20argument=20were=20only=20usable=20with?= =?UTF-8?q?=20Python=202,=20and=20therefore=20have=20=20=20been=20removed,?= =?UTF-8?q?=20along=20with=20the=20rest=20of=20the=20special=20cases=20for?= =?UTF-8?q?=20Python=202.=20=20=20*=20Add=20methods=20to=20Message=20objec?= =?UTF-8?q?ts=20to=20manipulate=20the=20interactive=20=20=20authorization?= =?UTF-8?q?=20flag=20=20=20*=20Add=20licensing=20information=20in=20REUSE?= =?UTF-8?q?=20format=20=20=20*=20Raise=20ValueError=20instead=20of=20crash?= =?UTF-8?q?ing=20with=20assertion=20failure=20when=20a=20=20=20Unix=20fd?= =?UTF-8?q?=20index=20number=20is=20greater=20than=20the=20number=20of=20f?= =?UTF-8?q?ds=20actually=20attached=20=20=20to=20the=20message=20(firewall?= =?UTF-8?q?d#985;=20Simon=20McVittie)=20=20=20*=20Raise=20ValueError=20ins?= =?UTF-8?q?tead=20of=20crashing=20with=20assertion=20failure=20when=20=20?= =?UTF-8?q?=20a=20negative=20number=20is=20passed=20to=20the=20UnixFd=20co?= =?UTF-8?q?nstructor=20=20=20*=20Fix=20undefined=20escape=20sequences=20in?= =?UTF-8?q?=20docstrings=20=20=20*=20Make=20`distcheck`=20compatible=20wit?= =?UTF-8?q?h=20Automake=201.16.4,=20by=20forcing=20an=20=20=20appropriate?= =?UTF-8?q?=20prefix=20to=20be=20used=20=20=20*=20Update=20AX=5FPYTHON=5FD?= =?UTF-8?q?EVEL=20from=20autoconf-archive=20for=20better=20=20=20forwards-?= =?UTF-8?q?compatibility=20=20=20*=20Avoid=20various=20deprecation=20warni?= =?UTF-8?q?ngs=20in=20the=20build=20system=20=20=20-=20distutils.sysconfig?= =?UTF-8?q?=20=E2=86=92=20sysconfig=20=20=20-=20distutils.util=20=E2=86=92?= =?UTF-8?q?=20sysconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/Base:System/python-dbus-python?expand=0&rev=22 --- dbus-python-1.2.18.tar.gz | 3 --- dbus-python-1.2.18.tar.gz.asc | 16 ---------------- dbus-python-1.3.2.tar.gz | 3 +++ dbus-python-1.3.2.tar.gz.asc | 16 ++++++++++++++++ python-dbus-python.changes | 27 +++++++++++++++++++++++++++ python-dbus-python.spec | 20 ++++---------------- 6 files changed, 50 insertions(+), 35 deletions(-) delete mode 100644 dbus-python-1.2.18.tar.gz delete mode 100644 dbus-python-1.2.18.tar.gz.asc create mode 100644 dbus-python-1.3.2.tar.gz create mode 100644 dbus-python-1.3.2.tar.gz.asc diff --git a/dbus-python-1.2.18.tar.gz b/dbus-python-1.2.18.tar.gz deleted file mode 100644 index 5556fda..0000000 --- a/dbus-python-1.2.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 -size 578204 diff --git a/dbus-python-1.2.18.tar.gz.asc b/dbus-python-1.2.18.tar.gz.asc deleted file mode 100644 index d3abc83..0000000 --- a/dbus-python-1.2.18.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmD2m9QACgkQ4FrhR4+B -TE+OYg/+KbSBEGZtRgcMAsU2SOn88m1Uf3aXm41s7Vg8gMOd3zwQ8emVQP7EbcVu -6l+RddGVEWltucdoPsppzTnaNgcWDt9+0KNLzBiqROGJwi6BLKl+ZsDaQGq0DPT2 -pV1lBXg0bnivak5CHOCkmKcK1dUr3A9RBDR7YCMN/Uv2jCv7Ci7ZE//NMlB0Teax -Pv9j45KHKZ/LNJLBuZ0AE2JL4LbSrvsZfDacXcRdWzqtZTchCzQ5tccQzgRtBgSC -NQnBOtew4eVclD7DQ6zPOMElaK81JgtVDcg3tm/KEser1BrHQNi45gmWhfkiHgQN -6gDEnkWFTx+fo7GNU2/XpG1CQ/MgwAr9Led9tdJl01mw730Did4Y2TB2/4ZXQsSz -UAvcqxJORU/oafGZtVI5nC1n30Q5M53fr2zGV9Pf0/9pfy8gH0Dm76tE9yjim3FJ -iMXGV31eQWnnRqvlVD8U6CStVnmz8ZuPADSon65HTZYlplK7oZp8oYZG8R2nEIED -yvbFqWhSJAqdKz2xpQ6OMzs5OlQe2UTj0XKfZlqKe8DFot2d1oJjMp1cg6rvKqg4 -ZjswqyzKTHLRs7fO/0kB9DgzMIs1KujurI1lzJwPoODefh/mybnU+FBlr6OrSHvS -/TQ+OdU0PZDsxJCH5+ezh3HW8yuY08Nc08dHkyjh8ENx7MiRhlw= -=JTFX ------END PGP SIGNATURE----- diff --git a/dbus-python-1.3.2.tar.gz b/dbus-python-1.3.2.tar.gz new file mode 100644 index 0000000..f2725ad --- /dev/null +++ b/dbus-python-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8 +size 605495 diff --git a/dbus-python-1.3.2.tar.gz.asc b/dbus-python-1.3.2.tar.gz.asc new file mode 100644 index 0000000..4d61fd5 --- /dev/null +++ b/dbus-python-1.3.2.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmMXr9sACgkQ4FrhR4+B +TE+guQ//SUYy6BjqfaaZIiWcPWDFiX6KRRHQBuzg/hcRXuktAIzvRcNuG7vmgcez +L+DJleH5nsAjf238p052uxqrqnb9TPH4fIeB3E6V/E2GjgNG7sJXNKHc/4XNI1b1 +5FXYkHDCUcelH7E4dllllSLUSqXPtnX3nm7JrMXKi6kwaSNvXSQdrsAMWfydbwNU +rMKSrqzrLmtHAYkOTb40Dyy4sUcfKV8ZuDYo5KdYMzpY7/wb8X5e4Teye3CXProm +qh9Mc7Wvdb6cLXrJnXyOHF1CjXwHWG0kuNMm32qkB2KYZZR3KSDOlkjLOabycem3 +bUhiKiQlNKlz+C6T9WLb8Hg6no+vLRjD62/sSX/cVgueDoS8nxzRJfwCGepK8kpv +2IwDIfoTeZfsz96E/OiHFzs9fpxEAak2jdlONoFeAPrxRCUZJDH7mPeKfn1dLpN6 +orBbCM+QvTX5NJG3xj3OwVU7/5E3uX52LsYZcOvIpjQwXFtL58Fo7m7bCBuUItKr +r0Ono5De52eULI30YWeVMOBuRMGxppKvxNEz3gvxd15EM7L8QxZlqGqgFV+NtOP2 +D+kcRtWc8Doc6BPi9PMmHBo65U/mVwJwBMjr9jKsnuRG5RD+Pl46++/PgFV2M3Pq +0ucdoiXjVyhLuWUSV4T3i2OXyC8hqfiXaxgvF/DVCChOSWL7mEY= +=lkWO +-----END PGP SIGNATURE----- diff --git a/python-dbus-python.changes b/python-dbus-python.changes index cb72655..28eb566 100644 --- a/python-dbus-python.changes +++ b/python-dbus-python.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Jan 2 19:15:01 UTC 2023 - Dirk Müller + +- update to 1.3.2: + * Python 3, version 3.5 or later, is required. + * Installing from source code using Autotools requires Python 3.5 or + later. + * dbus.gobject_service, dbus.types.UTF8String and the utf8_strings + keyword argument were only usable with Python 2, and therefore have + been removed, along with the rest of the special cases for Python 2. + * Add methods to Message objects to manipulate the interactive + authorization flag + * Add licensing information in REUSE format + * Raise ValueError instead of crashing with assertion failure when a + Unix fd index number is greater than the number of fds actually attached + to the message (firewalld#985; Simon McVittie) + * Raise ValueError instead of crashing with assertion failure when + a negative number is passed to the UnixFd constructor + * Fix undefined escape sequences in docstrings + * Make `distcheck` compatible with Automake 1.16.4, by forcing an + appropriate prefix to be used + * Update AX_PYTHON_DEVEL from autoconf-archive for better + forwards-compatibility + * Avoid various deprecation warnings in the build system + - distutils.sysconfig → sysconfig + - distutils.util → sysconfig + ------------------------------------------------------------------- Tue Jul 27 06:30:09 UTC 2021 - Dirk Müller diff --git a/python-dbus-python.spec b/python-dbus-python.spec index f5a611b..fa3bea2 100644 --- a/python-dbus-python.spec +++ b/python-dbus-python.spec @@ -1,7 +1,7 @@ # # spec file for package python-dbus-python # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} # expand separate from Provides/Obsoletes tags, because these are later duplicated by the python_subpackages macro %define python_add_provides %{python_provides} Name: python-dbus-python -Version: 1.2.18 +Version: 1.3.2 Release: 0 Summary: Python bindings for D-Bus License: MIT @@ -29,7 +29,7 @@ URL: https://www.freedesktop.org/wiki/Software/DBusBindings/ Source: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz Source2: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz.asc Source99: python-dbus-python-rpmlintrc -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module docutils} BuildRequires: %{python_module gobject} BuildRequires: %{python_module xml} @@ -47,12 +47,6 @@ Obsoletes: dbus-1-%{python_flavor} < %{version} # additional provider for python2 --> python and python38 --> python3 Provides: dbus-1-%{python_add_provides} = %{version} Obsoletes: dbus-1-%{python_add_provides} < %{version} -%else -# shim for distros with python2 and where python_provides is not yet available -%if "%{python_flavor}" == "python2" -Provides: dbus-1-python = %{version} -Obsoletes: dbus-1-python < %{version} -%endif %endif %python_subpackages @@ -73,12 +67,6 @@ Obsoletes: dbus-1-%{python_flavor}-devel < %{version} # additional provider for python2 --> python and python38 --> python3 Provides: dbus-1-%{python_add_provides}-devel = %{version} Obsoletes: dbus-1-%{python_add_provides}-devel < %{version} -%else -# shim for distros with python2 and where python_provides is not yet available -%if "%{python_flavor}" == "python2" -Provides: dbus-1-python-devel = %{version} -Obsoletes: dbus-1-python-devel < %{version} -%endif %endif %description devel