Hello, to make the package build in a buildd chroot some more adaptions are needed:
- Depend on python3-docutils (which was pulled in before by python3-sphinx) - Drop debian/dh-virtualenv.doc-base as the documentation is missing now - Don't call dh with --with sphinxdoc The complete deb diff now is: dpkg-source: warning: extracting unsigned source package (/home/uwe/debsrc/dh-virtualenv_1.2.2-1.4.dsc) diff -Nru dh-virtualenv-1.2.2/debian/changelog dh-virtualenv-1.2.2/debian/changelog --- dh-virtualenv-1.2.2/debian/changelog 2023-02-02 20:10:21.000000000 +0100 +++ dh-virtualenv-1.2.2/debian/changelog 2023-11-17 19:40:18.000000000 +0100 @@ -1,3 +1,10 @@ +dh-virtualenv (1.2.2-1.4) unstable; urgency=medium + + * Non-maintainer upload. + * Drop Sphinx docs (Closes: #1042646) + + -- Uwe Kleine-König <uklei...@debian.org> Fri, 17 Nov 2023 19:40:18 +0100 + dh-virtualenv (1.2.2-1.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru dh-virtualenv-1.2.2/debian/control dh-virtualenv-1.2.2/debian/control --- dh-virtualenv-1.2.2/debian/control 2022-08-25 21:00:57.000000000 +0200 +++ dh-virtualenv-1.2.2/debian/control 2023-11-17 19:40:18.000000000 +0100 @@ -2,26 +2,24 @@ Section: python Priority: optional Maintainer: Jyrki Pulliainen <jy...@dywypi.org> -Build-Depends: debhelper-compat (= 12), python3, - python3-setuptools, python3-sphinx, python3-mock, dh-exec, - dh-python, libjs-jquery, libjs-underscore, -# python-sphinx-rtd-theme doesn't exist in distributions -# predating Debian Jessie and Ubuntu Xenial. On these legacy -# systems: -# 1. Comment the dependency below. -# 2. pip install sphinx_rtd_theme. -# 3. Proceed with your build process (typically dpkg-build). -# See https://github.com/spotify/dh-virtualenv/issues/230 - python3-sphinx-rtd-theme +Build-Depends: + debhelper-compat (= 12), + python3, + python3-docutils, + python3-setuptools, + python3-mock, + dh-exec, + dh-python, + libjs-jquery, + libjs-underscore, Standards-Version: 4.5.0 Homepage: https://www.github.com/spotify/dh-virtualenv Rules-Requires-Root: no Package: dh-virtualenv Architecture: all -Depends: ${python3:Depends}, ${perl:Depends}, ${misc:Depends}, ${sphinxdoc:Depends}, +Depends: ${python3:Depends}, ${perl:Depends}, ${misc:Depends}, virtualenv | python3-virtualenv (>= 1.7) | python${pyversion}-venv -Built-Using: ${sphinxdoc:Built-Using} Description: wrap and build Python packages using virtualenv This package provides a dh sequencer that helps you to deploy your virtualenv wrapped installation inside a Debian package. diff -Nru dh-virtualenv-1.2.2/debian/dh-virtualenv.doc-base dh-virtualenv-1.2.2/debian/dh-virtualenv.doc-base --- dh-virtualenv-1.2.2/debian/dh-virtualenv.doc-base 2022-08-25 21:00:57.000000000 +0200 +++ dh-virtualenv-1.2.2/debian/dh-virtualenv.doc-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -Document: dh-virtualenv -Title: dh-virtualenv documentation -Author: Spotify -Abstract: This manual describes dh-virtualenv and how to use it. -Section: Programming - -Format: HTML -Index: /usr/share/doc/dh-virtualenv/html/index.html -Files: /usr/share/doc/dh-virtualenv/html/*.html diff -Nru dh-virtualenv-1.2.2/debian/rules dh-virtualenv-1.2.2/debian/rules --- dh-virtualenv-1.2.2/debian/rules 2022-08-25 21:00:57.000000000 +0200 +++ dh-virtualenv-1.2.2/debian/rules 2023-11-17 19:40:18.000000000 +0100 @@ -1,9 +1,6 @@ #!/usr/bin/make -f DH_ARGS ?= -ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) - DH_ARGS += --with sphinxdoc -endif PYTHON_VERSION := $(shell python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') @@ -22,9 +19,3 @@ override_dh_gencontrol: dh_gencontrol -- -Vpyversion=$(PYTHON_VERSION) - -ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) -override_dh_installdocs: - python3 setup.py build_sphinx - dh_installdocs doc/_build/html -endif I'll upload that to DELAYED/7 after sending this mail. Best regards Uwe
signature.asc
Description: PGP signature