[med-svn] [Git][med-team/dcmstack][master] patch-out usage of legacy python3-mock
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sun Jan 7 14:03:30 GMT 2024
Alexandre Detiste pushed to branch master at Debian Med / dcmstack
Commits:
b97c19ef by Alexandre Detiste at 2024-01-07T15:03:01+01:00
patch-out usage of legacy python3-mock
- - - - -
3 changed files:
- debian/control
- + debian/patches/remove-python3-mock
- + debian/patches/series
Changes:
=====================================
debian/control
=====================================
@@ -9,7 +9,6 @@ Build-Depends: debhelper-compat (= 13),
python3-all,
python3-dicom,
python3-docutils,
- python3-mock,
python3-nibabel,
python3-numpy,
python3-numpydoc,
=====================================
debian/patches/remove-python3-mock
=====================================
@@ -0,0 +1,20 @@
+From: Alexandre Detiste <tchet at debian.org>
+Subject: patch-out trivial usage of legacy python3-mock
+
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -14,7 +14,7 @@
+ import sys, os
+
+ #Mock unavailable packages for ReadTheDocs
+-import mock
++from unittest import mock
+
+ MOCK_MODULES = ['numpy',
+ 'nibabel',
+--- a/doc/pip_requirements.txt
++++ b/doc/pip_requirements.txt
+@@ -1,3 +1,2 @@
+ pydicom >= 0.9.7
+ numpydoc
+-mock
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+remove-python3-mock
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/commit/b97c19ef40de789e829c37a6477fbc31eb201703
--
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/commit/b97c19ef40de789e829c37a6477fbc31eb201703
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/debian-med-commit/attachments/20240107/91229b3a/attachment-0001.htm>
More information about the debian-med-commit
mailing list