Skip to content

Commit

Permalink
devel/py-dbus,devel/pydbus-common: update to 1.2.18
Browse files Browse the repository at this point in the history
Changelog [1]:

Build-time configuration changes:
    * dbus-python will be built for python3 if neither PYTHON nor
      PYTHON_VERSION is specified. Use a command like
      		./configure PYTHON=$(command -v python2)
      if installation for Python 2 (EOL 2020-01-01) is required.

Dependencies:
    * 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
      Python ≥ 3.3, for Python 3.10 compatibility (dbus-python#37; Simon
      McVittie)
    * 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
      (dbus-python!9, Red Hat #1938703; David King)
    * Fix memory and fd leak if UnixFd is given an invalid negative
      variant_level (Simon McVittie)
    * 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 declarations and statements in its headers, so we can
      no longer enforce this. (Simon McVittie)
    * Convert examples to Python 3 (Simon McVittie)
    * Use the same Python executable for build and dist/distcheck by
      default (Simon McVittie)

[1] https://dbus.freedesktop.org/doc/dbus-python/news.html#dbus-python-bindings-1-2-18-2021-07-20
  • Loading branch information
tcberner committed Jul 23, 2021
1 parent 905bc22 commit 6e027a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devel/pydbus-common/Makefile
@@ -1,7 +1,7 @@
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>

PORTNAME= dbus
DISTVERSION= 1.2.16
DISTVERSION= 1.2.18
PORTREVISION?= 0
CATEGORIES= devel gnome python
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
Expand Down
6 changes: 3 additions & 3 deletions devel/pydbus-common/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1579028727
SHA256 (dbus-python-1.2.16.tar.gz) = 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4
SIZE (dbus-python-1.2.16.tar.gz) = 576701
TIMESTAMP = 1627051221
SHA256 (dbus-python-1.2.18.tar.gz) = 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260
SIZE (dbus-python-1.2.18.tar.gz) = 578204

0 comments on commit 6e027a6

Please sign in to comment.