Skip to content

Commit

Permalink
Override dh_python to include python depends
Browse files Browse the repository at this point in the history
- Override dh_python3 to read python dependencies
  from file requires.txt
- Add docutils as build dependency
  • Loading branch information
hsbasu committed Oct 20, 2024
1 parent fc9c0b6 commit 62e998b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions debian/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configobj
PyGObject
setproctitle
tldextract
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 62e998b

Please sign in to comment.