Control: tags -1 patch
From 73eef02134beab56bd32d126bcf68b922f648246 Mon Sep 17 00:00:00 2001
From: Tyler Weaver <ma...@tylerjw.dev>
Date: Thu, 17 Nov 2022 13:35:24 -0700
Subject: [PATCH] Use pybuild to build for multiple Python versions

Closes: #1024265
---
 debian/rules | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 466bb78..0f766ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,14 +4,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-%:
-	dh $@ --with python3
+export PYBUILD_CONFIGURE_ARGS=-DBUILD_TESTS=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON
+export PYBUILD_SYSTEM=cmake
 
-override_dh_auto_configure:
-	dh_auto_configure -- \
-		-DBUILD_TESTS=ON \
-		-DBUILD_PYTHON=ON \
-		-DBUILD_SHARED_LIBS=ON
+%:
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_build-arch:
 	dh_auto_build -a
@@ -34,3 +31,4 @@ override_dh_auto_clean:
 	rm -rf doc/html doc/latex
 
 
+
-- 
2.34.1

Attachment: publickey - maybe@tylerjw.dev - 0xED8559C2.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to