Skip to content
Snippets Groups Projects
Commit d3e71e1e authored by Sandro Tosi's avatar Sandro Tosi
Browse files

Drop -doc package, nudging people towards py3k matplotlib

parent 68ab5375
No related branches found
No related tags found
No related merge requests found
matplotlib2 (2.2.4-3) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* Bump Standards-Version to 4.4.1.
-- Ondřej Nový <onovy@debian.org> Fri, 18 Oct 2019 15:27:00 +0200
[ Sandro Tosi ]
* Drop -doc package, nudging people towards py3k matplotlib
-- Sandro Tosi <morph@debian.org> Tue, 12 Nov 2019 19:43:45 -0500
matplotlib2 (2.2.4-2) unstable; urgency=medium
......
......@@ -90,7 +90,6 @@ Suggests: dvipng,
python-excelerator,
python-gi,
python-gobject-2,
python-matplotlib2-doc,
python-nose,
python-qt4,
python-scipy,
......@@ -120,19 +119,6 @@ Description: Python based plotting system (data package)
.
This package contains architecture independent data for python-matplotlib.
Package: python-matplotlib2-doc
Architecture: all
Section: doc
Depends: libjs-jquery, ${misc:Depends}
Description: Python based plotting system (documentation package)
Matplotlib is a pure Python plotting library designed to bring
publication quality plotting to Python with a syntax familiar to
Matlab users. All of the plotting commands in the pylab interface can
be accessed either via a functional interface familiar to Matlab
users or an object oriented interface familiar to Python users.
.
This package contains documentation for python-matplotlib.
Package: python-matplotlib-dbg
Architecture: any
Section: debug
......
Document: python-matplotlib2-doc
Title: Matplotlib
Author: Darren Dale, Michael Droettboom, Eric Firing, John Hunter
Abstract: matplotlib is a Python 2D plotting library which produces publication
quality figures in a variety of hardcopy formats and interactive environments
across platforms. matplotlib can be used in Python scripts, the Python and
ipython shell (ala matlab or mathematica), web application servers, and six
graphical user interface toolkits.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-matplotlib2-doc/html/index.html
Files: /usr/share/doc/python-matplotlib2-doc/html/*
copyright-should-refer-to-common-license-file-for-lgpl
extra-license-file
privacy-breach-piwik
......@@ -5,7 +5,6 @@ export XDG_RUNTIME_DIR=/tmp
PY2VERS := $(shell pyversions -v -r debian/control)
DEFPY := $(shell pyversions -v -d)
PY_PLATFORM := $(shell python -c 'from distutils.util import get_platform; print get_platform()')
pd := python-matplotlib2-doc
p := python-matplotlib
pdata := python-matplotlib2-data
pdbg := python-matplotlib-dbg
......@@ -18,9 +17,6 @@ build-indep: build-indep-stamp
build-indep-stamp: build-arch-stamp
dh_testdir
# build the doc
MPLCONFIGDIR=. MATPLOTLIBDATA=$(CURDIR)/lib/matplotlib/mpl-data/ PYTHONPATH=$(CURDIR)/build/lib.$(PY_PLATFORM)-$(DEFPY) $(MAKE) -C doc html
touch $@
build-arch: build-arch-stamp
......@@ -59,19 +55,6 @@ clean:
python$(i)-dbg ./setup.py clean --all; \
done
# clean the doc
# workaround for cleaning the doc ("doc/make.py clean" only runs useless svn-clean)
rm -f doc/api/_as_gen/*
#rm -rf doc/build doc/examples
#rm -f doc/mpl_examples/api/*.png
#rm -f doc/mpl_examples/pylab_examples/*.png
#rm -f doc/mpl_examples/pylab_examples/*.pdf
#rm -f doc/mpl_examples/units/*.png
#rm -f doc/pyplots/tex_demo.png
#rm -f doc/_static/matplotlibrc
#rm -f doc/_templates/gallery.html
find . -name '*.pyc' -exec rm {} \;
dh_clean lib/matplotlib/mpl-data/matplotlib.conf \
......@@ -79,13 +62,6 @@ clean:
rm -rf build
rm -rf lib/matplotlib.egg-info
# restore "pristine" doc/matplotlibrc
sed -i '/^examples\./d' $(CURDIR)/doc/matplotlibrc
## remove doc symlinks to examples directory
#rm -rf doc/mpl_examples
#rm -rf doc/mpl_toolkits/axes_grid/examples
# build twice in a row
rm -rf doc/tex.cache/ fontList.py3k.cache result_images/ test_cache/ tex.cache/ examples/pylab_examples/test.xls
rm -rf doc/finance.cache/ doc/fontList.cache fontList.cache
......@@ -159,13 +135,10 @@ binary-indep: build-indep install-indep
dh_testdir -i
dh_testroot -i
dh_installchangelogs
dh_installdocs -p$(pd) -i doc/build/html/ tutorials/
# remove pyc file from doc
dh_installexamples -p$(pd) -i examples/*
dh_installdocs
dh_installexamples examples/*
dh_compress -i -Xexamples -Xexamples/data -Xpdf -X.js -X.py -Xobjects.inv -X.html
dh_link -i
dh_sphinxdoc
find $(CURDIR)/debian/$(pd)/ -type f -name '*.pyc' | xargs --no-run-if-empty rm
dh_lintian -i
dh_fixperms -i
dh_installdeb -i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment