From 78aaf7afc2d2c5876d2d4fc8d41181b2bbbb6c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 6 Mar 2024 13:57:05 +0100 Subject: [PATCH] debian: update packaging for new build system (#71292) --- debian/control | 5 +++++ debian/rules | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index aa0f2dbd..10987903 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,12 @@ Section: web Priority: optional Maintainer: Frédéric Péters Build-Depends: debhelper-compat (= 12), + dh-python, inkscape, python3, + python3-all, + python3-django, + python3-setuptools, sassc (>= 3.4.2), Standards-Version: 3.9.4 Homepage: http://git.entrouvert.org/publik-base-theme.git @@ -13,6 +17,7 @@ Package: publik-base-theme Architecture: all Depends: python3-gadjo, ${misc:Depends}, + ${python3:Depends}, ${shlibs:Depends}, Conflicts: python-authentic2 (<< 2.1.20.742.gb6ee096-0), python-django (<= 1:1.11), diff --git a/debian/rules b/debian/rules index 1db77535..5d8f1705 100755 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -%: - dh $@ +export PYBUILD_NAME=publik-django-templatetags +export PYBUILD_DISABLE=test -override_dh_auto_build: - dh_auto_build --no-parallel + +%: + dh $@ --with python3 --buildsystem=pybuild