[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[asymptote] 13/16: Use dh-python helper. It does for example delete /usr/share/asymptote/__pycache in prerm.



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository asymptote.

commit 65accc0be3944e07374b40a250637fb34756d628
Author: Nicolas Boulenguez <nicolas@debian.org>
Date:   Tue Oct 31 11:34:52 2017 +0100

    Use dh-python helper. It does for example delete /usr/share/asymptote/__pycache in prerm.
---
 debian/control | 4 +++-
 debian/rules   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 185ad40..721f425 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Section: tex
 Priority: optional
 Build-Depends: bison,
                debhelper (>= 10),
+               dh-python,
                dpkg-dev (>= 1.16.1),
                flex,
                freeglut3-dev,
@@ -20,6 +21,7 @@ Build-Depends: bison,
                libncurses5-dev,
                libreadline-dev,
                libsigsegv-dev,
+               python,
                tex-common,
                texinfo,
                texlive-latex-base,
@@ -36,11 +38,11 @@ Vcs-Browser: https://anonscm.debian.org/gitweb/?p=debian-tex/asymptote.git
 Package: asymptote
 Architecture: any
 Depends: ${misc:Depends},
+         ${python:Depends},
          ${shlibs:Depends},
          ghostscript,
          imagemagick,
          install-info,
-         python,
          python-pil,
          python-pil.imagetk,
          texlive-binaries,
diff --git a/debian/rules b/debian/rules
index 4b71f73..2db259b 100644
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh $@
+	dh $@ --with python
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-gc=system	\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git


Reply to: