Étienne Mollier pushed to branch master at Debian Med / openslide-python
Commits:
63b6209b by Étienne Mollier at 2026-09-06T20:14:18+02:00
d/rules: define substvar ${libopenslide:Depends}.
This attempts to determine dynamically the libopenslide soversion.
- - - - -
9351e119 by Étienne Mollier at 2026-09-06T20:15:26+02:00
d/control: use the dynamically defined libopenslideN dependency.
Closes: #1146886
- - - - -
22e67ba9 by Étienne Mollier at 2026-09-06T20:18:38+02:00
Rename d/docs as d/python3-openslide.docs.
- - - - -
ab250567 by Étienne Mollier at 2026-09-06T20:20:05+02:00
d/control: remove unused ${misc:Depends} subsvars.
- - - - -
8a0409d2 by Étienne Mollier at 2026-09-06T20:20:56+02:00
d/changelog: ready for upload to unstable.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/docs → debian/python3-openslide.docs
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+openslide-python (1.4.6-3) unstable; urgency=medium
+
+ * d/rules: define substvar ${libopenslide:Depends}.
+ This attempts to determine dynamically the libopenslide soversion.
+ * d/control: use the dynamically defined libopenslideN dependency.
+ (Closes: #1146886)
+ * Rename d/docs as d/python3-openslide.docs.
+ * d/control: remove unused ${misc:Depends} subsvars.
+
+ -- Étienne Mollier <[email protected]> Sun, 06 Sep 2026 20:20:26 +0200
+
openslide-python (1.4.6-2) unstable; urgency=medium
* d/rules: isolate samples shabang fixup.
=====================================
debian/control
=====================================
@@ -20,9 +20,8 @@ Homepage: https://openslide.org
Package: python3-openslide
Architecture: any
Depends: ${shlibs:Depends},
- ${misc:Depends},
${python3:Depends},
- libopenslide0,
+ ${libopenslide:Depends},
python3-pil
Recommends: python-openslide-examples
Description: Python 3 wrapper for reading whole slide image files
@@ -51,8 +50,7 @@ Description: Python 3 wrapper for reading whole slide image
files
Package: python-openslide-examples
Architecture: all
-Depends: ${misc:Depends},
- python3-flask,
+Depends: python3-flask,
libjs-jquery,
python3-openslide
Description: Python examples for python-openslide and python3-openslide
=====================================
debian/docs → debian/python3-openslide.docs
=====================================
=====================================
debian/rules
=====================================
@@ -37,3 +37,12 @@ override_dh_compress:
execute_after_dh_install:
# Remove unused file tripping lintian.
rm -vf
debian/*/usr/lib/python*/dist-packages/openslide_python-*.dist-info/top_level.txt
+
+# ${shlibs:Depends} does not capture the dependency on libopenslideN
+# library, so dynamic determination of the library is done by hand.
+LIBOPENSLIDE = $(shell \
+ dpkg-query -f '$${Depends}' -W libopenslide-dev \
+ | sed 's/.*\(libopenslide[0-9]\+\).*/\1/' \
+ )
+override_dh_gencontrol:
+ dh_gencontrol -- -Vlibopenslide:Depends='$(LIBOPENSLIDE)'
View it on GitLab:
https://salsa.debian.org/med-team/openslide-python/-/compare/f762461d100620fe06dfa12655907d31934f5e84...8a0409d2fec4b0c4e3bfd7981ae3858fa9d13928
--
View it on GitLab:
https://salsa.debian.org/med-team/openslide-python/-/compare/f762461d100620fe06dfa12655907d31934f5e84...8a0409d2fec4b0c4e3bfd7981ae3858fa9d13928
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit