diff -Nru matplotlib-1.4.2/debian/changelog matplotlib-1.4.2/debian/changelog --- matplotlib-1.4.2/debian/changelog 2015-02-14 00:52:10.000000000 +0000 +++ matplotlib-1.4.2/debian/changelog 2015-07-21 21:03:47.000000000 +0000 @@ -1,3 +1,10 @@ +matplotlib (1.4.2-3.1ubuntu1) wily; urgency=medium + + [ Barry Warsaw ] + * d/rules: Be prepared to build for multiple Python 3 versions. + + -- Steve Langasek Tue, 21 Jul 2015 21:03:46 +0000 + matplotlib (1.4.2-3.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru matplotlib-1.4.2/debian/control matplotlib-1.4.2/debian/control --- matplotlib-1.4.2/debian/control 2015-02-14 00:52:10.000000000 +0000 +++ matplotlib-1.4.2/debian/control 2015-07-21 21:11:12.000000000 +0000 @@ -1,7 +1,8 @@ Source: matplotlib Section: python Priority: optional -Maintainer: Sandro Tosi +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sandro Tosi Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 7), dh-python, diff -Nru matplotlib-1.4.2/debian/rules matplotlib-1.4.2/debian/rules --- matplotlib-1.4.2/debian/rules 2015-02-14 00:52:10.000000000 +0000 +++ matplotlib-1.4.2/debian/rules 2015-07-13 18:13:24.000000000 +0000 @@ -143,6 +143,11 @@ dh_testdir dh_testroot + -rm $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js + -rm $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js + -rm $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css + + python$* ./setup.py install_lib \ -d $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/ --no-compile python$* ./setup.py install_egg_info \ @@ -163,12 +168,14 @@ rm -rf $(CURDIR)/debian/$(p3dbg)/usr/lib/python3/dist-packages/matplotlib/backends/Matplotlib.nib/ # replace minified jquery with packaged version and hope it works - dh_link -ppython3-matplotlib usr/share/javascript/jquery/jquery.min.js \ - usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js - dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/jquery-ui.min.js \ - usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js - dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css \ - usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css + for i in $(PY3VERS); do \ + dh_link -ppython3-matplotlib usr/share/javascript/jquery/jquery.min.js \ + usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js; \ + dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/jquery-ui.min.js \ + usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js; \ + dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css \ + usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css; \ + done touch $@