[Git][debian-gis-team/pywps][master] Add patch to not use deprecated distutils module.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Tue Feb 21 05:50:53 GMT 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / pywps
Commits:
414290ef by Bas Couwenberg at 2023-02-21T06:50:39+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
=====================================
@@ -3,6 +3,7 @@ pywps (4.5.2-3) UNRELEASED; urgency=medium
* Team upload.
* Add py3dist overrides for geotiff.
* Bump Standards-Version to 4.6.2, no changes.
+ * Add patch to not use deprecated distutils module.
-- Bas Couwenberg <sebastic at debian.org> Thu, 22 Dec 2022 20:53:43 +0100
=====================================
debian/control
=====================================
@@ -7,6 +7,7 @@ Build-Depends: debhelper-compat (= 12),
dh-apache2,
dh-python,
libjs-mathjax,
+ pybuild-plugin-pyproject,
python3-all,
python3-dateutil,
python3-gdal,
=====================================
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/geopython/pywps/pull/672
+
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,3 @@
++[build-system]
++requires = ["setuptools"]
++build-backend = "setuptools.build_meta"
+--- a/setup.py
++++ b/setup.py
+@@ -5,12 +5,7 @@
+
+ import sys
+
+-try:
+- from setuptools import setup
+-except ImportError:
+- from distutils.core import setup
+-
+-from setuptools import find_packages
++from setuptools import find_packages, setup
+
+ with open("VERSION.txt") as ff:
+ VERSION = ff.read().strip()
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
offline-tests.patch
use-mathjax-package.patch
privacy-breach.patch
+no-distutils.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pywps/-/commit/414290ef5e1b3ec8dbe0ea741129217a420c3832
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pywps/-/commit/414290ef5e1b3ec8dbe0ea741129217a420c3832
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/7b292bbd/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list