[med-svn] [Git][med-team/openslide-python][master] 2 commits: d/rules: fix ftbfs with new dh-python.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed Nov 15 14:29:03 GMT 2023



Étienne Mollier pushed to branch master at Debian Med / openslide-python


Commits:
c6683735 by Étienne Mollier at 2023-11-15T15:19:12+01:00
d/rules: fix ftbfs with new dh-python.

Save and restore of egg-info looks now correctly taken in account.

- - - - -
1461ccaa by Étienne Mollier at 2023-11-15T15:28:23+01:00
ready to upload to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+openslide-python (1.3.1-2) unstable; urgency=medium
+
+  * d/rules: fix ftbfs with new dh-python.
+    Save and restore of egg-info looks now correctly taken in account.
+
+ -- Étienne Mollier <emollier at debian.org>  Wed, 15 Nov 2023 15:23:34 +0100
+
 openslide-python (1.3.1-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/rules
=====================================
@@ -8,12 +8,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 	dh $@ --buildsystem=pybuild
 
 execute_before_dh_auto_build:
-	cp -a openslide_python.egg-info openslide_python.egg-info.orig
+	if [ -d openslide_python.egg-info ] \
+	; then cp -a openslide_python.egg-info openslide_python.egg-info.orig \
+	; fi
 
 execute_before_dh_clean:
 	if [ -d openslide_python.egg-info.orig ] \
 	; then rm -r openslide_python.egg-info \
-	&&     mv openslide_python.egg-info.orig openslide_python.egg-info \
+	       && mv openslide_python.egg-info.orig openslide_python.egg-info \
 	; fi
 
 override_dh_installexamples:



View it on GitLab: https://salsa.debian.org/med-team/openslide-python/-/compare/2cc79a6568103ea30033480909948ec46424f61a...1461ccaa2987d1a66d4d430b71c5b1eb377d3f5e

-- 
View it on GitLab: https://salsa.debian.org/med-team/openslide-python/-/compare/2cc79a6568103ea30033480909948ec46424f61a...1461ccaa2987d1a66d4d430b71c5b1eb377d3f5e
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/20231115/d1475f34/attachment-0001.htm>


More information about the debian-med-commit mailing list