[Git][debian-gis-team/nik4][master] 3 commits: Add patch to not use deprecated distutils module.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Feb 20 20:07:13 GMT 2023



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


Commits:
e9f2a86c by Bas Couwenberg at 2023-02-20T21:06:10+01:00
Add patch to not use deprecated distutils module.

- - - - -
23426252 by Bas Couwenberg at 2023-02-20T21:06:14+01:00
Add pybuild-plugin-pyproject to build dependencies.

- - - - -
9371a326 by Bas Couwenberg at 2023-02-20T21:06:34+01:00
Mark no-distutils.patch as Forwarded.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/no-distutils.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
 nik4 (1.7-3) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.6.2, no changes.
+  * Add patch to not use deprecated distutils module.
+  * Add pybuild-plugin-pyproject to build dependencies.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 17:03:36 +0100
 


=====================================
debian/control
=====================================
@@ -5,8 +5,10 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Bas Couwenberg <sebastic at debian.org>
 Build-Depends: debhelper-compat (= 12),
                dh-python,
+               pybuild-plugin-pyproject,
                python3-all-dev,
                python3-mapnik,
+               python3-setuptools,
                docbook2x,
                docbook-xsl,
                docbook-xml,


=====================================
debian/patches/no-distutils.patch
=====================================
@@ -0,0 +1,26 @@
+Description: Don't use deprecated distutils module.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/Zverik/Nik4/pull/45
+
+--- a/setup.py
++++ b/setup.py
+@@ -1,4 +1,4 @@
+-from distutils.core import setup
++from setuptools import setup
+ 
+ setup(
+         name='Nik4',
+@@ -22,6 +22,7 @@ to see available options and their descr
+         requires=['Mapnik'],
+         keywords='Mapnik,GIS,OpenStreetMap,mapping,export',
+         scripts=['nik4.py'],
++        packages=[],
+         classifiers=[
+             'Development Status :: 5 - Production/Stable',
+             'Environment :: Console',
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,3 @@
++[build-system]
++requires = ["packaging", "setuptools"]
++build-backend = "setuptools.build_meta"


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 nik4.patch
 proj.patch
+no-distutils.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/nik4/-/compare/97375680820a5aa0ccfabc8292285f1b8035edc4...9371a326fbc3cfaa2b0cfe3f46da9005bbb7958a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/nik4/-/compare/97375680820a5aa0ccfabc8292285f1b8035edc4...9371a326fbc3cfaa2b0cfe3f46da9005bbb7958a
You're receiving this email because of your account on salsa.debian.org.


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


More information about the Pkg-grass-devel mailing list