From 62e998b8ca766d931832eda20e97727fab54fd3a Mon Sep 17 00:00:00 2001 From: Himadri Sekhar Basu Date: Sun, 20 Oct 2024 14:14:00 +0530 Subject: [PATCH] Override dh_python to include python depends - Override dh_python3 to read python dependencies from file requires.txt - Add docutils as build dependency --- debian/control | 1 + debian/requires.txt | 4 ++++ debian/rules | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 debian/requires.txt diff --git a/debian/control b/debian/control index 803c856..b87a0e1 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Build-Depends: debhelper-compat (= 13), meson, pybuild-plugin-pyproject, python3, + python3-docutils, python3-sphinx, python3-sphinx-argparse Standards-Version: 4.6.0 diff --git a/debian/requires.txt b/debian/requires.txt new file mode 100644 index 0000000..6a3e23d --- /dev/null +++ b/debian/requires.txt @@ -0,0 +1,4 @@ +configobj +PyGObject +setproctitle +tldextract diff --git a/debian/rules b/debian/rules index 38cbc16..a0e8fa1 100755 --- a/debian/rules +++ b/debian/rules @@ -27,3 +27,6 @@ override_dh_auto_build: override_dh_install: dh_install -O--buildsystem=meson install -D -m 0644 data/theme-manager-autostart.desktop.in debian/theme-manager/etc/xdg/autostart/theme-manager-autostart.desktop + +override_dh_python3: + dh_python3 -O--buildsystem=meson --requires debian/requires.txt