[med-svn] [Git][med-team/python-pbcore][master] 2 commits: Make the build reproducible (Thanks for the patch to Chris Lamb) Closes: #1089095
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sun Feb 16 14:11:07 GMT 2025
Andreas Tille pushed to branch master at Debian Med / python-pbcore
Commits:
38c57424 by Andreas Tille at 2025-02-16T15:09:46+01:00
Make the build reproducible (Thanks for the patch to Chris Lamb) Closes: #1089095
- - - - -
43041cd9 by Andreas Tille at 2025-02-16T15:10:49+01:00
Thanks for the patch ...
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,12 @@
python-pbcore (2.1.2+dfsg-11) UNRELEASED; urgency=medium
* d/p/remove-pkg-resources.patch: replace the usages of pkg_resources
- with importlib.resources for Python 3.13 compatibility
+ with importlib.resources for Python 3.13 compatibility (Thanks for the
+ patch to Vladimir Petko)
Closes: #1093230 (LP: #2095040).
* d/t/control: add smoke test.
+ * Make the build reproducible (Thanks for the patch to Chris Lamb)
+ Closes: #1089095
-- Andreas Tille <tille at debian.org> Sun, 16 Feb 2025 15:01:30 +0100
=====================================
debian/rules
=====================================
@@ -6,6 +6,7 @@ include /usr/share/dpkg/default.mk
export PYBUILD_NAME = pbcore
export PYBUILD_AFTER_INSTALL = \
chmod -x {destdir}/{install_dir}/pbcore/data/datasets/*.xml
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/coverage.xml {build_dir}/nosetests.xml
DESTDIR = $(CURDIR)/debian/python3-$(PYBUILD_NAME)
DOCDIR = $(CURDIR)/debian/python-pbcore-doc
export LC_ALL=C.UTF-8
@@ -22,8 +23,6 @@ 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
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
View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/0394386bd056c9173a2910b8df5f06b635b084da...43041cd9372dc0624ef0be241a30529366700c23
--
View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/0394386bd056c9173a2910b8df5f06b635b084da...43041cd9372dc0624ef0be241a30529366700c23
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/20250216/489ce527/attachment-0001.htm>
More information about the debian-med-commit
mailing list