🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #66

Bug#1150257: pillow: please define a nodoc build profile in order to trim the key package set

#66
From: Alexandre Detiste
Date: Wed, 07 Oct 2026 17:50
71 lines
4858 bytes
Source: pillow
Version: 12.3.0-1
Severity: normal

Hi Matthias,

I've been working for a while on reducing the key package set.
 https://release.debian.org/key-packages.html


Pillow is a key package which is perfectly fine;
I'm a long-time happy user of this package myself.


Please consider the patch hereunder to avoid transitively
making Sphinx & Sphinx extensions key packages too.


Please note: python3-sphinx-rtd-theme was dropped altogheter
             as it it nowadays replaced by "furo".


Greetings

Alexandre


--- ../control  2026-10-07 19:30:30.011189892 +0200
+++ debian/control      2026-10-07 19:32:01.928069220 +0200
@@ -18,11 +18,14 @@
   libtiff5-dev | libtiff-dev, libwebp-dev, libraqm-dev,
   libimagequant-dev,
   libopenjp2-7-dev,
-Build-Depends-Indep: python3-doc,
-  python3-sphinx, python3-sphinx-rtd-theme,
-  python3-sphinx-issues, python3-sphinx-copybutton,
-  python3-sphinx-inline-tabs, python3-sphinxext-opengraph,
-  furo,
+Build-Depends-Indep:
+  furo <!nodoc>,
+  python3-doc <!nodoc>,
+  python3-sphinx <!nodoc>,
+  python3-sphinx-copybutton <!nodoc>,
+  python3-sphinx-inline-tabs <!nodoc>,
+  python3-sphinx-issues <!nodoc>,
+  python3-sphinxext-opengraph <!nodoc>,
 Rules-Requires-Root: binary-targets
 Standards-Version: 4.7.4
 Homepage: http://python-pillow.github.io/
--- ../rules    2026-10-07 19:32:36.043919822 +0200
+++ debian/rules        2026-10-07 19:34:06.112826460 +0200
@@ -28,7 +28,9 @@
        : # FIXME: do not ignore warnings ...
 #      -PYTHONPATH=$(CURDIR)/src:$(CURDIR)/$(lastword $(wildcard build/lib.*)) $(MAKE) -C docs html
        (cd src; tar cf - PIL) | (cd $(lastword $(wildcard build/lib.*)); tar xf -)
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
        -PYTHONPATH=$(CURDIR)/$(lastword $(wildcard build/lib.*)) $(MAKE) -C docs html
+endif
        touch $@
 
 build-stamp: $(PY3VERS:%=build-stamp-python%) $(PY3VERS:%=check-stamp-python%)
@@ -134,7 +136,9 @@
        dh_testroot -i
        dh_installdocs -i
        dh_installdocs -ppython-pil-doc docs/_build/html
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
        dh_sphinxdoc -ppython-pil-doc
+endif
        dh_installexamples -i
        dh_installchangelogs -i CHANGES.rst
        dh_python3 -i
Technical Details
Message-ID: <NLDW9-47l7-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150257: pillow: please define a nodoc build profile in order to trim the key package set
Date: Wed, 07 Oct 2026 19:50:01 +0200
Message-ID: <NLDW9-47l7-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct  7 17:43:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.548
Reply-To: Alexandre Detiste <alexandre.detiste@gmail.com>, 1150257@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: doko@debian.org
X-Debian-Pr-Message: report 1150257
X-Debian-Pr-Package: src:pillow
X-Debian-Pr-Source: pillow
X-Gm-Message-State: AFuF++n/qWQLPS3+RZjSeuAi9PQUtxAQNFEFXwYrRWfuGewFlSUYENhn
	lu/v+hgC6lihfvS93uSHi5Tuf2CY3q/c7itZP0GUNVg/XaENRybdHFlDDc9/KCiK
X-Gm-Gg: AYBFou2qQf9DMOC4I7IK4JIrBeCKKxannPd6rgARf5LaT8vImmNjuScpbov8ICzd5cK
	SipFsAb//ao+p5da6e24VZVZ5jnLKXOKBnRv4ietKTTBF2VtRJXmUhflXqIP1Fzym/HZHZvKtAL
	//od0OZtxezEz7nX30IAav/sbuPyFNAlUcJBS6WAqRVpNiyshhxuMqTs9bXbM8FeusTXTjV5WUi
	Q1IU4M4VxqognMLZm7cOPdyPsbDOwULCSScyOJIQ9XyPVnP3+CmtpM8wiw4Sr0rl49VtvrL8dCE
	Yb2fUtO/MeiK4edle7m/oZEoOPo2kmtluhI11fnA1QaDwKBPBos9YipAThNrC9Xe2A1sYsdpbcx
	EhnJ27O5N0yDHhy3Yu0g81vZB0HALOyVLQiCCTBT39rNEnHwd7mWxuNqCPhJyV+xw6uQzKw3UA+
	fTMxl32xrl7V56LFb5BcFk6BV7pznYCUyP+X7BQAGpbfB5r3S6iIZhkgmP9DqsoQcFsvjEhUFpN
	zb6fFZh0bo2iAjB1eYcb+3Xjh94J10IUWLOGIrDNZd/3Vf+ar7vLP4bAky/ff66Eb4rX5gxHGh4
	1tg9JXrNLA==
X-Received: by 2002:a17:906:c142:b0:c2a:d65c:c194 with SMTP id a640c23a62f3a-c317be4037bmr283692566b.29.1791394873977;
        Wed, 07 Oct 2026 10:41:13 -0700 (PDT)
X-Google-Original-From: Alexandre Detiste <tchet@debian.org>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995583
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 71
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 07 Oct 2026 19:41:12 +0200
X-Original-Message-ID: <179139487287.180127.17756394447887625716.reportbug@quieter>