Your message dated Thu, 02 Feb 2023 13:06:16 +0000
with message-id <[email protected]>
and subject line Bug#1026041: fixed in h5py 3.7.0-4
has caused the Debian Bug report #1026041,
regarding h5py: reduce Build-Depends
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1026041: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026041
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: h5py
Version: 3.7.0-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability
h5py has lots of Build-Depends of which quite many pose issues to cross
compilation. It turns out that a fair number of them are easily
droppable. A first observation is that the documentation is already
split to an Arch:all -doc package and sphinx is only run during an
binary-indep build. Moving all of the sphinx dependencies to B-D-I means
that they become irrelevant to cross building. Only the clean target
needd a small modification to make that work. In a similar vein,
<!nocheck> annotated dependencies become irrelevant to cross building
and that turns out to work for pytest. Another issue is python3-all-dev.
It has to be rewritten as python3-all-dev:any + libpython3-all-dev. I'm
attaching a patch for your convenience. I couldn't resist also replacing
hard coded pkg-config calls and hope this is acceptable as well.
Helmut
diff --minimal -Nru h5py-3.7.0/debian/changelog h5py-3.7.0/debian/changelog
--- h5py-3.7.0/debian/changelog 2022-11-14 17:45:49.000000000 +0100
+++ h5py-3.7.0/debian/changelog 2022-12-13 17:44:24.000000000 +0100
@@ -1,3 +1,16 @@
+h5py (3.7.0-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Reduce Build-Depends: (Closes: #-1)
+ + Declaratively request debhelper addons.
+ + Clean docs without requiring sphinx.
+ + Move sphinx dependencies to B-D-I.
+ + Annotate pytest dependencies <!nocheck>.
+ + Multiarchify python Build-Depends.
+ * Don't hard code the build architecture pkg-config.
+
+ -- Helmut Grohne <[email protected]> Tue, 13 Dec 2022 17:44:24 +0100
+
h5py (3.7.0-3) unstable; urgency=medium
* Team upload.
diff --minimal -Nru h5py-3.7.0/debian/control h5py-3.7.0/debian/control
--- h5py-3.7.0/debian/control 2022-11-14 17:45:49.000000000 +0100
+++ h5py-3.7.0/debian/control 2022-12-13 16:42:51.000000000 +0100
@@ -6,25 +6,28 @@
Priority: optional
Build-Depends: cython3 (>= 0.29.15),
debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
pybuild-plugin-pyproject,
dpkg-dev (>= 1.17.14),
libhdf5-dev,
libhdf5-mpi-dev (>= 1.10.6+repack-1),
- libjs-mathjax,
liblzf-dev,
+ libpython3-all-dev,
mpi-default-dev,
pkg-config,
- python3-all-dev,
+ python3-all-dev:any,
python3-cached-property,
python3-mpi4py (>= 3.0.3),
python3-numpy (>= 1.19.3),
python3-pkgconfig,
- python3-pytest,
- python3-pytest-mpi,
+ python3-pytest <!nocheck>,
+ python3-pytest-mpi <!nocheck>,
python3-setuptools,
python3-six,
python3-unittest2,
+Build-Depends-Indep:
+ dh-sequence-sphinxdoc <!nodoc>,
+ libjs-mathjax,
python3-sphinx <!nodoc>
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/science-team/h5py
diff --minimal -Nru h5py-3.7.0/debian/rules h5py-3.7.0/debian/rules
--- h5py-3.7.0/debian/rules 2022-11-14 17:45:49.000000000 +0100
+++ h5py-3.7.0/debian/rules 2022-12-13 16:29:57.000000000 +0100
@@ -4,6 +4,7 @@
#export DH_VERBOSE = 1
include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/buildtools.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -23,7 +24,7 @@
export OMPI_MCA_rmaps_base_oversubscribe=1
%:
- dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+ dh $@ --buildsystem=pybuild
override_dh_clean:
dh_clean
@@ -32,10 +33,7 @@
override_dh_auto_clean:
dh_auto_clean -D $(BUILD_DIR_SERIAL) || /bin/true
dh_auto_clean -D $(BUILD_DIR_MPI) || /bin/true
-ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
- $(MAKE) -C docs clean
- $(MAKE) -C docs_api clean
-endif
+ rm -Rf docs/_build docs_api/_build
override_dh_auto_configure:
mkdir $(BUILD_DIR_SERIAL); bash -O extglob -c "cp -ra
./!($(BUILD_DIR_SERIAL)) $(BUILD_DIR_SERIAL)"
@@ -66,7 +64,7 @@
for DIR in $$(find .pybuild/cpython3*mpi -name build); do \
cp -r $(CURDIR)/debian/wrapper_module/h5py/* $$DIR/h5py/; \
done
- cd $(BUILD_DIR_MPI)/lzf; $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(shell
pkg-config --cflags --libs hdf5-mpi liblzf) -fPIC -shared lzf_filter.c -o
liblzf_filter.so
+ cd $(BUILD_DIR_MPI)/lzf; $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(shell
$(PKG_CONFIG) --cflags --libs hdf5-mpi liblzf) -fPIC -shared lzf_filter.c -o
liblzf_filter.so
# build serial build only for arch builds
execute_after_dh_auto_build-arch: export http_proxy=127.0.0.1:9
@@ -76,7 +74,7 @@
for DIR in $$(find .pybuild/cpython3*serial -name build); do \
cp -r $(CURDIR)/debian/wrapper_module/h5py/* $$DIR/h5py/; \
done
- cd $(BUILD_DIR_SERIAL)/lzf; $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
$(shell pkg-config --cflags --libs hdf5-serial liblzf) -fPIC -shared
lzf_filter.c -o liblzf_filter.so
+ cd $(BUILD_DIR_SERIAL)/lzf; $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
$(shell $(PKG_CONFIG) --cflags --libs hdf5-serial liblzf) -fPIC -shared
lzf_filter.c -o liblzf_filter.so
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
@@ -122,8 +120,8 @@
rm -rf
debian/python3-h5py-serial/usr/lib/python*/dist-packages/h5py/_debian_h5py_serial/tests/data_files
rm -rf
debian/python3-h5py-mpi/usr/lib/python*/dist-packages/h5py/_debian_h5py_mpi/tests/data_files
dh_install -a
- dh_install -phdf5-plugin-lzf $(BUILD_DIR_SERIAL)/lzf/liblzf_filter.so
$(shell pkg-config --variable=PluginDir hdf5-serial)
- dh_install -phdf5-plugin-lzf $(BUILD_DIR_MPI)/lzf/liblzf_filter.so
$(shell pkg-config --variable=PluginDir hdf5-mpi)
+ dh_install -phdf5-plugin-lzf $(BUILD_DIR_SERIAL)/lzf/liblzf_filter.so
$(shell $(PKG_CONFIG) --variable=PluginDir hdf5-serial)
+ dh_install -phdf5-plugin-lzf $(BUILD_DIR_MPI)/lzf/liblzf_filter.so
$(shell $(PKG_CONFIG) --variable=PluginDir hdf5-mpi)
override_dh_python3-arch:
PYBUILD_NAME=$(PYBUILD_NAME_SERIAL) dh_python3
--- End Message ---
--- Begin Message ---
Source: h5py
Source-Version: 3.7.0-4
Done: Drew Parsons <[email protected]>
We believe that the bug you reported is fixed in the latest version of
h5py, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (supplier of updated h5py package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 02 Feb 2023 13:06:51 +0100
Source: h5py
Architecture: source
Version: 3.7.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1025575 1026041 1030220 1030274
Changes:
h5py (3.7.0-4) unstable; urgency=medium
.
* Team upload.
.
[ Drew Parsons ]
* use pydist files so that dh_python3 uses the generic python3-h5py
package as the h5py python package dependency for both
python3-h5py-serial and python3-h5py-mpi.
Closes: #1025575, #1030220, #1030274.
* Standards-Version: 4.6.2
.
[ Helmut Grohne ]
* Reduce Build-Depends: (Closes: #1026041)
+ Declaratively request debhelper addons.
+ Clean docs without requiring sphinx.
+ Move sphinx dependencies to B-D-I.
+ Annotate pytest dependencies <!nocheck>.
+ Multiarchify python Build-Depends.
* Don't hard code the build architecture pkg-config.
Checksums-Sha1:
1c84504fde1e832ea07fe3168655aa7176018769 2863 h5py_3.7.0-4.dsc
dc13f8fe7005a062d63dab8ad2d716e078dbd908 19512 h5py_3.7.0-4.debian.tar.xz
Checksums-Sha256:
667be1968859002a47e69f954061d7919e037d073dab291cab517dda5fd69eb0 2863
h5py_3.7.0-4.dsc
65d5b211f2438f9a2c5b79655141616d463217a6d97fac232f10403617eeb1d3 19512
h5py_3.7.0-4.debian.tar.xz
Files:
8fc0446f176b219285e0aa0e1cdea3d1 2863 python optional h5py_3.7.0-4.dsc
ab71f6f732788f35b2e7b0a9dfc3ea3d 19512 python optional
h5py_3.7.0-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmPbroIACgkQVz7x5L1a
AfqhTg/9GVkZsvrzVx7dlBHD6hXzWlSXXlYJrRur3V7UUpXy36XreQQthBaGHKaI
AY6wwsAt7GUcAvm9pLHRyuliYXjIT2PChCuq+xeTA64uj3EoN7Tpo65hiNhAvrm1
iY54tt+GDgaVHCQMVwR2JCxfN83TpcuVm0wgbMI2a9Yty7yddYJdk+YdTkAMwYEf
xcenVY7SZUM9uVis790UNuotPKF1Lryvq6ZmrSxsa2Y3VkXUYy3oD1JZqhX0Grvp
BXW9GYiK4KAHw2wagkkNFQQn5pbxrSXQMr27AFhtE+/hYxc37boVjT1+3XATpFvI
y5/uXylL/EcQeCUasEbmVBvZDGLRR+XNxRgtoLP2+lL4nvjmYt3QhwqS6A/jhppB
0MynakkWrjFlHfbgt7VROfFxpYgLjhd3BQt30/vqLQ2uRHcdL5TG5c4dptxIurAx
rXiV+POPC4FDJl/4g2g+CDfZfzcUGALasLISklaiUeovjQcjk3ge95G4Z+oTwpso
CiaKa3EDyCI/WjqbfAQc/Pg+/yNKINkPSftiSQtvKOt1uClaliwYDUNzoeyboR6F
YxOyE3LFICqHSNWlS8zOS+KNITKBuJtbjCrhjmb0UiGmtPhj5JCjpyeaaUkiSanx
ZR4qBZzCTUx2Veh/JpXNlYBxYOjR6F76ZpyDoQ364yGGZuXyxms=
=2U6N
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers