pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dbus-python-common



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul 29 09:58:49 UTC 2021

Modified Files:
        pkgsrc/sysutils/dbus-python-common: Makefile distinfo

Log Message:
dbus-python-common: update to 1.2.18.

dbus Python Bindings 1.2.18 (2021-07-20)
========================================

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)

CI fixes:

• 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
  3.9 on Debian 11 (Simon McVittie)

• Also test with Python 3.10 on Ubuntu 21.10 (Simon McVittie)

• Remove Travis-CI integration, only use Gitlab-CI (Simon McVittie)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/sysutils/dbus-python-common/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/dbus-python-common/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dbus-python-common/Makefile
diff -u pkgsrc/sysutils/dbus-python-common/Makefile:1.24 pkgsrc/sysutils/dbus-python-common/Makefile:1.25
--- pkgsrc/sysutils/dbus-python-common/Makefile:1.24    Sat May  2 14:58:17 2020
+++ pkgsrc/sysutils/dbus-python-common/Makefile Thu Jul 29 09:58:49 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2020/05/02 14:58:17 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2021/07/29 09:58:49 wiz Exp $
 
-DISTNAME=      dbus-python-1.2.16
+DISTNAME=      dbus-python-1.2.18
 PKGNAME=       ${DISTNAME:S/python/python-common/}
-PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://dbus.freedesktop.org/releases/dbus-python/
 
@@ -21,6 +20,7 @@ PYTHON_FOR_BUILD_ONLY=                yes
 USE_TOOLS+=            pkg-config gmake
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-documentation
+CONFIGURE_ARGS+=       PYTHON=${PYTHONBIN}
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-std=c9x
 

Index: pkgsrc/sysutils/dbus-python-common/distinfo
diff -u pkgsrc/sysutils/dbus-python-common/distinfo:1.10 pkgsrc/sysutils/dbus-python-common/distinfo:1.11
--- pkgsrc/sysutils/dbus-python-common/distinfo:1.10    Mon Jan 27 10:42:12 2020
+++ pkgsrc/sysutils/dbus-python-common/distinfo Thu Jul 29 09:58:49 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2020/01/27 10:42:12 wiz Exp $
+$NetBSD: distinfo,v 1.11 2021/07/29 09:58:49 wiz Exp $
 
-SHA1 (dbus-python-1.2.16.tar.gz) = de05308c75baa2ce5434de73d60428c005ac0cc1
-RMD160 (dbus-python-1.2.16.tar.gz) = ea5fa85fab091e77e45cd93d5a978d9d9bb85a04
-SHA512 (dbus-python-1.2.16.tar.gz) = e76c00c5fd3fe6884e4c24f258987fd3b80d21bd4e0f96aa8fda152078a860b62321324f6efcbfe7226d5ab2521a14b5bda7cf2468d2cae5f376c124a71aa05c
-Size (dbus-python-1.2.16.tar.gz) = 576701 bytes
+SHA1 (dbus-python-1.2.18.tar.gz) = ab94729c940f0d95dde2503a96e5c3e2f4644b76
+RMD160 (dbus-python-1.2.18.tar.gz) = 5552b124fb35d5271b8a4813e8635cbf1bdb5836
+SHA512 (dbus-python-1.2.18.tar.gz) = 72f422c59637392bd78b741b66dff2afadcc706452c3e82fdc14b1dc052a0c5cb8a85e2758d18c5cbdc08004419a0b3c16b67b99688d96307084403e72585900
+Size (dbus-python-1.2.18.tar.gz) = 578204 bytes



Home | Main Index | Thread Index | Old Index