Update debian packaging and compat level
This commit is contained in:
parent
97dc4a992d
commit
422786af21
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
|||||||
9
|
11
|
||||||
|
|||||||
4
debian/control
vendored
4
debian/control
vendored
@ -1,13 +1,13 @@
|
|||||||
Source: nymea-plugins-genericthings
|
Source: nymea-plugins-genericthings
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: options
|
Priority: oiptional
|
||||||
Maintainer: nymea GmbH <developer@nymea.io>
|
Maintainer: nymea GmbH <developer@nymea.io>
|
||||||
|
Standards-Version: 4.6.0
|
||||||
Build-depends: debhelper (>= 0.0.0),
|
Build-depends: debhelper (>= 0.0.0),
|
||||||
libnymea-dev (>= 0.26~),
|
libnymea-dev (>= 0.26~),
|
||||||
nymea-dev-tools:native,
|
nymea-dev-tools:native,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
qtbase5-dev,
|
qtbase5-dev,
|
||||||
Standards-Version: 3.9.3
|
|
||||||
|
|
||||||
|
|
||||||
Package: nymea-plugin-generic-buttons
|
Package: nymea-plugin-generic-buttons
|
||||||
|
|||||||
10
debian/copyright
vendored
10
debian/copyright
vendored
@ -1,9 +1,9 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
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>
|
Upstream-Contact: nymea GmbH <contact@nymea.io>
|
||||||
Copyright: 2014-2017, guh GmbH
|
Copyright: 2014-2024, nymea GmbH
|
||||||
Download: http://www.github.com/nymea/nymea-plugins
|
Download: http://www.github.com/nymea/nymea-plugins-genericthings
|
||||||
Source: https://github.com/nymea/nymea-plugins.git
|
Source: https://github.com/nymea/nymea-plugins-genericthings.git
|
||||||
|
|
||||||
|
|
||||||
License: LGPL-3
|
License: LGPL-3
|
||||||
@ -13,4 +13,4 @@ License: LGPL-3
|
|||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
License: LGPL-3
|
License: LGPL-3
|
||||||
Copyright: 2013-2020, nymea GmbH <contact@nymea.io>
|
Copyright: 2013-2024, nymea GmbH <contact@nymea.io>
|
||||||
|
|||||||
12
debian/rules
vendored
12
debian/rules
vendored
@ -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 "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
|
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:
|
override_dh_auto_build:
|
||||||
dh_auto_build
|
dh_auto_build
|
||||||
make lrelease
|
make lrelease
|
||||||
|
|
||||||
override_dh_install: $(PREPROCESS_FILES:.in=) $(PYTHON_REQUIREMENTS:.txt=)
|
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:
|
override_dh_auto_clean:
|
||||||
dh_auto_clean
|
dh_auto_clean
|
||||||
@ -32,3 +33,6 @@ override_dh_auto_clean:
|
|||||||
find -name *.qm -exec rm {} \;
|
find -name *.qm -exec rm {} \;
|
||||||
rm -rf $(PREPROCESS_FILES:.in=)
|
rm -rf $(PREPROCESS_FILES:.in=)
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --parallel
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user