# HG changeset patch # User Denis Laxalde # Date 1570806337 -7200 # Node ID 56a8fbdd6090ff873f0f1f0d95af71159e21a6d0 # Parent 320c53900d4a3b862f048bc3aab9e82a14bfc4dd debian: use pybuild and dh_sphinxdoc Use pybuild because it's kind of standard nowadays. Use sphinxdoc debhelper to have a Depends: libjs-sphinxdoc and common files (JS/CSS) symlinked. diff -r 320c53900d4a -r 56a8fbdd6090 debian/changelog --- a/debian/changelog Tue Oct 15 11:41:22 2019 +0200 +++ b/debian/changelog Fri Oct 11 17:05:37 2019 +0200 @@ -1,3 +1,9 @@ +mercurial-evolve (9.2.1-1.1) UNRELEASED; urgency=medium + + * build with pybuild and sphinxdoc + + -- Denis Laxalde Tue, 15 Oct 2019 11:41:40 +0200 + mercurial-evolve (9.2.1-1) unstable; urgency=medium * new upstream release diff -r 320c53900d4a -r 56a8fbdd6090 debian/control --- a/debian/control Tue Oct 15 11:41:22 2019 +0200 +++ b/debian/control Fri Oct 11 17:05:37 2019 +0200 @@ -10,10 +10,12 @@ mercurial (>= 4.5), python, debhelper (>= 8), + dh-python, python-sphinx (>= 1.0.8), imagemagick, librsvg2-bin, wget, + sphinx-common, X-Python-Version: >= 2.7 Homepage: https://www.mercurial-scm.org/doc/evolution/ @@ -22,7 +24,9 @@ Depends: ${python:Depends}, ${misc:Depends}, + ${sphinxdoc:Depends}, mercurial (>= 4.5), +Built-Using: ${sphinxdoc:Built-Using} Description: evolve extension for Mercurial This package provides the experimental "evolve" extension for the Mercurial DVCS. diff -r 320c53900d4a -r 56a8fbdd6090 debian/rules --- a/debian/rules Tue Oct 15 11:41:22 2019 +0200 +++ b/debian/rules Fri Oct 11 17:05:37 2019 +0200 @@ -2,7 +2,7 @@ #export DH_VERBOSE=1 %: - dh $@ --with python2 --buildsystem=python_distutils + dh $@ --with python2,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build