[Git][debian-gis-team/pykml][master] Add patch to not use deprecated distutils module.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Feb 21 07:02:17 GMT 2023



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


Commits:
f223e294 by Bas Couwenberg at 2023-02-21T08:02:04+01:00
Add patch to not use deprecated distutils module.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,7 @@ pykml (0.2.0+dfsg-4) UNRELEASED; urgency=medium
   [ Bas Couwenberg ]
   * Enable Salsa CI.
   * Bump Standards-Version to 4.6.2, no changes.
+  * Add patch to not use deprecated distutils module.
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 10 Aug 2022 06:34:39 +0000
 


=====================================
debian/control
=====================================
@@ -7,6 +7,7 @@ Rules-Requires-Root: no
 Testsuite: autopkgtest-pkg-python
 Build-Depends: debhelper-compat (= 12),
                dh-python,
+               pybuild-plugin-pyproject,
                python3-all,
                python3-lxml,
                python3-pytest,


=====================================
debian/patches/no-distutils.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Don't use deprecated distutils module.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/tylere/pykml/pull/44
+
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,3 @@
++[build-system]
++requires = ["setuptools"]
++build-backend = "setuptools.build_meta"
+--- a/setup.py
++++ b/setup.py
+@@ -1,8 +1,6 @@
+ import sys, os
+-try:
+-    from setuptools import setup
+-except ImportError:
+-    from distutils.core import setup
++
++from setuptools import setup
+ 
+ version = '0.2.0'
+ 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-absolute-import.patch
 0002-resources.patch
 0003-fix-tests.patch
+no-distutils.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pykml/-/commit/f223e294d369e40f3e94382b777a675d337de941

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pykml/-/commit/f223e294d369e40f3e94382b777a675d337de941
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/20230221/d5c277a8/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list