Update debian packaging and compat level

update-debian-compat-level
Simon Stürz 2024-07-19 09:29:50 +02:00
parent 97dc4a992d
commit 422786af21
4 changed files with 16 additions and 12 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
9
11

4
debian/control vendored
View File

@ -1,13 +1,13 @@
Source: nymea-plugins-genericthings
Section: utils
Priority: options
Priority: oiptional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.6.0
Build-depends: debhelper (>= 0.0.0),
libnymea-dev (>= 0.26~),
nymea-dev-tools:native,
pkg-config,
qtbase5-dev,
Standards-Version: 3.9.3
Package: nymea-plugin-generic-buttons

10
debian/copyright vendored
View File

@ -1,9 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nymea-plugins
Upstream-Name: nymea-plugins-genericthings
Upstream-Contact: nymea GmbH <contact@nymea.io>
Copyright: 2014-2017, guh GmbH
Download: http://www.github.com/nymea/nymea-plugins
Source: https://github.com/nymea/nymea-plugins.git
Copyright: 2014-2024, nymea GmbH
Download: http://www.github.com/nymea/nymea-plugins-genericthings
Source: https://github.com/nymea/nymea-plugins-genericthings.git
License: LGPL-3
@ -13,4 +13,4 @@ License: LGPL-3
Files: *
License: LGPL-3
Copyright: 2013-2020, nymea GmbH <contact@nymea.io>
Copyright: 2013-2024, nymea GmbH <contact@nymea.io>

12
debian/rules vendored
View File

@ -16,15 +16,16 @@ $(PYTHON_REQUIREMENTS:.txt=): %: %.txt
echo "pip3 install --require-hashes --upgrade -r usr/lib/$(DEB_HOST_MULTIARCH)/nymea/plugins/$(PYTHON_PLUGIN)/requirements.txt -t usr/lib/$(DEB_HOST_MULTIARCH)/nymea/plugins/$(PYTHON_PLUGIN)/modules" >> debian/nymea-plugin-$(PYTHON_PLUGIN).postinst
echo "rm -rf usr/lib/$(DEB_HOST_MULTIARCH)/nymea/plugins/$(PYTHON_PLUGIN)/modules" >> debian/nymea-plugin-$(PYTHON_PLUGIN).prerm
%:
dh $@ --parallel
override_dh_auto_build:
dh_auto_build
make lrelease
override_dh_install: $(PREPROCESS_FILES:.in=) $(PYTHON_REQUIREMENTS:.txt=)
dh_install --fail-missing
dh_install
# Note that this is the default with compat level 12.
override_dh_missing:
dh_missing --list-missing
override_dh_auto_clean:
dh_auto_clean
@ -32,3 +33,6 @@ override_dh_auto_clean:
find -name *.qm -exec rm {} \;
rm -rf $(PREPROCESS_FILES:.in=)
%:
dh $@ --parallel