Control: tags 1065989 + patch
Control: tags 1065989 + pending

Dear maintainer,

I've prepared an NMU for tulip (versioned as 5.4.0+dfsg-3.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
cheers,
        Emmanuel Arias

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  eam...@debian.org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1                    
 
 ⠈⠳⣄
diff -Nru tulip-5.4.0+dfsg/debian/changelog tulip-5.4.0+dfsg/debian/changelog
--- tulip-5.4.0+dfsg/debian/changelog	2021-01-18 11:43:38.000000000 -0300
+++ tulip-5.4.0+dfsg/debian/changelog	2024-07-15 21:55:41.000000000 -0300
@@ -1,3 +1,13 @@
+tulip (5.4.0+dfsg-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/patches/remove_distutils.patch: Add patch to remove use of distutils
+    in the package.
+  * d/control: Remove python3-distutils package from Build Dependency
+    (Closes: #1065989).
+
+ -- Emmanuel Arias <eam...@debian.org>  Mon, 15 Jul 2024 21:55:41 -0300
+
 tulip (5.4.0+dfsg-3) unstable; urgency=medium
 
   * Team upload
diff -Nru tulip-5.4.0+dfsg/debian/control tulip-5.4.0+dfsg/debian/control
--- tulip-5.4.0+dfsg/debian/control	2021-01-18 11:42:57.000000000 -0300
+++ tulip-5.4.0+dfsg/debian/control	2024-07-15 21:55:41.000000000 -0300
@@ -24,7 +24,6 @@
           libfreetype6-dev,
           libutfcpp-dev,
           python3,
-          python3-distutils,
           python3-sphinx,
           libpython3-dev,
           python3-sip-dev,
diff -Nru tulip-5.4.0+dfsg/debian/patches/remove_distutils.patch tulip-5.4.0+dfsg/debian/patches/remove_distutils.patch
--- tulip-5.4.0+dfsg/debian/patches/remove_distutils.patch	1969-12-31 21:00:00.000000000 -0300
+++ tulip-5.4.0+dfsg/debian/patches/remove_distutils.patch	2024-07-15 21:54:56.000000000 -0300
@@ -0,0 +1,32 @@
+Description: Remove use of distutils in the source
+ This patch remove the use of python3-distutils in the package.
+Author: Emmanuel Arias <eam...@debian.org>
+Bug-Debian: https://bugs.debian.org/1065989
+Forwarded: no
+Reviewed-by:
+Last-Update: 2024-07-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/cmake/TulipPython.cmake
++++ b/cmake/TulipPython.cmake
+@@ -19,7 +19,6 @@
+ from __future__ import print_function
+ import site
+ import sys
+-from distutils.sysconfig import get_python_lib
+ py_version = str(sys.version_info[0]) # + '.' + str(sys.version_info[1])
+ if sys.version_info >= (2, 7):
+   for path in site.getsitepackages():
+@@ -31,12 +30,6 @@
+       print(path)
+       exit()
+   print(site.getusersitepackages())
+-else:
+-  path = get_python_lib(1)
+-  if path.startswith('${CMAKE_INSTALL_PREFIX}') and py_version in path:
+-    print(path)
+-    exit()
+-  print(site.USER_SITE)
+ "
+                   OUTPUT_VARIABLE TulipPythonModulesInstallDir)
+   STRING(REPLACE "\n" "" TulipPythonModulesInstallDir "${TulipPythonModulesInstallDir}")
diff -Nru tulip-5.4.0+dfsg/debian/patches/series tulip-5.4.0+dfsg/debian/patches/series
--- tulip-5.4.0+dfsg/debian/patches/series	2020-11-14 13:09:43.000000000 -0300
+++ tulip-5.4.0+dfsg/debian/patches/series	2024-07-15 21:52:55.000000000 -0300
@@ -10,3 +10,4 @@
 0010-Undefine-gcc-linux-built-in-macro-for-multiarch.patch
 0011-Use-system-libjs-leaflet.patch
 0012-Add-support-for-Python-3-9.patch
+remove_distutils.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to