From 59a8b52a78a89266efc2e55966a04a5d291ebd2c Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 11 Apr 2024 20:51:48 +0200 Subject: [PATCH] Prepare 0.0.8.109.gaa25f15-1 packaging Signed-off-by: Sjoerd Simons --- debian/changelog | 9 ++++++++- debian/control | 9 ++++----- debian/pdudaemon.install | 4 ++-- debian/rules | 2 -- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/debian/changelog b/debian/changelog index 044913e..1cba1b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,14 @@ pdudaemon (0.0.8.109.gaa25f15-1) unstable; urgency=medium * New upstream version 0.0.8.109.gaa25f15 - * Fix compatibility with python 3.12 (Closes: #1058396) + * Fixes compatibility with python 3.12 (Closes: #1058396) + * Run wrap-and-sort + * debian/rules: Drop PYBUILD_INSTALL_ARGS, they don't seem to apply when + using pyproject + * debian/control: Add b-d on pybuild-plugin-pyproject as pdudaemon shifted + to pyproject. + * debian/pdudaemon.install: Move pdudaemon to usr/sbin to keep consistency + with previous versions, rather then relying on the build system to do so -- Sjoerd Simons Thu, 11 Apr 2024 20:20:08 +0200 diff --git a/debian/control b/debian/control index d3a0698..d502b8f 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,10 @@ Source: pdudaemon Section: net Priority: optional Maintainer: Matt Hart -Uploaders: Matt Hart , - Sjoerd Simons +Uploaders: Matt Hart , Sjoerd Simons Build-Depends: debhelper-compat (= 13), dh-python, + pybuild-plugin-pyproject, python3, python3-aiohttp, python3-all, @@ -29,9 +29,8 @@ Vcs-Browser: https://github.com/pdudaemon/pkg-pdudaemon Package: pdudaemon Architecture: all -Depends: ${misc:Depends}, - ${python3:Depends} -Recommends: telnet | telnet-client, openssh-client +Depends: ${misc:Depends}, ${python3:Depends} +Recommends: openssh-client, telnet | telnet-client Description: daemon for controlling PDUs Pdudaemon provides a standard way of controlling power controllers, which can either be local devices or networked PDUs. On top of that it ensures diff --git a/debian/pdudaemon.install b/debian/pdudaemon.install index 494ca6b..f282907 100644 --- a/debian/pdudaemon.install +++ b/debian/pdudaemon.install @@ -1,4 +1,4 @@ -usr/sbin/pdudaemon -usr/lib share/pdudaemon.conf etc/pdudaemon/ share/pdudaemon.service lib/systemd/system/ +usr/bin/pdudaemon usr/sbin +usr/lib diff --git a/debian/rules b/debian/rules index 892025f..f3c807e 100755 --- a/debian/rules +++ b/debian/rules @@ -12,8 +12,6 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -export PYBUILD_INSTALL_ARGS=--install-script /usr/sbin - %: dh $@ --with python3 --buildsystem pybuild