From a49f648b0b07737f7ef315fb83d8f78871780281 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 27 Apr 2022 12:44:17 +0200 Subject: Enable pybuild's pyproject plugin for PEP 517 building --- debian/changelog | 1 + debian/control | 1 + debian/rules | 1 + 3 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 70da678..40ed131 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ python-pot (0.8.2+dfsg-1) unstable; urgency=medium * New upstream release. * Drop patch for SciPy 1.8 (fixed upstream). + * Enable pybuild's pyproject plugin for PEP 517 building. -- Gard Spreemann Wed, 27 Apr 2022 12:36:49 +0200 diff --git a/debian/control b/debian/control index 0bfe792..1d3fd23 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Standards-Version: 4.6.0.1 Build-Depends: cython3, debhelper-compat (= 13), dh-python, + pybuild-plugin-pyproject, python3-all-dev, python3-numpy, python3-scipy, diff --git a/debian/rules b/debian/rules index b039f58..fbf6be5 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,7 @@ #export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME = pot +export PYBUILD_SYSTEM = pyproject %: dh $@ --with numpy3,python3 --buildsystem=pybuild -- cgit v1.2.3