[med-svn] [Git][med-team/pydicom][master] 3 commits: We are not in a Git repository thus prevent sphinx from assuming we are

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Dec 7 17:56:13 GMT 2023



Andreas Tille pushed to branch master at Debian Med / pydicom


Commits:
a4db4166 by Andreas Tille at 2023-12-07T18:16:09+01:00
We are not in a Git repository thus prevent sphinx from assuming we are

- - - - -
470c01a0 by Andreas Tille at 2023-12-07T18:30:02+01:00
Build-Depends: texlive-latex-base, texlive-latex-extra and dvipng to enable sphinx feaures

- - - - -
0dc25829 by Andreas Tille at 2023-12-07T18:55:46+01:00
Add missing Build-Depends for missing sphinx features

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/series
- + debian/patches/sphinx_no_git.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -7,6 +7,8 @@ pydicom (2.4.3-1) UNRELEASED; urgency=medium
   * Standards-Version: 4.6.2 (routine-update)
   * Set upstream metadata fields: Repository.
   * Add missing build-dependency on flit.
+  * Build-Depends: texlive-latex-base, texlive-latex-extra, dvipng,
+    python3-mpl-sphinx-theme
 
  -- Andreas Tille <tille at debian.org>  Wed, 16 Aug 2023 10:34:49 +0200
 


=====================================
debian/control
=====================================
@@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-all,
                python3-pytest,
                python3-setuptools,
+               python3-setuptools-scm,
                python3-numpy,
                python3-docutils,
                python3-pil,
@@ -18,10 +19,14 @@ Build-Depends: debhelper-compat (= 13),
                python3-sphinx-rtd-theme,
                python3-sphinx-issues,
                python3-sphinx-copybutton,
+               python3-mpl-sphinx-theme,
                python3-gdcm,
                python3-matplotlib,
                python3-numpydoc,
-               flit
+               flit,
+               texlive-latex-base,
+               texlive-latex-extra,
+               dvipng,
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/pydicom
 Vcs-Git: https://salsa.debian.org/med-team/pydicom.git


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 deb_no_unicode
 ignore_tests_downloading_data.patch
 ignore_tests_with_wrong_gdcm_usage.patch
+sphinx_no_git.patch


=====================================
debian/patches/sphinx_no_git.patch
=====================================
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 07 Dec 2023 18:14:17 +0100
+Description: We are not in a Git repository thus prevent sphinx from assuming we are
+Forwarded: Not needed
+
+--- a/build_tools/sphinx/github_link.py
++++ b/build_tools/sphinx/github_link.py
+@@ -84,6 +84,6 @@ def make_linkcode_resolve(package, url_f
+                                    'blob/{revision}/{package}/'
+                                    '{path}#L{lineno}')
+     """
+-    revision = _get_git_revision()
++    revision = 'debian'
+     return partial(_linkcode_resolve, revision=revision, package=package,
+                    url_fmt=url_fmt)



View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/ec00b0e0146b2183a990d65b5406e17dcc07bfe3...0dc2582990a86ba100ada10847275aee3d29db8a

-- 
View it on GitLab: https://salsa.debian.org/med-team/pydicom/-/compare/ec00b0e0146b2183a990d65b5406e17dcc07bfe3...0dc2582990a86ba100ada10847275aee3d29db8a
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/20231207/27c3a3c7/attachment-0001.htm>


More information about the debian-med-commit mailing list