Date: Sat, 31 Jan 2026 14:20:49 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f8ebf6223626 - main - devel/py-dbus-deviation: Add py-dbus-deviation 0.6.1 Message-ID: <697e0fc1.316a5.7264c0f8@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8ebf6223626eea7baaccb40c1a1b9b029189da6 commit f8ebf6223626eea7baaccb40c1a1b9b029189da6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-01-31 13:11:29 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-01-31 14:14:44 +0000 devel/py-dbus-deviation: Add py-dbus-deviation 0.6.1 dbus-deviation is a project for parsing D-Bus introspection XML and processing it in various ways. Its main tool is dbus-interface-diff, which calculates the difference between two D-Bus APIs for the purpose of checking for API breaks. This functionality is also available as a Python module, dbusdeviation. A second Python module, dbusapi, is provided for parsing D-Bus introspection XML to produce an AST representing a D-Bus interface. --- devel/Makefile | 1 + devel/py-dbus-deviation/Makefile | 26 ++++++++++++++++++++++++++ devel/py-dbus-deviation/distinfo | 3 +++ devel/py-dbus-deviation/files/patch-setup.py | 22 ++++++++++++++++++++++ devel/py-dbus-deviation/pkg-descr | 7 +++++++ 5 files changed, 59 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1fc69486f777..89b8e33a370b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4801,6 +4801,7 @@ SUBDIR += py-datrie SUBDIR += py-dbt-extractor SUBDIR += py-dbus + SUBDIR += py-dbus-deviation SUBDIR += py-ddsketch SUBDIR += py-ddt SUBDIR += py-ddtrace diff --git a/devel/py-dbus-deviation/Makefile b/devel/py-dbus-deviation/Makefile new file mode 100644 index 000000000000..9d5dbee1c037 --- /dev/null +++ b/devel/py-dbus-deviation/Makefile @@ -0,0 +1,26 @@ +PORTNAME= dbus-deviation +PORTVERSION= 0.6.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parse D-Bus introspection XML and process it in various ways +WWW= https://github.com/pwithnall/dbus-deviation + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0.3:devel/py-setuptools-git@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 unittest + +NO_ARCH= yes + +SHEBANG_FILES= */tests/test_*.py + +.include <bsd.port.mk> diff --git a/devel/py-dbus-deviation/distinfo b/devel/py-dbus-deviation/distinfo new file mode 100644 index 000000000000..cdca9c2364c1 --- /dev/null +++ b/devel/py-dbus-deviation/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1768625557 +SHA256 (dbus-deviation-0.6.1.tar.gz) = e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d0eb7a3 +SIZE (dbus-deviation-0.6.1.tar.gz) = 60599 diff --git a/devel/py-dbus-deviation/files/patch-setup.py b/devel/py-dbus-deviation/files/patch-setup.py new file mode 100644 index 000000000000..61a9f291187b --- /dev/null +++ b/devel/py-dbus-deviation/files/patch-setup.py @@ -0,0 +1,22 @@ +--- setup.py.orig 2021-01-29 15:23:49 UTC ++++ setup.py +@@ -93,7 +93,6 @@ setuptools.setup( + zip_safe=True, + setup_requires=[ + 'setuptools_git >= 0.3', +- 'sphinx', + ], + install_requires=['lxml'], + tests_require=[], +@@ -112,11 +111,4 @@ setuptools.setup( + license='LGPLv2.1+', + url='https://tecnocode.co.uk/dbus-deviation/', + cmdclass={'test': DiscoverTest}, +- command_options={ +- 'build_sphinx': { +- 'project': ('setup.py', project_name), +- 'version': ('setup.py', __version__), +- 'release': ('setup.py', __version__), +- }, +- }, + ) diff --git a/devel/py-dbus-deviation/pkg-descr b/devel/py-dbus-deviation/pkg-descr new file mode 100644 index 000000000000..91da3ad17483 --- /dev/null +++ b/devel/py-dbus-deviation/pkg-descr @@ -0,0 +1,7 @@ +dbus-deviation is a project for parsing D-Bus introspection XML and processing +it in various ways. Its main tool is dbus-interface-diff, which calculates the +difference between two D-Bus APIs for the purpose of checking for API breaks. +This functionality is also available as a Python module, dbusdeviation. + +A second Python module, dbusapi, is provided for parsing D-Bus introspection XML +to produce an AST representing a D-Bus interface.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697e0fc1.316a5.7264c0f8>
