Skip to content
Commits on Source (4)
pycorrfit (1.1.4+dfsg-3) unstable; urgency=medium
* Add patch tex_pkg_order.patch, thanks to Hilmar Preuße. Closes: #914729
* d/rules:
- respect nocheck in DEB_BUILD_OPTIONS
- run latex, bibtex, latex, latex mantra sequentially in order to build
bibliography
-- Alexandre Mestiashvili <mestia@debian.org> Tue, 27 Nov 2018 21:33:04 +0000
pycorrfit (1.1.4+dfsg-2) unstable; urgency=medium
* Remove libpython3-all-dev, Closes: #910750
......
tex_pkg_order.patch
Description: Load \usepackage[svgnames]{xcolor} before \usepackage{fancyvrb}
to avoid failures with LaTeX, thanks to Hilmar Preuße, #914729.
From: Alex Mestiashvili <mestia@debian.org>
Forwarded: https://github.com/FCS-analysis/PyCorrFit/issues/191
--- pycorrfit.orig/doc/PyCorrFit_doc.tex
+++ pycorrfit/doc/PyCorrFit_doc.tex
@@ -53,8 +53,8 @@
\usepackage{textcomp} % Sonderzeichen
\usepackage{wrapfig}
-\usepackage{fancyvrb}
\usepackage[svgnames]{xcolor} %Farben wie DarkBlue
+\usepackage{fancyvrb}
%%
%%
......@@ -4,6 +4,9 @@ export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+BINDNOW
export PYBUILD_NAME=pycorrfit
export PYBUILD_TEST_PYTEST=1
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
export PYBUILD_TEST_PYTEST=0
endif
export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/lib/${PYBUILD_NAME}
# see https://wiki.debian.org/ReproducibleBuilds/TimestampsInPDFGeneratedByLaTeX
DEB_DATE_RFC_2822 := $(shell dpkg-parsechangelog -S date)
......@@ -27,11 +30,10 @@ override_dh_auto_clean:
override_dh_auto_build:
cd $(DOCDIR) && \
( $(FAKETIME) $(PDFLATEX) \
bibtex $(BIBDOC) \
$(FAKETIME) $(PDFLATEX) \
$(FAKETIME) $(PDFLATEX) \
)
$(FAKETIME) $(PDFLATEX) && \
bibtex $(BIBDOC) && \
$(FAKETIME) $(PDFLATEX) && \
$(FAKETIME) $(PDFLATEX)
rm -f $(PDF); ln -s $(DOCDIR)/$(PDF)
convert -background "rgba(255,255,255,0)" -geometry 32x32 \
$(DOCDIR)/Images/PyCorrFit_icon.svg debian/pycorrfit.xpm
......