summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.version2
-rw-r--r--MANIFEST6
-rw-r--r--MANIFEST.in6
-rw-r--r--Makefile.am33
-rw-r--r--Makefile.in34
-rw-r--r--NEWS248
-rw-r--r--PKG-INFO61
-rwxr-xr-xconfigure20
-rw-r--r--configure.ac2
-rw-r--r--dbus_python.egg-info/PKG-INFO61
-rw-r--r--dbus_python.egg-info/SOURCES.txt192
-rw-r--r--dbus_python.egg-info/dependency_links.txt1
-rw-r--r--dbus_python.egg-info/top_level.txt3
-rw-r--r--debian/changelog7
-rw-r--r--debian/clean2
-rwxr-xr-xdebian/rules6
-rwxr-xr-x[-rw-r--r--]doc/maintainer-update-website.sh2
-rw-r--r--doc/redirects.py8
-rw-r--r--meson.build2
-rwxr-xr-xtools/generate-pkginfo.py26
20 files changed, 558 insertions, 164 deletions
diff --git a/.version b/.version
index f0bb29e..1892b92 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-1.3.0
+1.3.2
diff --git a/MANIFEST b/MANIFEST
index 10a90f2..f35f8c4 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -12,6 +12,7 @@ MANIFEST.in
Makefile.am
Makefile.in
NEWS
+PKG-INFO
README
aclocal.m4
build-aux/compile
@@ -74,6 +75,10 @@ dbus_bindings/types-internal.h
dbus_bindings/unixfd.c
dbus_bindings/validation.c
dbus_glib_bindings/module.c
+dbus_python.egg-info/PKG-INFO
+dbus_python.egg-info/SOURCES.txt
+dbus_python.egg-info/dependency_links.txt
+dbus_python.egg-info/top_level.txt
doc/API_CHANGES.txt
doc/PY3PORT.txt
doc/_static/.gitignore
@@ -184,3 +189,4 @@ tools/check-c-style.sh
tools/check-coding-style.mk
tools/check-py-style.sh
tools/check-whitespace.sh
+tools/generate-pkginfo.py
diff --git a/MANIFEST.in b/MANIFEST.in
index 0a73249..2098bb6 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -12,6 +12,7 @@ include MANIFEST.in
include Makefile.am
include Makefile.in
include NEWS
+include PKG-INFO
include README
include aclocal.m4
include build-aux/compile
@@ -74,6 +75,10 @@ include dbus_bindings/types-internal.h
include dbus_bindings/unixfd.c
include dbus_bindings/validation.c
include dbus_glib_bindings/module.c
+include dbus_python.egg-info/PKG-INFO
+include dbus_python.egg-info/SOURCES.txt
+include dbus_python.egg-info/dependency_links.txt
+include dbus_python.egg-info/top_level.txt
include doc/API_CHANGES.txt
include doc/PY3PORT.txt
include doc/_static/.gitignore
@@ -184,3 +189,4 @@ include tools/check-c-style.sh
include tools/check-coding-style.mk
include tools/check-py-style.sh
include tools/check-whitespace.sh
+include tools/generate-pkginfo.py
diff --git a/Makefile.am b/Makefile.am
index 5d2f7ea..8738d57 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,8 +52,8 @@ EXTRA_DIST = \
tools/check-c-style.sh \
tools/check-coding-style.mk \
tools/check-py-style.sh \
- tools/check-whitespace.sh
- tools/ci-build.sh \
+ tools/check-whitespace.sh \
+ tools/generate-pkginfo.py \
$(NULL)
# === C code ===
@@ -370,13 +370,22 @@ $(patsubst %,%.test,$(test_programs)): %.test: Makefile
dist-hook:
echo $(VERSION) > $(distdir)/.version
+ $(MKDIR_P) $(distdir)/dbus_python.egg-info
touch $(distdir)/MANIFEST
touch $(distdir)/MANIFEST.in
+ touch $(distdir)/dbus_python.egg-info/SOURCES.txt
+ $(PYTHON) $(distdir)/tools/generate-pkginfo.py $(VERSION) $(distdir)/PKG-INFO
+ echo > $(distdir)/dbus_python.egg-info/dependency_links.txt
+ echo _dbus_bindings > $(distdir)/dbus_python.egg-info/top_level.txt
+ echo _dbus_glib_bindings >> $(distdir)/dbus_python.egg-info/top_level.txt
+ echo dbus >> $(distdir)/dbus_python.egg-info/top_level.txt
+ cp $(distdir)/PKG-INFO $(distdir)/dbus_python.egg-info/PKG-INFO
( cd $(distdir) && find -type d -o -print ) | \
LC_ALL=C sort | \
$(SED) -e 's|^\./||' \
> $(distdir)/MANIFEST
sed -e 's/.*/include &/' < $(distdir)/MANIFEST > $(distdir)/MANIFEST.in
+ cp $(distdir)/MANIFEST $(distdir)/dbus_python.egg-info/SOURCES.txt
maintainer-upload:
rsync -tvpP --chmod=ugo=r $(DIST_ARCHIVES) $(DIST_ARCHIVES:%=%.asc) \
@@ -423,31 +432,31 @@ uninstall-local-pycache:
rm -fr $(DESTDIR)$(pythondir)/dbus/mainloop/__pycache__
if ENABLE_DOCUMENTATION
-all: doc/_build/.stamp
+all: doc/html/.stamp
-doc/_build/.stamp: $(nobase_python_PYTHON) \
+doc/html/.stamp: $(nobase_python_PYTHON) \
_dbus_bindings.la \
_dbus_glib_bindings.la \
$(sphinx_sources) \
Makefile \
$(NULL)
- rm -rf doc/_build
- $(MKDIR_P) doc/_build
+ rm -rf doc/html
+ $(MKDIR_P) doc/html
abs_top_srcdir='$(abs_top_srcdir)' \
abs_top_builddir='$(abs_top_builddir)' \
DBUS_PYTHON_NO_DEPRECATED=1 \
- $(PYTHON) -m sphinx -b html $(abs_top_srcdir)/doc doc/_build
+ $(PYTHON) -m sphinx -b html $(abs_top_srcdir)/doc doc/html
touch $@
-maintainer-update-website: doc/_build/.stamp
+maintainer-update-website: doc/html/.stamp
DBUS_TOP_SRCDIR="$(abs_top_srcdir)" \
$(PYTHON) $(srcdir)/doc/redirects.py
- rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX doc/_build/ \
+ rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX doc/html/ \
dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/doc/dbus-python/
-install-data-local-sphinx: doc/_build/.stamp
+install-data-local-sphinx: doc/html/.stamp
$(mkinstalldirs) $(DESTDIR)$(htmldir)
- cp -R doc/_build/* $(DESTDIR)$(htmldir)
+ cp -R doc/html/* $(DESTDIR)$(htmldir)
uninstall-local-sphinx:
rm -fr $(DESTDIR)$(htmldir)
@@ -462,7 +471,7 @@ uninstall-local-sphinx:
endif
clean-local:
- rm -rf doc/_build
+ rm -rf doc/html
check_c_sources = \
$(_dbus_bindings_la_SOURCES) \
diff --git a/Makefile.in b/Makefile.in
index b34f0d2..ab88395 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -783,7 +783,8 @@ EXTRA_DIST = .reuse/dep5 AUTHORS CONTRIBUTING.md COPYING \
test/sh.test.in test/tmp-session-bus.conf.in \
tools/check-c-style.sh tools/check-coding-style.mk \
tools/check-py-style.sh tools/check-whitespace.sh \
- $(sphinx_sources) doc/redirects doc/redirects.py $(NULL)
+ tools/generate-pkginfo.py $(NULL) $(sphinx_sources) \
+ doc/redirects doc/redirects.py $(NULL)
# === C code ===
AM_CPPFLAGS = \
@@ -2347,8 +2348,6 @@ uninstall-am: uninstall-dbusincludeHEADERS \
.PRECIOUS: Makefile
- tools/ci-build.sh \
- $(NULL)
subprojects/dbus-gmain/libdbus-gmain.la:
$(MAKE) -C subprojects/dbus-gmain
@@ -2432,13 +2431,22 @@ $(patsubst %,%.test,$(test_programs)): %.test: Makefile
dist-hook:
echo $(VERSION) > $(distdir)/.version
+ $(MKDIR_P) $(distdir)/dbus_python.egg-info
touch $(distdir)/MANIFEST
touch $(distdir)/MANIFEST.in
+ touch $(distdir)/dbus_python.egg-info/SOURCES.txt
+ $(PYTHON) $(distdir)/tools/generate-pkginfo.py $(VERSION) $(distdir)/PKG-INFO
+ echo > $(distdir)/dbus_python.egg-info/dependency_links.txt
+ echo _dbus_bindings > $(distdir)/dbus_python.egg-info/top_level.txt
+ echo _dbus_glib_bindings >> $(distdir)/dbus_python.egg-info/top_level.txt
+ echo dbus >> $(distdir)/dbus_python.egg-info/top_level.txt
+ cp $(distdir)/PKG-INFO $(distdir)/dbus_python.egg-info/PKG-INFO
( cd $(distdir) && find -type d -o -print ) | \
LC_ALL=C sort | \
$(SED) -e 's|^\./||' \
> $(distdir)/MANIFEST
sed -e 's/.*/include &/' < $(distdir)/MANIFEST > $(distdir)/MANIFEST.in
+ cp $(distdir)/MANIFEST $(distdir)/dbus_python.egg-info/SOURCES.txt
maintainer-upload:
rsync -tvpP --chmod=ugo=r $(DIST_ARCHIVES) $(DIST_ARCHIVES:%=%.asc) \
@@ -2452,31 +2460,31 @@ uninstall-local-pycache:
rm -fr $(DESTDIR)$(pythondir)/dbus/__pycache__
rm -fr $(DESTDIR)$(pythondir)/dbus/mainloop/__pycache__
-@ENABLE_DOCUMENTATION_TRUE@all: doc/_build/.stamp
+@ENABLE_DOCUMENTATION_TRUE@all: doc/html/.stamp
-@ENABLE_DOCUMENTATION_TRUE@doc/_build/.stamp: $(nobase_python_PYTHON) \
+@ENABLE_DOCUMENTATION_TRUE@doc/html/.stamp: $(nobase_python_PYTHON) \
@ENABLE_DOCUMENTATION_TRUE@ _dbus_bindings.la \
@ENABLE_DOCUMENTATION_TRUE@ _dbus_glib_bindings.la \
@ENABLE_DOCUMENTATION_TRUE@ $(sphinx_sources) \
@ENABLE_DOCUMENTATION_TRUE@ Makefile \
@ENABLE_DOCUMENTATION_TRUE@ $(NULL)
-@ENABLE_DOCUMENTATION_TRUE@ rm -rf doc/_build
-@ENABLE_DOCUMENTATION_TRUE@ $(MKDIR_P) doc/_build
+@ENABLE_DOCUMENTATION_TRUE@ rm -rf doc/html
+@ENABLE_DOCUMENTATION_TRUE@ $(MKDIR_P) doc/html
@ENABLE_DOCUMENTATION_TRUE@ abs_top_srcdir='$(abs_top_srcdir)' \
@ENABLE_DOCUMENTATION_TRUE@ abs_top_builddir='$(abs_top_builddir)' \
@ENABLE_DOCUMENTATION_TRUE@ DBUS_PYTHON_NO_DEPRECATED=1 \
-@ENABLE_DOCUMENTATION_TRUE@ $(PYTHON) -m sphinx -b html $(abs_top_srcdir)/doc doc/_build
+@ENABLE_DOCUMENTATION_TRUE@ $(PYTHON) -m sphinx -b html $(abs_top_srcdir)/doc doc/html
@ENABLE_DOCUMENTATION_TRUE@ touch $@
-@ENABLE_DOCUMENTATION_TRUE@maintainer-update-website: doc/_build/.stamp
+@ENABLE_DOCUMENTATION_TRUE@maintainer-update-website: doc/html/.stamp
@ENABLE_DOCUMENTATION_TRUE@ DBUS_TOP_SRCDIR="$(abs_top_srcdir)" \
@ENABLE_DOCUMENTATION_TRUE@ $(PYTHON) $(srcdir)/doc/redirects.py
-@ENABLE_DOCUMENTATION_TRUE@ rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX doc/_build/ \
+@ENABLE_DOCUMENTATION_TRUE@ rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX doc/html/ \
@ENABLE_DOCUMENTATION_TRUE@ dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/doc/dbus-python/
-@ENABLE_DOCUMENTATION_TRUE@install-data-local-sphinx: doc/_build/.stamp
+@ENABLE_DOCUMENTATION_TRUE@install-data-local-sphinx: doc/html/.stamp
@ENABLE_DOCUMENTATION_TRUE@ $(mkinstalldirs) $(DESTDIR)$(htmldir)
-@ENABLE_DOCUMENTATION_TRUE@ cp -R doc/_build/* $(DESTDIR)$(htmldir)
+@ENABLE_DOCUMENTATION_TRUE@ cp -R doc/html/* $(DESTDIR)$(htmldir)
@ENABLE_DOCUMENTATION_TRUE@uninstall-local-sphinx:
@ENABLE_DOCUMENTATION_TRUE@ rm -fr $(DESTDIR)$(htmldir)
@@ -2489,7 +2497,7 @@ uninstall-local-pycache:
@ENABLE_DOCUMENTATION_FALSE@ @:
clean-local:
- rm -rf doc/_build
+ rm -rf doc/html
# Copyright 2006-2022 Collabora Ltd.
# SPDX-License-Identifier: MIT
diff --git a/NEWS b/NEWS
index a140786..036f959 100644
--- a/NEWS
+++ b/NEWS
@@ -1,75 +1,89 @@
+dbus Python Bindings 1.3.2 (2022-09-06)
+=======================================
+
+Fixes:
+
+* Reinstate PKG-INFO and egg-info in source tarball, so that it can be
+ used as a PyPI sdist
+ (Simon McVittie)
+
+* Fix reStructured Text formatting in NEWS
+ (Simon McVittie)
+
dbus Python Bindings 1.3.0 (2022-09-06)
=======================================
Dependencies:
-• Python 3, version 3.5 or later, is required.
+* Python 3, version 3.5 or later, is required.
An upstream-supported version (currently 3.7 or later) is strongly
recommended, and a future version of dbus-python is likely to require
Python 3.7 or later.
Python 2 is no longer supported.
-• Installing from source code using Meson requires Python 3.5 or later
+* Installing from source code using Meson requires Python 3.5 or later
and Meson 0.56.2 or later. This is now the recommended build system.
-• Installing from source code using Autotools requires Python 3.5 or later.
+* Installing from source code using Autotools requires Python 3.5 or later.
The Autotools build system is likely to be removed in a future version.
-• Installing from PyPI using pip or from source code via setup.py
+* Installing from PyPI using pip or from source code via setup.py
requires Python 3.7 or later, Meson 0.60.3 or later, meson-python 0.8.1
or later, and their dependencies (ninja, patchelf, setuptools, wheel).
API changes:
-• dbus.gobject_service, dbus.types.UTF8String and the utf8_strings
+* 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.
(dbus-python!15; Simon McVittie)
Enhancements:
-• Add a Meson build system
+* Add a Meson build system
(dbus-python!20; Simon McVittie)
-• Add methods to Message objects to manipulate the interactive
+* Add methods to Message objects to manipulate the interactive
authorization flag
(dbus-python!17; Ricter Zheng)
-• Add licensing information in REUSE format
+* Add licensing information in REUSE format
(dbus-python!20; Simon McVittie)
Fixes:
-• Raise ValueError instead of crashing with assertion failure when a
+* 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
+* Raise ValueError instead of crashing with assertion failure when
a negative number is passed to the UnixFd constructor
(related to firewalld#985; Simon McVittie)
-• Fix undefined escape sequences in docstrings
+* Fix undefined escape sequences in docstrings
(dbus-python#40; Jason A. Yundt)
-• Make `distcheck` compatible with Automake 1.16.4, by forcing an
+* Make `distcheck` compatible with Automake 1.16.4, by forcing an
appropriate prefix to be used
(dbus-python!15; Simon McVittie)
-• Update AX_PYTHON_DEVEL from autoconf-archive for better
+* Update AX_PYTHON_DEVEL from autoconf-archive for better
forwards-compatibility
(dbus-python!15; Simon McVittie)
-• Avoid various deprecation warnings in the build system
- · distutils.sysconfig → sysconfig
- · distutils.util → sysconfig
- · AC_PROG_LIBTOOL → LT_INIT
- · AC_HELP_STRING → AS_HELP_STRING
+* Avoid various deprecation warnings in the build system
+
+ - distutils.sysconfig → sysconfig
+ - distutils.util → sysconfig
+ - AC_PROG_LIBTOOL → LT_INIT
+ - AC_HELP_STRING → AS_HELP_STRING
+
(dbus-python!15; Simon McVittie)
-• Fix CI for recent Python and Automake versions
+* Fix CI for recent Python and Automake versions
(dbus-python!15; Simon McVittie)
-• Update bug reporting URL
+* Update bug reporting URL
(dbus-python!15; Simon McVittie)
dbus Python Bindings 1.2.18 (2021-07-20)
@@ -77,7 +91,7 @@ dbus Python Bindings 1.2.18 (2021-07-20)
Build-time configuration changes:
-• dbus-python will be built for python3 if neither PYTHON nor
+* dbus-python will be built for python3 if neither PYTHON nor
PYTHON_VERSION is specified. Use a command like
./configure PYTHON=$(command -v python2)
@@ -86,50 +100,52 @@ Build-time configuration changes:
Dependencies:
-• Python 2 reached end-of-life on 2020-01-01. A future version of
+* Python 2 reached end-of-life on 2020-01-01. A future version of
dbus-python is likely to remove Python 2 support.
Fixes:
-• Move from collections.Sequence to collections.abc.Sequence on
+* Move from collections.Sequence to collections.abc.Sequence on
Python ≥ 3.3, for Python 3.10 compatibility
(dbus-python#37; Simon McVittie)
-• Avoid another deprecation warning for inspect.getargspec().
+* Avoid another deprecation warning for inspect.getargspec().
This is similar to the one fixed in 1.2.4, but for dbus.decorators.signal
rather than dbus.decorators.method. (dbus-python!8; Martin Stumpf)
-• Fix an unlikely fd leak if memory allocation fails for UnixFd
+* Fix an unlikely fd leak if memory allocation fails for UnixFd
(dbus-python!9, Red Hat #1938703; David King)
-• Fix memory and fd leak if UnixFd is given an invalid negative
+* Fix memory and fd leak if UnixFd is given an invalid negative
variant_level (Simon McVittie)
-• Avoid more deprecation warnings:
+* Avoid more deprecation warnings:
+
- gi.repository.GObject.MainLoop etc. (now used via gi.repository.GLib)
- gi.repository.GLib.threads_init (no longer necessary at all)
+
(Simon McVittie)
-• Disable -Wdeclaration-after-statement. Python 3.9 relies on intermixed
+* Disable -Wdeclaration-after-statement. Python 3.9 relies on intermixed
declarations and statements in its headers, so we can no longer
enforce this. (Simon McVittie)
-• Convert examples to Python 3 (Simon McVittie)
+* Convert examples to Python 3 (Simon McVittie)
-• Use the same Python executable for build and dist/distcheck by default
+* Use the same Python executable for build and dist/distcheck by default
(Simon McVittie)
CI fixes:
-• Stop installing tap.py for Python 2. The latest version only supports
+* Stop installing tap.py for Python 2. The latest version only supports
Python 3. (Simon McVittie)
-• Move from Python 3.8 on Debian unstable (no longer available) to
+* Move from Python 3.8 on Debian unstable (no longer available) to
3.9 on Debian 11 (Simon McVittie)
-• Also test with Python 3.10 on Ubuntu 21.10 (Simon McVittie)
+* Also test with Python 3.10 on Ubuntu 21.10 (Simon McVittie)
-• Remove Travis-CI integration, only use Gitlab-CI (Simon McVittie)
+* Remove Travis-CI integration, only use Gitlab-CI (Simon McVittie)
dbus Python Bindings 1.2.16 (2020-01-14)
========================================
@@ -138,13 +154,13 @@ The “bag of assorted swords” release.
Enhancements:
-• All tests are run even if the tap.py module is not available, although
+* All tests are run even if the tap.py module is not available, although
diagnostics for failing tests will be better if it is present.
(Simon McVittie)
Fixes:
-• Forbid unexpanded AX-prefixed macros more selectively, similar to
+* Forbid unexpanded AX-prefixed macros more selectively, similar to
dbus#249. (Simon McVittie)
dbus Python Bindings 1.2.14 (2019-11-25)
@@ -154,14 +170,14 @@ The “don't stand in the fire” release.
Fixes:
-• Ensure that the numeric types from dbus.types get the same str()
+* Ensure that the numeric types from dbus.types get the same str()
under Python 3.8 that they did under previous versions. Previously,
Python 3.8 used their repr() for the str(), which was not intended.
(dbus-python#31; matclab, Simon McVittie)
-• Disable -Winline (Simon McVittie)
+* Disable -Winline (Simon McVittie)
-• Add Python 3.8 to CI (Simon McVittie)
+* Add Python 3.8 to CI (Simon McVittie)
dbus Python Bindings 1.2.12 (2019-09-12)
========================================
@@ -170,7 +186,7 @@ The “spinal bap” release.
Fixes:
-• Don't save and restore the exception indicator when called from C code.
+* Don't save and restore the exception indicator when called from C code.
This avoided "returned a result with an error set" errors under some
circumstances, but also caused a regression for code that relies on
being able to terminate the program by calling sys.exit() or raising
@@ -190,67 +206,67 @@ and CONTRIBUTING.md for more details.
Dependencies:
-• dbus 1.8 was already required, but is more strongly required now:
+* dbus 1.8 was already required, but is more strongly required now:
the workarounds that were used to run continuous integration with dbus
1.6 on Ubuntu 14.04 'trusty' have been removed. (Note that dbus 1.8
has already reached end-of-life for security support, and newer dbus
stable branches are strongly recommended.)
-• When using Python 3, version 3.5 or later is strongly recommended.
+* When using Python 3, version 3.5 or later is strongly recommended.
Python 3.4 security support ended in March 2019. No specific
incompatibilities are known, but using dbus-python on Python 3.4 is
no longer tested or supported.
Enhancements:
-• Rewrite CONTRIBUTING.md document, based on Wayland's equivalent
+* Rewrite CONTRIBUTING.md document, based on Wayland's equivalent
(Simon McVittie, with thanks to Ander Conselvan de Oliveira,
Bryce Harrington, Eric Engestrom, Pekka Paalanen and Daniel Stone
for their contributions to the equivalent file in Wayland)
-• A generated ChangeLog file is no longer included in source tarballs.
+* A generated ChangeLog file is no longer included in source tarballs.
Please refer to the git repository at
https://gitlab.freedesktop.org/dbus/dbus-python for detailed change
history. (Simon McVittie)
-• Improve continuous integration to be run by GitLab in addition to
+* Improve continuous integration to be run by GitLab in addition to
Travis-CI (Simon McVittie)
-• Add clearer license information using SPDX-License-Identifier
+* Add clearer license information using SPDX-License-Identifier
(Simon McVittie)
-• Improve test coverage (Simon McVittie)
+* Improve test coverage (Simon McVittie)
Fixes:
-• Don't set deprecated tp_print to NULL under Python 3, fixing build
+* Don't set deprecated tp_print to NULL under Python 3, fixing build
warnings with Python 3.8 pre-releases (Simon McVittie)
-• Include inherited methods and properties when documenting objects,
+* Include inherited methods and properties when documenting objects,
which regressed when migrating from epydoc to sphinx
(Simon McVittie)
-• Add missing variant_level member to UnixFd type, for parity with the
+* Add missing variant_level member to UnixFd type, for parity with the
other dbus.types types (dbus-python!3; John Baublitz)
- - Note that this is a potentially incompatible change: unknown
- keyword arguments were previously ignored (!) and are now an error.
+ - Note that this is a potentially incompatible change: unknown
+ keyword arguments were previously ignored (!) and are now an error.
-• Don't reply to method calls if they have the NO_REPLY_EXPECTED flag
+* Don't reply to method calls if they have the NO_REPLY_EXPECTED flag
(fd.o#32529, dbus-python#26; Simon McVittie)
-• Silence -Wcast-function-type with gcc 8 (Simon McVittie)
+* Silence -Wcast-function-type with gcc 8 (Simon McVittie)
-• Fix distcheck with python3.7 by deleting __pycache__ during uninstall
+* Fix distcheck with python3.7 by deleting __pycache__ during uninstall
(Simon McVittie)
-• Consistently save and restore the exception indicator when called
+* Consistently save and restore the exception indicator when called
from C code (Simon McVittie)
-• Avoid a long-standing race condition in the automated tests
+* Avoid a long-standing race condition in the automated tests
(Debian #898158; Simon McVittie)
-• Fix Qt website URL (Ralf Habacker)
+* Fix Qt website URL (Ralf Habacker)
D-Bus Python Bindings 1.2.8 (2018-05-04)
========================================
@@ -259,21 +275,21 @@ The “cursed ice surface” release.
Dependencies:
-• Documentation requires Sphinx and the readthedocs theme
-• Documentation no longer requires epydoc
+* Documentation requires Sphinx and the readthedocs theme
+* Documentation no longer requires epydoc
Enhancements:
-• Build documentation with Sphinx instead of epydoc
+* Build documentation with Sphinx instead of epydoc
-• Remove obsolete COMPAT.txt, documenting compatibility breaks in
+* Remove obsolete COMPAT.txt, documenting compatibility breaks in
versions over a decade old
Fixes:
-• Make sure $(builddir)/test exists before creating .test files there
+* Make sure $(builddir)/test exists before creating .test files there
-• Add PKG-INFO and egg_info to dist tarballs so they can be uploaded
+* Add PKG-INFO and egg_info to dist tarballs so they can be uploaded
to PyPI again
D-Bus Python Bindings 1.2.6 (2018-01-29)
@@ -283,37 +299,37 @@ The “doppler radar” release.
Dependencies:
-• When using Python 2, version 2.7 is now required. Python 2.6 security
+* When using Python 2, version 2.7 is now required. Python 2.6 security
support ended in 2013.
-• When using Python 3, version 3.4 or later is now required.
+* When using Python 3, version 3.4 or later is now required.
Python 3.2 security support ended in 2016, and Python 3.3 security
support ended in 2017.
-• Most unit tests now require the tap.py module from PyPI.
-• The deprecated dbus-glib library is no longer required. A bundled copy
+* Most unit tests now require the tap.py module from PyPI.
+* The deprecated dbus-glib library is no longer required. A bundled copy
of its main loop integration code is included instead.
-• GLib version 2.40 or later is required.
-• libdbus version 1.8 or later is required.
+* GLib version 2.40 or later is required.
+* libdbus version 1.8 or later is required.
Enhancements:
-• AX_PYTHON_DEVEL is now used to find the CPPFLAGS, LDFLAGS and libraries
+* AX_PYTHON_DEVEL is now used to find the CPPFLAGS, LDFLAGS and libraries
needed to link test-import-repeatedly to libpython, which should reduce
the number of wheels reinvented here.
-• Remove workarounds for Python 2.6 limitations
+* Remove workarounds for Python 2.6 limitations
-• All unit tests now produce structured output (TAP)
+* All unit tests now produce structured output (TAP)
Fixes:
-• Fix a NULL dereference in constructing a Server if the underlying C
+* Fix a NULL dereference in constructing a Server if the underlying C
function fails
-• Silence compiler warnings triggered by the Python headers under gcc 7
+* Silence compiler warnings triggered by the Python headers under gcc 7
-• Avoid __gtype__ appearing in documentation, for reproducible builds
+* Avoid __gtype__ appearing in documentation, for reproducible builds
-• Rename _dbus_bindings/ and _dbus_glib_bindings/ source directories to
+* Rename _dbus_bindings/ and _dbus_glib_bindings/ source directories to
dbus_bindings/ and dbus_glib_bindings/ to avoid an ImportWarning
appearing in the API documentation, which made the documentation build
non-reproducible
@@ -325,7 +341,7 @@ The “75,000 microchips” release.
Enhancements:
-• Continous integration metadata for travis-ci.org is now available.
+* Continous integration metadata for travis-ci.org is now available.
Similar to dbus, this is split into .travis.yml (Travis-specifics)
and tools/ci-build.sh (intended to be useful for any CI framework,
although it does include various workarounds for travis-ci oddities).
@@ -333,21 +349,21 @@ Enhancements:
Fixes:
-• Make dbus.version a tuple again, not a list, for consistent sorting.
+* Make dbus.version a tuple again, not a list, for consistent sorting.
This was a regression in 1.2.2. (Debian #816729, Simon McVittie)
-• Use inspect.signature() instead of inspect.getargspec() on Python
+* Use inspect.signature() instead of inspect.getargspec() on Python
versions that have it. inspect.getargspec() is deprecated in recent
Python 3 and seems to have disappeared from 3.6 nightly builds.
(Simon McVittie)
-• Make the tests pass in "narrow" Python builds where unicode objects
+* Make the tests pass in "narrow" Python builds where unicode objects
are UTF-16, rather than the UCS-4 used in Linux distributions.
(fd.o #57140, Simon McVittie)
-• Always include headers in a consistent order (Debian #749133, Simon McVittie)
+* Always include headers in a consistent order (Debian #749133, Simon McVittie)
-• Include config.h in all C code that we compile. This is necessary
+* Include config.h in all C code that we compile. This is necessary
on platforms where it might contain something like "#define _GNU_SOURCE"
or "#define inline __inline".
(Simon McVittie)
@@ -359,24 +375,24 @@ The “mind fray” release.
Versioning changes:
-• dbus-python releases now have an even micro version (1.2.0, 1.2.2),
+* dbus-python releases now have an even micro version (1.2.0, 1.2.2),
and snapshots from git have an odd micro version (1.2.1).
Dependencies:
-• Building from git (but not from tarballs) now requires
+* Building from git (but not from tarballs) now requires
macros from the GNU Autoconf Archive, for example the autoconf-archive
package in Debian or Fedora derivatives.
-• Building from git (but not from tarballs) now requires Automake 1.13
+* Building from git (but not from tarballs) now requires Automake 1.13
or later.
-• The automated tests and some examples now require PyGI (the gi module),
+* The automated tests and some examples now require PyGI (the gi module),
not PyGObject 2 (the deprecated glib and gobject modules).
Enhancements:
-• There is now a setuptools setup.py, allowing dbus-python to be installed
+* There is now a setuptools setup.py, allowing dbus-python to be installed
into a virtualenv using pip from a standard Automake source release. This
requires pre-existing system-wide installations of the normal build
dependencies (pkg-config, libdbus, dbus-glib, a C compiler) and has
@@ -384,29 +400,29 @@ Enhancements:
please use the Autoconf/Automake build system directly.
(fd.o #55439; Simon McVittie)
-• dbus-python now uses the common compiler warnings from AX_COMPILER_FLAGS
+* dbus-python now uses the common compiler warnings from AX_COMPILER_FLAGS
(Simon McVittie)
-• The automated tests can now be installed as GNOME-style "installed tests",
+* The automated tests can now be installed as GNOME-style "installed tests",
and should be somewhat more reliable (Simon McVittie)
Fixes:
-• ``from dbus.service import *`` now imports FallbackObject
+* ``from dbus.service import *`` now imports FallbackObject
(fd.o #85720; Ben Longbons)
-• The GConf-related examples work again (fd.o #85720; Ben Longbons)
+* The GConf-related examples work again (fd.o #85720; Ben Longbons)
-• Consistently make examples executable, and install them all
+* Consistently make examples executable, and install them all
(fd.o #85720; Ben Longbons)
-• Search PATH for an appropriately-versioned pythonX.Y-config, or as a last
+* Search PATH for an appropriately-versioned pythonX.Y-config, or as a last
resort python-config, if there isn't a ${PYTHON}-config in the
same directory as ${PYTHON} (fd.o #92085; Yamashita, Yuu)
-• Add support for the Automake 1.13 parallel test driver (Simon McVittie)
+* Add support for the Automake 1.13 parallel test driver (Simon McVittie)
-• Skip building API documentation if "import epydoc" fails (Simon McVittie)
+* Skip building API documentation if "import epydoc" fails (Simon McVittie)
D-Bus Python Bindings 1.2.0 (2013-05-07)
========================================
@@ -415,34 +431,34 @@ The "compile like it's 1998" release.
Dependencies:
-• libdbus 1.6 or later is now required.
+* libdbus 1.6 or later is now required.
Enhancements:
-• Unicode Corrigendum 9: when used with a suitable version of libdbus
+* Unicode Corrigendum 9: when used with a suitable version of libdbus
(1.6.10 or later, or 1.7.2 or later), noncharacters in strings are
now accepted
Fixes:
-• Support DBusException('something with non—ASCII') under Python 2
+* Support DBusException('something with non—ASCII') under Python 2
(Michael Vogt, smcv; fd.o #55899)
-• Correct some misleading wording in COPYING which was written under the
+* Correct some misleading wording in COPYING which was written under the
assumption that libdbus could actually be relicensed to MIT/X11
(Thiago Macieira)
-• Avoid variable-length arrays, because MSVC++ is still stuck in 1998
+* Avoid variable-length arrays, because MSVC++ is still stuck in 1998
(based on patches from Christoph Höger, fd.o #51725)
-• Remove unnecessary uses of stdint.h (fd.o #51725)
+* Remove unnecessary uses of stdint.h (fd.o #51725)
-• Add support for Unix compilers not supporting 'inline', for completeness
+* Add support for Unix compilers not supporting 'inline', for completeness
-• Use GObject.__class__ instead of GObjectMeta, which can no longer be
+* Use GObject.__class__ instead of GObjectMeta, which can no longer be
imported from gi.repository.GObject in pygobject 3.8
-• Fix autoreconfiscation on Automake 1.13 (Marko Lindqvist, fd.o #59006)
+* Fix autoreconfiscation on Automake 1.13 (Marko Lindqvist, fd.o #59006)
D-Bus Python Bindings 1.1.1 (2012-06-25)
========================================
@@ -451,15 +467,15 @@ The "Lemonade Sky" release.
Dependencies:
-• libdbus 1.6 or later is now recommended. It is not strictly required yet.
+* libdbus 1.6 or later is now recommended. It is not strictly required yet.
Fixes:
-• Validate UTF-8 according to the rules libdbus uses, falling back to our
+* Validate UTF-8 according to the rules libdbus uses, falling back to our
own (inefficient) implementation if not compiled against dbus >= 1.6
(fd.o #40817)
-• Under Python 3, in the absence of introspection or signature='...',
+* Under Python 3, in the absence of introspection or signature='...',
pass dbus.ObjectPath or dbus.Signature arguments with the obvious
signature 'o' or 'g', not 's'. This previously only worked in Python 2.
(fd.o #50740)
@@ -471,30 +487,30 @@ The “eaten by spiders” release.
Deprecations:
-• dbus.gobject_service is deprecated. Use dbus.gi_service and PyGI in new code.
+* dbus.gobject_service is deprecated. Use dbus.gi_service and PyGI in new code.
API changes:
-• dbus.gobject_service works in legacy PyGObject 2 applications again,
+* dbus.gobject_service works in legacy PyGObject 2 applications again,
like it did before 1.0. The down side is that it doesn't work in all PyGI
applications any more, unlike 1.0. In PyGI applications, depend on
dbus-python >= 1.1 and use dbus.gi_service instead - its API is the same.
(fd.o #48904, Debian #670516)
-• dbus.gobject_service has been removed from Python 3 builds altogether.
+* dbus.gobject_service has been removed from Python 3 builds altogether.
Enhancements:
-• Use DBusBasicValue from libdbus 1.5, if available, rather than reinventing it
+* Use DBusBasicValue from libdbus 1.5, if available, rather than reinventing it
Fixes:
-• Put sockets for the regression tests in /tmp, not the builddir, fixing
+* Put sockets for the regression tests in /tmp, not the builddir, fixing
test failures in a really long builddir (fd.o #46747)
-• Fix a reference leak in dbus_py_variant_level_set (fd.o #47108)
+* Fix a reference leak in dbus_py_variant_level_set (fd.o #47108)
-• Modify AM_CHECK_PYTHON_HEADERS so the "another way" works with Python 3
+* Modify AM_CHECK_PYTHON_HEADERS so the "another way" works with Python 3
D-Bus Python Bindings 1.0.0 (2012-01-24)
========================================
@@ -521,7 +537,7 @@ API changes:
* The Python 3 API is not the same as the Python 2 API; see PY3PORT.rst
for details.
-• dbus.gobject_service uses PyGI, not PyGObject. (This was not meant to be
+* dbus.gobject_service uses PyGI, not PyGObject. (This was not meant to be
an incompatible change, but unfortunately, it was. It was reverted in 1.1.0.)
Enhancements:
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..e599a19
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,61 @@
+Metadata-Version: 2.1
+Name: dbus-python
+Version: 1.3.2
+Summary: Python bindings for libdbus
+Keywords: dbus D-Bus
+Home-page: http://www.freedesktop.org/wiki/Software/DBusBindings/#python
+Maintainer-Email: The D-Bus maintainers <dbus@lists.freedesktop.org>
+License: Expat (MIT/X11)
+Classifier: Development Status :: 7 - Inactive
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Programming Language :: C
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Topic :: Software Development :: Object Brokering
+Project-URL: Homepage, http://www.freedesktop.org/wiki/Software/DBusBindings/#python
+Project-URL: Download, http://dbus.freedesktop.org/releases/dbus-python/
+Project-URL: Source, https://gitlab.freedesktop.org/dbus/dbus-python/
+Project-URL: Tracker, https://gitlab.freedesktop.org/dbus/dbus-python/-/issues
+Requires-Python: >=3.7
+Provides-Extra: doc
+Provides-Extra: test
+Requires-Dist: sphinx; extra == "doc"
+Requires-Dist: sphinx_rtd_theme; extra == "doc"
+Requires-Dist: tap.py; extra == "test"
+Description-Content-Type: text/x-rst
+
+=======================================
+dbus-python_: Python bindings for D-Bus
+=======================================
+
+.. _dbus-python: http://www.freedesktop.org/wiki/Software/DBusBindings#python
+
+dbus-python is the original Python binding for ``dbus``, the reference
+implementation of the D-Bus protocol.
+
+Online documentation can be found at
+<http://dbus.freedesktop.org/doc/dbus-python/>.
+
+Problems and alternatives
+=========================
+
+dbus-python might not be the best D-Bus binding for you to use. dbus-python
+does not follow the principle of "In the face of ambiguity, refuse the
+temptation to guess", and can't be changed to not do so without seriously
+breaking compatibility.
+
+In addition, it uses libdbus (which has known problems with multi-threaded
+use) and attempts to be main-loop-agnostic (which means you have to select
+a suitable main loop for your application).
+
+Alternative ways to get your Python code onto D-Bus include:
+
+* GDBus, part of the GIO module of `GLib`_, via GObject-Introspection and
+ `PyGI`_ (uses the GLib main loop and object model)
+
+* QtDBus, part of `Qt`_, via `PyQt`_ (uses the Qt main loop and object model)
+
+.. _GLib: http://developer.gnome.org/glib/
+.. _PyGI: https://live.gnome.org/PyGObject
+.. _Qt: https://www.qt.io
+.. _PyQT: http://www.riverbankcomputing.co.uk/software/pyqt/intro
diff --git a/configure b/configure
index 0b5dd91..5a6657a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for dbus-python 1.3.0.
+# Generated by GNU Autoconf 2.71 for dbus-python 1.3.2.
#
# Report bugs to <https://gitlab.freedesktop.org/dbus/dbus-python/-/issues/new>.
#
@@ -622,8 +622,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='dbus-python'
PACKAGE_TARNAME='dbus-python'
-PACKAGE_VERSION='1.3.0'
-PACKAGE_STRING='dbus-python 1.3.0'
+PACKAGE_VERSION='1.3.2'
+PACKAGE_STRING='dbus-python 1.3.2'
PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/dbus/dbus-python/-/issues/new'
PACKAGE_URL=''
@@ -1413,7 +1413,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures dbus-python 1.3.0 to adapt to many kinds of systems.
+\`configure' configures dbus-python 1.3.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1484,7 +1484,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of dbus-python 1.3.0:";;
+ short | recursive ) echo "Configuration of dbus-python 1.3.2:";;
esac
cat <<\_ACEOF
@@ -1641,7 +1641,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-dbus-python configure 1.3.0
+dbus-python configure 1.3.2
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1859,7 +1859,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by dbus-python $as_me 1.3.0, which was
+It was created by dbus-python $as_me 1.3.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -4473,7 +4473,7 @@ fi
# Define the identity of the package.
PACKAGE='dbus-python'
- VERSION='1.3.0'
+ VERSION='1.3.2'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16691,7 +16691,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by dbus-python $as_me 1.3.0, which was
+This file was extended by dbus-python $as_me 1.3.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16759,7 +16759,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-dbus-python config.status 1.3.0
+dbus-python config.status 1.3.2
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 7d4b0e0..19054fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_PREREQ(2.59c)
# SPDX-License-Identifier: MIT
dnl Micro version is odd for non-releases
-AC_INIT([dbus-python], [1.3.0],
+AC_INIT([dbus-python], [1.3.2],
[https://gitlab.freedesktop.org/dbus/dbus-python/-/issues/new])
AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
diff --git a/dbus_python.egg-info/PKG-INFO b/dbus_python.egg-info/PKG-INFO
new file mode 100644
index 0000000..e599a19
--- /dev/null
+++ b/dbus_python.egg-info/PKG-INFO
@@ -0,0 +1,61 @@
+Metadata-Version: 2.1
+Name: dbus-python
+Version: 1.3.2
+Summary: Python bindings for libdbus
+Keywords: dbus D-Bus
+Home-page: http://www.freedesktop.org/wiki/Software/DBusBindings/#python
+Maintainer-Email: The D-Bus maintainers <dbus@lists.freedesktop.org>
+License: Expat (MIT/X11)
+Classifier: Development Status :: 7 - Inactive
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Programming Language :: C
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Topic :: Software Development :: Object Brokering
+Project-URL: Homepage, http://www.freedesktop.org/wiki/Software/DBusBindings/#python
+Project-URL: Download, http://dbus.freedesktop.org/releases/dbus-python/
+Project-URL: Source, https://gitlab.freedesktop.org/dbus/dbus-python/
+Project-URL: Tracker, https://gitlab.freedesktop.org/dbus/dbus-python/-/issues
+Requires-Python: >=3.7
+Provides-Extra: doc
+Provides-Extra: test
+Requires-Dist: sphinx; extra == "doc"
+Requires-Dist: sphinx_rtd_theme; extra == "doc"
+Requires-Dist: tap.py; extra == "test"
+Description-Content-Type: text/x-rst
+
+=======================================
+dbus-python_: Python bindings for D-Bus
+=======================================
+
+.. _dbus-python: http://www.freedesktop.org/wiki/Software/DBusBindings#python
+
+dbus-python is the original Python binding for ``dbus``, the reference
+implementation of the D-Bus protocol.
+
+Online documentation can be found at
+<http://dbus.freedesktop.org/doc/dbus-python/>.
+
+Problems and alternatives
+=========================
+
+dbus-python might not be the best D-Bus binding for you to use. dbus-python
+does not follow the principle of "In the face of ambiguity, refuse the
+temptation to guess", and can't be changed to not do so without seriously
+breaking compatibility.
+
+In addition, it uses libdbus (which has known problems with multi-threaded
+use) and attempts to be main-loop-agnostic (which means you have to select
+a suitable main loop for your application).
+
+Alternative ways to get your Python code onto D-Bus include:
+
+* GDBus, part of the GIO module of `GLib`_, via GObject-Introspection and
+ `PyGI`_ (uses the GLib main loop and object model)
+
+* QtDBus, part of `Qt`_, via `PyQt`_ (uses the Qt main loop and object model)
+
+.. _GLib: http://developer.gnome.org/glib/
+.. _PyGI: https://live.gnome.org/PyGObject
+.. _Qt: https://www.qt.io
+.. _PyQT: http://www.riverbankcomputing.co.uk/software/pyqt/intro
diff --git a/dbus_python.egg-info/SOURCES.txt b/dbus_python.egg-info/SOURCES.txt
new file mode 100644
index 0000000..f35f8c4
--- /dev/null
+++ b/dbus_python.egg-info/SOURCES.txt
@@ -0,0 +1,192 @@
+.reuse/dep5
+.version
+AUTHORS
+CONTRIBUTING.md
+COPYING
+ChangeLog
+LICENSES/GPL-3.0-or-later.txt
+LICENSES/LicenseRef-AutoconfArchiveException.txt
+LICENSES/MIT.txt
+MANIFEST
+MANIFEST.in
+Makefile.am
+Makefile.in
+NEWS
+PKG-INFO
+README
+aclocal.m4
+build-aux/compile
+build-aux/config.guess
+build-aux/config.sub
+build-aux/depcomp
+build-aux/install-sh
+build-aux/ltmain.sh
+build-aux/missing
+build-aux/py-compile
+build-aux/tap-driver.sh
+build-aux/test-driver
+config.h.in
+configure
+configure.ac
+dbus-python.pc.in
+dbus/__init__.py
+dbus/_compat.py
+dbus/_dbus.py
+dbus/_expat_introspect_parser.py
+dbus/bus.py
+dbus/connection.py
+dbus/decorators.py
+dbus/exceptions.py
+dbus/gi_service.py
+dbus/glib.py
+dbus/lowlevel.py
+dbus/mainloop/__init__.py
+dbus/mainloop/glib.py
+dbus/proxies.py
+dbus/server.py
+dbus/service.py
+dbus/types.py
+dbus_bindings/abstract.c
+dbus_bindings/bus.c
+dbus_bindings/bytes.c
+dbus_bindings/compat-internal.h
+dbus_bindings/conn-internal.h
+dbus_bindings/conn-methods.c
+dbus_bindings/conn.c
+dbus_bindings/containers.c
+dbus_bindings/dbus_bindings-internal.h
+dbus_bindings/debug.c
+dbus_bindings/exceptions.c
+dbus_bindings/float.c
+dbus_bindings/generic.c
+dbus_bindings/int.c
+dbus_bindings/libdbusconn.c
+dbus_bindings/mainloop.c
+dbus_bindings/message-append.c
+dbus_bindings/message-get-args.c
+dbus_bindings/message-internal.h
+dbus_bindings/message.c
+dbus_bindings/module.c
+dbus_bindings/pending-call.c
+dbus_bindings/server.c
+dbus_bindings/signature.c
+dbus_bindings/string.c
+dbus_bindings/types-internal.h
+dbus_bindings/unixfd.c
+dbus_bindings/validation.c
+dbus_glib_bindings/module.c
+dbus_python.egg-info/PKG-INFO
+dbus_python.egg-info/SOURCES.txt
+dbus_python.egg-info/dependency_links.txt
+dbus_python.egg-info/top_level.txt
+doc/API_CHANGES.txt
+doc/PY3PORT.txt
+doc/_static/.gitignore
+doc/conf.py
+doc/dbus.bus.rst
+doc/dbus.connection.rst
+doc/dbus.decorators.rst
+doc/dbus.exceptions.rst
+doc/dbus.gi_service.rst
+doc/dbus.glib.rst
+doc/dbus.gobject_service.rst
+doc/dbus.lowlevel.rst
+doc/dbus.mainloop.rst
+doc/dbus.proxies.rst
+doc/dbus.rst
+doc/dbus.server.rst
+doc/dbus.service.rst
+doc/dbus.types.rst
+doc/index.rst
+doc/maintainer-update-website.sh
+doc/meson.build
+doc/news.rst
+doc/redirects
+doc/redirects.py
+doc/tutorial.txt
+examples/example-async-client.py
+examples/example-client.py
+examples/example-service.py
+examples/example-signal-emitter.py
+examples/example-signal-recipient.py
+examples/gconf-proxy-client.py
+examples/gconf-proxy-service2.py
+examples/list-system-services.py
+examples/unix-fd-client.py
+examples/unix-fd-service.py
+include/dbus/dbus-python.h
+m4/ax_append_compile_flags.m4
+m4/ax_append_flag.m4
+m4/ax_append_link_flags.m4
+m4/ax_check_compile_flag.m4
+m4/ax_check_link_flag.m4
+m4/ax_compiler_flags.m4
+m4/ax_compiler_flags_cflags.m4
+m4/ax_compiler_flags_gir.m4
+m4/ax_compiler_flags_ldflags.m4
+m4/ax_is_release.m4
+m4/ax_python_devel.m4
+m4/ax_python_module.m4
+m4/ax_require_defined.m4
+m4/libtool.m4
+m4/ltoptions.m4
+m4/ltsugar.m4
+m4/ltversion.m4
+m4/lt~obsolete.m4
+m4/pkg.m4
+meson.build
+meson_options.txt
+pyproject.toml
+setup.cfg
+setup.py
+subprojects/dbus-gmain/AUTHORS
+subprojects/dbus-gmain/CONTRIBUTING.md
+subprojects/dbus-gmain/COPYING
+subprojects/dbus-gmain/LICENSES/AFL-2.1.txt
+subprojects/dbus-gmain/LICENSES/GPL-2.0-or-later.txt
+subprojects/dbus-gmain/LICENSES/MIT.txt
+subprojects/dbus-gmain/Makefile.am
+subprojects/dbus-gmain/Makefile.in
+subprojects/dbus-gmain/README.md
+subprojects/dbus-gmain/dbus-gmain.c
+subprojects/dbus-gmain/dbus-gmain/dbus-gmain.h
+subprojects/dbus-gmain/meson.build
+subprojects/dbus-gmain/meson_options.txt
+subprojects/dbus-gmain/tests/30574.c
+subprojects/dbus-gmain/tests/meson.build
+subprojects/dbus-gmain/tests/test-thread-client.c
+subprojects/dbus-gmain/tests/test-thread-server.c
+subprojects/dbus-gmain/tests/test-thread.h
+subprojects/dbus-gmain/tests/use-as-subproject.py
+subprojects/dbus-gmain/tests/use-as-subproject/README
+subprojects/dbus-gmain/tests/use-as-subproject/meson.build
+subprojects/dbus-gmain/tests/use-as-subproject/use-dbus-gmain.c
+subprojects/dbus-gmain/tests/util.c
+subprojects/dbus-gmain/tests/util.h
+test/TestSuitePythonService.service.in
+test/compiled.test.in
+test/cross-test-client.py
+test/cross-test-server.py
+test/crosstest.py
+test/dbus_py_test.c
+test/dbus_test_utils.py
+test/import-repeatedly.c
+test/installable/meson.build
+test/meson.build
+test/py.test.in
+test/run-test.sh
+test/sh.test.in
+test/test-client.py
+test/test-exception-py3.py
+test/test-p2p.py
+test/test-service.py
+test/test-signals.py
+test/test-standalone.py
+test/test-unusable-main-loop.py
+test/tmp-session-bus.conf.in
+test/wait-for-name.py
+tools/check-c-style.sh
+tools/check-coding-style.mk
+tools/check-py-style.sh
+tools/check-whitespace.sh
+tools/generate-pkginfo.py
diff --git a/dbus_python.egg-info/dependency_links.txt b/dbus_python.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/dbus_python.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/dbus_python.egg-info/top_level.txt b/dbus_python.egg-info/top_level.txt
new file mode 100644
index 0000000..7d64792
--- /dev/null
+++ b/dbus_python.egg-info/top_level.txt
@@ -0,0 +1,3 @@
+_dbus_bindings
+_dbus_glib_bindings
+dbus
diff --git a/debian/changelog b/debian/changelog
index 9000dc8..cb25aa4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dbus-python (1.3.2-1) unstable; urgency=medium
+
+ * New upstream release
+ * d/rules: Don't run autoreconf, no longer needed
+
+ -- Simon McVittie <smcv@debian.org> Tue, 06 Sep 2022 23:48:17 +0100
+
dbus-python (1.3.0-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 06de3de..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,2 +0,0 @@
-.eggs/
-dbus_python.egg-info/
diff --git a/debian/rules b/debian/rules
index 4d0a0c8..08c85ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,9 @@ FLAVOURS := $(PYTHON3)
dh $@ $(DH_ADDONS) --buildsystem=meson
build binary %-indep: DH_ADDONS=--with=sphinxdoc
+override_dh_autoreconf:
+ :
+
override_dh_auto_configure-arch:
set -e; for x in $(FLAVOURS); do \
dh_auto_configure \
@@ -46,9 +49,6 @@ override_dh_auto_configure-indep:
${NULL}
override_dh_auto_build-arch:
- # Backwards compatibility: we used to generate this, so keep doing
- # so for now. TODO: Switch to using meson-python, when packaged
- PIP_NO_INDEX=1 DBUS_PYTHON_USE_AUTOTOOLS=1 python3 setup.py egg_info
set -e; for x in $(FLAVOURS); do \
PYTHON=/usr/bin/python$$x \
dh_auto_build \
diff --git a/doc/maintainer-update-website.sh b/doc/maintainer-update-website.sh
index ce4f155..6ead3e8 100644..100755
--- a/doc/maintainer-update-website.sh
+++ b/doc/maintainer-update-website.sh
@@ -8,5 +8,5 @@ top="$(dirname "$here")"
DBUS_TOP_SRCDIR="$top" python3 "$here/redirects.py"
rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX \
- doc/_build/ \
+ doc/html/ \
"${DOC_RSYNC_DEST-dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/doc/dbus-python}/"
diff --git a/doc/redirects.py b/doc/redirects.py
index 8d41a11..49ebf62 100644
--- a/doc/redirects.py
+++ b/doc/redirects.py
@@ -21,23 +21,23 @@ if __name__ == '__main__':
page, dest = line.split(None, 1)
try:
- os.makedirs(os.path.join('doc', '_build', os.path.dirname(page)))
+ os.makedirs(os.path.join('doc', 'html', os.path.dirname(page)))
except OSError:
pass
- assert not os.path.exists(os.path.join('doc', '_build', page))
+ assert not os.path.exists(os.path.join('doc', 'html', page))
if dest.startswith('"'):
assert page.endswith('.txt')
text = dest.strip('"')
- with open(os.path.join('doc', '_build', page), 'w') as writer:
+ with open(os.path.join('doc', 'html', page), 'w') as writer:
writer.write(text)
writer.write('\n')
else:
assert page.endswith('.html')
- with open(os.path.join('doc', '_build', page), 'w') as writer:
+ with open(os.path.join('doc', 'html', page), 'w') as writer:
writer.write(
'<meta http-equiv="refresh" content="0; url={}" />\n'.format(
dest))
diff --git a/meson.build b/meson.build
index abd5681..ddccacc 100644
--- a/meson.build
+++ b/meson.build
@@ -8,7 +8,7 @@ project(
'warning_level=2',
],
meson_version: '>=0.56',
- version: '1.3.0',
+ version: '1.3.2',
)
pc_mod = import('pkgconfig')
diff --git a/tools/generate-pkginfo.py b/tools/generate-pkginfo.py
new file mode 100755
index 0000000..9e7df21
--- /dev/null
+++ b/tools/generate-pkginfo.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python3
+# Copyright 2021 Quansight, LLC
+# Copyright 2021 Filipe Laíns
+# Copyright 2022 Collabora Ltd.
+# SPDX-License-Identifier: MIT
+
+# Generate a PKG-INFO file using a very small subset of meson-python.
+
+import sys
+from pathlib import Path
+
+import pyproject_metadata
+import tomli
+
+if __name__ == '__main__':
+ top_srcdir = Path(__file__).parent.parent
+
+ with open(top_srcdir / 'pyproject.toml') as reader:
+ conf = tomli.loads(reader.read())
+
+ meta = pyproject_metadata.StandardMetadata.from_pyproject(conf, top_srcdir)
+ meta.version = sys.argv[1]
+ core_metadata = meta.as_rfc822()
+
+ with open(sys.argv[2], 'wb') as writer:
+ writer.write(bytes(core_metadata))