[med-svn] [Git][med-team/python-pbcore][master] 3 commits: Remove intersphinx

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Dec 16 17:25:57 GMT 2024



Andreas Tille pushed to branch master at Debian Med / python-pbcore


Commits:
23fe5b74 by Andreas Tille at 2024-12-16T17:51:15+01:00
Remove intersphinx

- - - - -
485a0c46 by Andreas Tille at 2024-12-16T18:22:06+01:00
d/rules: Fix removal of test remainings

- - - - -
4945d0ae by Andreas Tille at 2024-12-16T18:25:12+01:00
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/no-intersphinx.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-pbcore (2.1.2+dfsg-10) unstable; urgency=medium
+
+  * Remove intersphinx
+    Closes: #1090155
+  * d/rules: Fix removal of test remainings
+
+ -- Andreas Tille <tille at debian.org>  Mon, 16 Dec 2024 18:22:11 +0100
+
 python-pbcore (2.1.2+dfsg-9) unstable; urgency=medium
 
   * d/control: remove dependency on deprecated python3-pkg-resources.


=====================================
debian/patches/no-intersphinx.patch
=====================================
@@ -0,0 +1,21 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2024-12-16
+Bug-Debian: https://bugs.debian.org/1090155
+Description: remove intersphinx
+
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -33,7 +33,6 @@ except Exception:
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+ extensions = ['sphinx.ext.autodoc',
+-              'sphinx.ext.intersphinx',
+               'sphinx.ext.todo',
+               'sphinx.ext.doctest',
+               'sphinx.ext.inheritance_diagram']
+@@ -252,5 +251,3 @@ texinfo_documents = [
+ #texinfo_show_urls = 'footnote'
+ 
+ 
+-# Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ exclude_test_missing_data.patch
 b24746790c7105212e45dc2f40115d231bd8baae.patch
 seek-curdir-for-xml.patch
 numpy_1.24.patch
+no-intersphinx.patch


=====================================
debian/rules
=====================================
@@ -22,8 +22,10 @@ override_dh_install:
 	rmdir $(DOCDIR)/usr/share/doc/python3-pbcore/html/_images/
 
 execute_after_dh_python3:
-	rm -vf $(DESTDIR)/usr/lib/python3/dist-packages/coverage.xml
-	rm -vf $(DESTDIR)/usr/lib/python3/dist-packages/nosetests.xml
+	rm -vf $(DESTDIR)/usr/lib/python3*/dist-packages/coverage.xml
+	rm -vf $(DESTDIR)/usr/lib/python3*/dist-packages/nosetests.xml
+	find $(DESTDIR)/usr/lib/python3* -type d -name dist-packages -empty | xargs rm -rf
+	find $(DESTDIR)/usr/lib -type d -name "python3*" -empty | xargs rm -rf
 
 override_dh_installdocs:
 	dh_installdocs -X _source



View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/22a106af3d4c021a8b4a16f871917b38b20f7b6a...4945d0ae3b66009d5eba9017936f19d5708d913b

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/22a106af3d4c021a8b4a16f871917b38b20f7b6a...4945d0ae3b66009d5eba9017936f19d5708d913b
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/20241216/b64900f7/attachment-0001.htm>


More information about the debian-med-commit mailing list