Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-dbus
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
py-dbus: updated to 1.3.2; same changes as sysutils/dbus-python-common
revbump for icu and libffi
py-dbus: 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)
*: recursive bump for libffi
py-dbus: update to 1.2.16 dbus Python Bindings 1.2.16 (2020-01-14) ======================================== The “bag of assorted swords” release. Enhancements: • 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 dbus#249. (Simon McVittie)
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
py-dbus, dbus-python-common: Update to 1.2.14 dbus Python Bindings 1.2.14 (2019-11-25) ======================================== The “don't stand in the fire” release. Fixes: • 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) • Add Python 3.8 to CI (Simon McVittie)
sysutils: align variable assignments pkglint -Wall -F --only aligned --only indent -r Manually excluded consolekit and dc-tools since pkglint didn't get the formatting correct.
py-dbus: update to 1.2.12. dbus Python Bindings 1.2.12 (2019-09-12) ======================================== The “spinal bap” release. Fixes: • 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 SystemExit from a dbus-python method. In particular, this broke one of libsecret's unit tests. (Debian #940087; Simon McVittie) D-Bus Python Bindings 1.2.10 (2019-09-02) ========================================= The “wingèd horse” release. dbus-python version control is now hosted on freedesktop.org's Gitlab installation, and bug reports and feature requests have switched from Bugzilla bugs (indicated by "fd.o #nnn") to Gitlab issues ("dbus-python#nnn") and merge requests ("dbus-python!nnn"). See README and CONTRIBUTING.md for more details. Dependencies: • 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. 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 (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. 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 Travis-CI (Simon McVittie) • Add clearer license information using SPDX-License-Identifier (Simon McVittie) • Improve test coverage (Simon McVittie) Fixes: • 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, which regressed when migrating from epydoc to sphinx (Simon McVittie) • 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. • 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) • Fix distcheck with python3.7 by deleting __pycache__ during uninstall (Simon McVittie) • Consistently save and restore the exception indicator when called from C code (Simon McVittie) • Avoid a long-standing race condition in the automated tests (Debian #898158; Simon McVittie) • Fix Qt website URL (Ralf Habacker)
py-dbus, dbus-python-common: Update to 1.2.8 D-Bus Python Bindings 1.2.8 (2018-05-04) ======================================== The “cursed ice surface” release. Dependencies: • Documentation requires Sphinx and the readthedocs theme • Documentation no longer requires epydoc Enhancements: • Build documentation with Sphinx instead of epydoc • Remove obsolete COMPAT.txt, documenting compatibility breaks in versions over a decade old Fixes: • Make sure $(builddir)/test exists before creating .test files there • Add PKG-INFO and egg_info to dist tarballs so they can be uploaded to PyPI again
py-dbus: Update python dbus bindings to 1.2.6. D-Bus Python Bindings 1.2.6 (2018-01-29) ======================================== The “doppler radar” release. Dependencies: • 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. 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 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. Enhancements: • 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 • All unit tests now produce structured output (TAP) Fixes: • 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 • Avoid __gtype__ appearing in documentation, for reproducible builds • 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
Update python dbus bindings to 1.2.4. D-Bus Python Bindings 1.2.4 (2016-03-06) ======================================== The “75,000 microchips” release. Enhancements: • 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). (Simon McVittie) Fixes: • 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 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 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) • 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)
Update dbus python bindings to 1.2.2. D-Bus Python Bindings 1.2.2 (2016-02-22) ======================================== The “mind fray” release. Versioning changes: • 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 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 or later. • 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 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 some limitations. For system-wide installations and development, 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 (Simon McVittie) • 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 (fd.o #85720; Ben Longbons) • The GConf-related examples work again (fd.o #85720; Ben Longbons) • 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 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) • Skip building API documentation if "import epydoc" fails (Simon McVittie)
Use OPSYSVARS.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Update to 1.2.0: D-Bus Python Bindings 1.2.0 (2013-05-07) ======================================== The "compile like it's 1998" release. Dependencies: • libdbus 1.6 or later is now required. Enhancements: • 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 (Michael Vogt, smcv; fd.o #55899) • 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 (based on patches from Christoph Höger, fd.o #51725) • Remove unnecessary uses of stdint.h (fd.o #51725) • Add support for Unix compilers not supporting 'inline', for completeness • 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)
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update for python25 removal.
recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
Disallow python-2.5 because configure complains it is too old.
update to 1.1.1 supports Python3x
Recursive bump for pcre-8.30* (shlib major change)
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
Fix build on SunOS.
recursive bump from gettext-lib shlib bump.
revert to 0.83.1 with 0.83.2, audio/sonata crashes on startup for me (might be an incompatibility with our libdbus version)
Update to 0.83.2. Set LICENSE. Remove expat from bl3.mk, since it's not referenced in Makefile. D-Bus Python Bindings 0.83.2 (2010-12-02) ========================================= Dependencies: * libdbus 1.2 is still supported, but libdbus >= 1.4 is recommended. Fixes: * Make BusConnection.list_activatable_names actually call ListActivatableNames, not ListNames (Johan Sandelin) * Don't override CFLAGS when adding compiler warnings (Louis-Francis Ratté-Boulianne) * Fix compilation on platforms where Py_ssize_t is larger than int, like x86-64 (Elvis Pfützenreuter) * fd.o #21831: deserialize empty byte arrays with byte_arrays=True as ByteArray(''), not ByteArray('None') (Simon McVittie) * fd.o #23278, #25105: fix crashes when trying to append more struct entries than the signature allows with libdbus 1.4 (Simon McVittie) * fd.o #23831: fix crashes when an embedded Python interpreter imports dbus, is finalized, is re-initialized, and re-imports dbus (Simon McVittie)
Update to 0.83.1: D-Bus Python Bindings 0.83.1 (2010-02-18) ========================================= Fixes: * fd.o #21172: avoid some deprecation warnings in Python 2.6 * fd.o #15013: add dbus.lowlevel.MESSAGE_TYPE_SIGNAL etc., for those who care about message types at a low level * When removing signal matches, clean up internal state, avoiding a memory leak in long-lived Python processes that connect to signals from arbitrarily many object paths (fd.o #17551, thanks to Marco Pesenti Gritti) * When setting the sender of a message, allow it to be org.freedesktop.DBus so you can implement a D-Bus daemon in pure Python (patch from Huang Peng)
Remove "PYTHON_VERSIONS_ACCEPTED= 26 25 24" which is unnecessary after Python 2.3 has been removed from "pkgsrc". Approved by Thomas Klausner.
add 26 to PYTHON_VERSIONS_ACCEPTED.
Update to 0.83.0: D-Bus Python Bindings 0.83.0 (2008-07-23) ========================================= Features: * Add bindings for DBusServer (thanks to Mathias Hasselmann, Huang Peng; fd.o #14322, #15514). * Omit the service's traceback from certain D-Bus errors: specifically, those that were probably deliberately raised as part of an API. Subclasses of DBusException that indicate programmer error can turn the traceback back on if it seems likely to be useful. Fixes: * Don't emit spurious Error messages if libdbus gives object-path handlers a message that isn't a method call (most likely because of binding to a locally emitted signal, as in fd.o #14199). * Make multiple filters added by Connection.add_message_filter work (fd.o #15547, thanks to Huang Peng). * Make the API docs build correctly when out-of-tree * Require dbus 1.0 so we can get rid of DBUS_API_SUBJECT_TO_CHANGE
Update to py-dbus-0.82.4. - Supports DESTDIR - Accept Python 2.5 News: * supplying reply_handler but not error_handler raises MissingReplyHandlerException instead of MissingErrorHandlerException, and vice versa (fd.o #12304, patch from Rene Neumann) * Using non-recursive make for dbus/ directory should fix builds in some environments (fd.o #12741)
needs py-docutils to build documentation
update to 0.82.3 changes: -fixes -dbus.Bus() deprecated -ode for which Collabora is the only copyright holder is now under the same permissive MIT/X11 license under which dbus core is being relicensed
update to 0.82.2 This is a new major branch, too many changes to list here.
this needs py-libxml2 at runtime to work -- add a dependency bump PKGREVISION
Update to 0.71: D-Bus Python Bindings 0.71 (24 July 2006) == - Binary modules are now installed in the correct directory - Distutils exports the dbus and dbus-glib cflags D-Bus Python Bindings 0.70 (17 July 2006) == - First release of bindings split - Move to a distutils build enviornment - It is possible to now specify sender_keyword="foo", path_keyword="bar" when adding a signal listener
Remove BROKEN_IN for packages that built in the latest NetBSD 3.0_STABLE/i386 bulk build.
Mark as BROKEN_IN pkgsrc-2006Q1 according to ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html
Requires Python 2.4.
Enabled it to build with python24 & sync with dbus-glib.
Remove PKGREVISION for making consistency with dbus and dbus-glib.
Intial import py-dbus-0.23.4nb2. This package provides the Python D-BUS bindings. Oked by wiz.
Initial revision