Package: python-numpy Version: 1:1.16.2-1 Severity: normal Tags: patch Dear Maintainer,
The build dependency on python3-matplotlib creates an unnecessary build dependency loop. I believe the attached patch fixes the packaging so that python3-matplotlib is only required when building the documentation. -- System Information: Debian Release: 10.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: ia64 Kernel: Linux 5.0.0-trunk-mckinley (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python-numpy depends on: ii libblas3 [libblas.so.3] 3.8.0-2 ii libc6.1 2.28-2 ii liblapack3 [liblapack.so.3] 3.8.0-2 ii libunwind8 1.2.1-9 ii python 2.7.15-4 ii python-pkg-resources 40.8.0-1 ii python2.7 2.7.16-2 python-numpy recommends no packages. Versions of packages python-numpy suggests: ii gcc 4:8.3.0-1 ii gfortran 4:8.3.0-1 ii python-dev 2.7.15-4 ii python-numpy-dbg 1:1.16.2-1 pn python-numpy-doc <none> ii python-pytest 3.10.1-2 -- no debconf information
--- a/debian/control 2019-03-02 11:30:12.000000000 -0500 +++ b/debian/control 2019-06-04 00:44:33.681266367 -0400 @@ -3,6 +3,7 @@ Priority: optional Maintainer: Sandro Tosi <mo...@debian.org> Uploaders: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> +Build-Depends-Indep: python3-matplotlib Build-Depends: cython (>= 0.26-2.1), debhelper (>= 11), dh-python, @@ -15,7 +16,6 @@ python-all-dev, python3-all-dev, python-docutils, - python3-matplotlib, python-pytest, python3-pytest, python-setuptools, --- a/debian/rules 2019-03-02 11:30:12.000000000 -0500 +++ b/debian/rules 2019-06-04 00:39:11.123434195 -0400 @@ -25,6 +25,7 @@ python$$v-dbg setup.py build; \ done +override_dh_auto_build-indep: # build doc only for default python version (export MPLCONFIGDIR=. ; make -C doc html PYTHON=python3 PYTHONPATH=../$(PY3LIBPATH))