[Git][debian-gis-team/utm][master] Use pybuild-plugin-pyproject instead of python3-setuptools.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Jun 2 08:52:57 BST 2026



Bas Couwenberg pushed to branch master at Debian GIS Project / utm


Commits:
949cacd9 by Bas Couwenberg at 2026-06-02T09:50:02+02:00
Use pybuild-plugin-pyproject instead of python3-setuptools.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/pep517.patch
- + debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,7 @@ utm (0.8.1-2) UNRELEASED; urgency=medium
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
   * Drop Priority: optional, default since dpkg 1.22.13.
+  * Use pybuild-plugin-pyproject instead of python3-setuptools.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:25:04 +0100
 


=====================================
debian/control
=====================================
@@ -5,6 +5,7 @@ Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                dh-sequence-python3,
+               pybuild-plugin-pyproject,
                python3-all,
                python3-pytest <!nocheck>,
                python3-setuptools


=====================================
debian/patches/pep517.patch
=====================================
@@ -0,0 +1,10 @@
+Description: Add support for PEP 517.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Turbo87/utm/pull/153
+
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,3 @@
++[build-system]
++requires = ["setuptools"]
++build-backend = "setuptools.build_meta"


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+pep517.patch


=====================================
debian/rules
=====================================
@@ -2,6 +2,7 @@
 
 export PYBUILD_NAME=utm
 export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/usr/bin'
+export PYTHONPATH=$(CURDIR)
 
 %:
 	dh $@ --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/debian-gis-team/utm/-/commit/949cacd933f3f88c4577b461a3d0d1d32f29991c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/utm/-/commit/949cacd933f3f88c4577b461a3d0d1d32f29991c
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260602/cdbe8947/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list