pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 13 08:37:29 UTC 2026
Modified Files:
pkgsrc/sysutils/dbus-python-common: Makefile distinfo
pkgsrc/sysutils/py-dbus: Makefile PLIST distinfo
Log Message:
dbus-python-common, py-dbus: update to 1.5.0
dbus Python Bindings 1.5.0 (2026-09-27)
=======================================
Dependencies:
* The Meson build system is required.
Installation via `pip` and similar PEP-0517 build system frontends
requires meson-python (mesonpy) and its dependencies.
* Python 3.7 or later is required.
* Python 3.9 or later is strongly recommended.
Older versions are no longer tested or supported.
Build system changes:
* The source release is now built as a sdist using mesonpy,
with a name that includes dbus_python, not dbus-python,
matching the project's name on PyPI and PEP-0625
* The Autotools build system is no longer available
Enhancements:
* Add a `test_socket_dir` build-time option for systems where /tmp is not
available (dbus-python!38, Emily)
* Documentation and "as-installed" tests (if enabled) are associated with
`meson install --tags=doc` and `--tags=tests` respectively (Simon McVittie)
Fixes:
* Revert a broken implementation of weak references that caused crashes,
especially in Python 3.15
(regression in 1.4.0; dbus-python#59, Simon McVittie)
* Avoid repeated configuration reloads during unit testing when dbus was
compiled with kqueue (dbus-python#56, Jakub Kulík)
* Add some unit tests for weak references and object destruction
(dbus-python#59, Maximiliano Curia)
* Metadata updates (Simon McVittie)
* CI updates (Simon McVittie)
Licensing:
* REUSE metadata is now in TOML format
* After the removal of the Autotools build system,
all remaining files outside subprojects/ are believed to be MIT-licensed.
The GLib main loop integration in subprojects/dbus-gmain/
continues to be under the same "AFL-2.1 OR GPL-2.0-or-later" dual-license
as libdbus.
dbus Python Bindings 1.4.0 (2025-03-13)
=======================================
Build-time configuration changes:
* When building with Meson, the doc and tests options are now features.
Documentation is still disabled by default: use -Ddoc=enabled to
enable it, or -Ddoc=auto to enable it conditionally if the required
packages are present.
Tests are enabled by default if their prerequisites are present, but
may run a subset of tests if some of the prerequisites are missing.
Use -Dtests=enabled to check for all prerequisites for full test
coverage, or -Dtests=disabled to avoid building any tests.
* Autotools-generated files are no longer included in the tarball release.
The Autotools build system is likely to be removed in a future dbus-python
release, so Autotools users should migrate to Meson as soon as possible.
It is still possible to build using Autotools, by following the same
procedure as for a git clone (starting with the `./autogen.sh` script).
This requires autoconf, automake, libtool and autoconf-archive.
Dependencies:
* Installing from source code using Meson requires Meson 0.60 or later.
* An upstream-supported Python version (currently 3.9 or later) is strongly
recommended, and a future version of dbus-python is likely to require
Python 3.9 or later.
Enhancements:
* Automatically set the NO_REPLY message flag in call_async if there
is no reply handler and no error handler (dbus-python!22, Mihai Dumitru)
* Add arg0namespace match rule support (dbus-python!27, Jeroen Hofstee)
* Add argNpath match rules support (dbus-python!24, Jeroen Hofstee)
* Generate a valid sdist from `meson dist` (Simon McVittie)
* Mention more alternatives to this package in the README (Simon McVittie)
Fixes:
* Don't require tomllib when generating dist tarball on Python ≥ 3.11
(dbus-python#54, Timo Gurr)
* Fix compilation with Python ≥ 3.13 in some situations
(dbus-python!28, Miro Hrončok)
* Avoid using distutils in setup.py (Simon McVittie)
* Fix a typo in example code (dbus-python!25, Robert Ancell)
* Safer handling of weak references (Simon McVittie)
* CI fixes (Simon McVittie)
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/sysutils/dbus-python-common/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/dbus-python-common/distinfo
cvs rdiff -u -r1.48 -r1.49 pkgsrc/sysutils/py-dbus/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/py-dbus/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/py-dbus/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.37 pkgsrc/sysutils/dbus-python-common/Makefile:1.38
--- pkgsrc/sysutils/dbus-python-common/Makefile:1.37 Tue Sep 29 06:07:32 2026
+++ pkgsrc/sysutils/dbus-python-common/Makefile Tue Oct 13 08:37:28 2026
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2026/09/29 06:07:32 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2026/10/13 08:37:28 wiz Exp $
-DISTNAME= dbus-python-1.3.2
-PKGNAME= ${DISTNAME:S/python/python-common/}
-PKGREVISION= 5
+DISTNAME= dbus_python-1.5.0
+PKGNAME= ${DISTNAME:S/python/python-common/:S/_/-/}
CATEGORIES= sysutils
-MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
+MASTER_SITES= https://dbus.freedesktop.org/releases/dbus-python/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://www.freedesktop.org/Software/dbus
@@ -13,26 +12,26 @@ LICENSE= mit
CONFLICTS+= py[0-9]*-dbus<1.1.1
-PYTHON_FOR_BUILD_ONLY= yes
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
-USE_TOOLS+= pkg-config gmake
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-documentation
-CONFIGURE_ARGS+= PYTHON=${PYTHONBIN}
+USE_TOOLS+= pkg-config
+MESON_ARGS+= -Ddoc=disabled
+MESON_INSTALL= no
BUILDLINK_TRANSFORM.SunOS+= rm:-std=c9x
+PYTHON_FOR_BUILD_ONLY= yes
+
INSTALLATION_DIRS+= include/dbus-1.0/dbus
INSTALLATION_DIRS+= lib/pkgconfig
do-install:
${INSTALL_DATA} ${WRKSRC}/include/dbus/dbus-python.h \
${DESTDIR}${PREFIX}/include/dbus-1.0/dbus
- ${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
+ ${INSTALL_DATA} ${WRKSRC}/output/meson-private/dbus-python.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig
+.include "../../devel/meson/build.mk"
.include "../../lang/python/tool.mk"
+.include "../../lang/python/pyversion.mk"
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0
.include "../../sysutils/dbus/buildlink3.mk"
Index: pkgsrc/sysutils/dbus-python-common/distinfo
diff -u pkgsrc/sysutils/dbus-python-common/distinfo:1.14 pkgsrc/sysutils/dbus-python-common/distinfo:1.15
--- pkgsrc/sysutils/dbus-python-common/distinfo:1.14 Sat Aug 5 06:08:47 2023
+++ pkgsrc/sysutils/dbus-python-common/distinfo Tue Oct 13 08:37:28 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2023/08/05 06:08:47 adam Exp $
+$NetBSD: distinfo,v 1.15 2026/10/13 08:37:28 wiz Exp $
-BLAKE2s (dbus-python-1.3.2.tar.gz) = d799ceb27c924bc1ae15cc4c8586202c04ccccd2643d7353279d00545d6e7d64
-SHA512 (dbus-python-1.3.2.tar.gz) = 9b2885c9c2914142c72487f766b1cdd28a255d9f5a87eaf8f4eb420c6e096a77f210ac5a4fac9843c6531974872880cc28b7e45940e198856e984dcc0715519a
-Size (dbus-python-1.3.2.tar.gz) = 605495 bytes
+BLAKE2s (dbus_python-1.5.0.tar.gz) = a19338759452d4755e3cda06435ac5b7e85204ffb9e5cd05239cfb3976d6ac89
+SHA512 (dbus_python-1.5.0.tar.gz) = f2de006030df74490df808ed5fe3041a1a0a97ff3ee3d38ecf9e8bd271487d7eca6c1dcd134c646aad0dd4bab7329d7b308ed3045d7e7d8fb3a5e36e1c5507ce
+Size (dbus_python-1.5.0.tar.gz) = 203989 bytes
Index: pkgsrc/sysutils/py-dbus/Makefile
diff -u pkgsrc/sysutils/py-dbus/Makefile:1.48 pkgsrc/sysutils/py-dbus/Makefile:1.49
--- pkgsrc/sysutils/py-dbus/Makefile:1.48 Tue Sep 29 06:07:41 2026
+++ pkgsrc/sysutils/py-dbus/Makefile Tue Oct 13 08:37:28 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2026/09/29 06:07:41 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2026/10/13 08:37:28 wiz Exp $
-DISTNAME= dbus-python-1.3.2
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
-PKGREVISION= 5
+DISTNAME= dbus_python-1.5.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//:S/_/-/}
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
@@ -11,15 +10,18 @@ HOMEPAGE= https://www.freedesktop.org/So
COMMENT= Python bindings for the D-BUS message bus system
LICENSE= mit
-USE_TOOLS+= pkg-config gmake
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= PYTHON=${PYTHONBIN}
-
-PY_PATCHPLIST= yes
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_TOOLS+= pkg-config
BUILDLINK_TRANSFORM.SunOS+= rm:-std=c9x
+PY_PATCHPLIST= yes
+
+# in dbus-python-common
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/include/dbus-1.0/dbus/dbus-python.h
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/dbus-python.pc
+
+.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/extension.mk"
Index: pkgsrc/sysutils/py-dbus/PLIST
diff -u pkgsrc/sysutils/py-dbus/PLIST:1.10 pkgsrc/sysutils/py-dbus/PLIST:1.11
--- pkgsrc/sysutils/py-dbus/PLIST:1.10 Sat Aug 5 06:14:04 2023
+++ pkgsrc/sysutils/py-dbus/PLIST Tue Oct 13 08:37:28 2026
@@ -1,54 +1,37 @@
-@comment $NetBSD: PLIST,v 1.10 2023/08/05 06:14:04 adam Exp $
-${PYSITELIB}/_dbus_bindings.la
-${PYSITELIB}/_dbus_glib_bindings.la
+@comment $NetBSD: PLIST,v 1.11 2026/10/13 08:37:28 wiz Exp $
+${PYSITELIB}/_dbus_bindings.so
+${PYSITELIB}/_dbus_glib_bindings.so
${PYSITELIB}/dbus/__init__.py
${PYSITELIB}/dbus/__init__.pyc
-${PYSITELIB}/dbus/__init__.pyo
${PYSITELIB}/dbus/_compat.py
${PYSITELIB}/dbus/_compat.pyc
-${PYSITELIB}/dbus/_compat.pyo
${PYSITELIB}/dbus/_dbus.py
${PYSITELIB}/dbus/_dbus.pyc
-${PYSITELIB}/dbus/_dbus.pyo
${PYSITELIB}/dbus/_expat_introspect_parser.py
${PYSITELIB}/dbus/_expat_introspect_parser.pyc
-${PYSITELIB}/dbus/_expat_introspect_parser.pyo
${PYSITELIB}/dbus/bus.py
${PYSITELIB}/dbus/bus.pyc
-${PYSITELIB}/dbus/bus.pyo
${PYSITELIB}/dbus/connection.py
${PYSITELIB}/dbus/connection.pyc
-${PYSITELIB}/dbus/connection.pyo
${PYSITELIB}/dbus/decorators.py
${PYSITELIB}/dbus/decorators.pyc
-${PYSITELIB}/dbus/decorators.pyo
${PYSITELIB}/dbus/exceptions.py
${PYSITELIB}/dbus/exceptions.pyc
-${PYSITELIB}/dbus/exceptions.pyo
${PYSITELIB}/dbus/gi_service.py
${PYSITELIB}/dbus/gi_service.pyc
-${PYSITELIB}/dbus/gi_service.pyo
${PYSITELIB}/dbus/glib.py
${PYSITELIB}/dbus/glib.pyc
-${PYSITELIB}/dbus/glib.pyo
${PYSITELIB}/dbus/lowlevel.py
${PYSITELIB}/dbus/lowlevel.pyc
-${PYSITELIB}/dbus/lowlevel.pyo
${PYSITELIB}/dbus/mainloop/__init__.py
${PYSITELIB}/dbus/mainloop/__init__.pyc
-${PYSITELIB}/dbus/mainloop/__init__.pyo
${PYSITELIB}/dbus/mainloop/glib.py
${PYSITELIB}/dbus/mainloop/glib.pyc
-${PYSITELIB}/dbus/mainloop/glib.pyo
${PYSITELIB}/dbus/proxies.py
${PYSITELIB}/dbus/proxies.pyc
-${PYSITELIB}/dbus/proxies.pyo
${PYSITELIB}/dbus/server.py
${PYSITELIB}/dbus/server.pyc
-${PYSITELIB}/dbus/server.pyo
${PYSITELIB}/dbus/service.py
${PYSITELIB}/dbus/service.pyc
-${PYSITELIB}/dbus/service.pyo
${PYSITELIB}/dbus/types.py
${PYSITELIB}/dbus/types.pyc
-${PYSITELIB}/dbus/types.pyo
Index: pkgsrc/sysutils/py-dbus/distinfo
diff -u pkgsrc/sysutils/py-dbus/distinfo:1.23 pkgsrc/sysutils/py-dbus/distinfo:1.24
--- pkgsrc/sysutils/py-dbus/distinfo:1.23 Sat Aug 5 06:14:04 2023
+++ pkgsrc/sysutils/py-dbus/distinfo Tue Oct 13 08:37:28 2026
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.23 2023/08/05 06:14:04 adam Exp $
+$NetBSD: distinfo,v 1.24 2026/10/13 08:37:28 wiz Exp $
-BLAKE2s (dbus-python-1.3.2.tar.gz) = d799ceb27c924bc1ae15cc4c8586202c04ccccd2643d7353279d00545d6e7d64
-SHA512 (dbus-python-1.3.2.tar.gz) = 9b2885c9c2914142c72487f766b1cdd28a255d9f5a87eaf8f4eb420c6e096a77f210ac5a4fac9843c6531974872880cc28b7e45940e198856e984dcc0715519a
-Size (dbus-python-1.3.2.tar.gz) = 605495 bytes
-SHA1 (patch-Makefile.in) = bcbcabf858eca13948dc874316d18da4ef36b6de
+BLAKE2s (dbus_python-1.5.0.tar.gz) = a19338759452d4755e3cda06435ac5b7e85204ffb9e5cd05239cfb3976d6ac89
+SHA512 (dbus_python-1.5.0.tar.gz) = f2de006030df74490df808ed5fe3041a1a0a97ff3ee3d38ecf9e8bd271487d7eca6c1dcd134c646aad0dd4bab7329d7b308ed3045d7e7d8fb3a5e36e1c5507ce
+Size (dbus_python-1.5.0.tar.gz) = 203989 bytes
Home |
Main Index |
Thread Index |
Old Index