Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857108 - media-video/pipewire-0.54-r1 BDEPEND is pulling unnecessary packages when doc is disabled
Summary: media-video/pipewire-0.54-r1 BDEPEND is pulling unnecessary packages when doc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-09 06:43 UTC by Marcelo Politzer
Modified: 2022-07-09 06:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Politzer 2022-07-09 06:43:16 UTC
Package built with the following patch

```
--- pipewire-0.3.54-r1.ebuild	2022-07-08 22:40:22.000000000 -0300
+++ pipewire-0.3.54-r2.ebuild	2022-07-09 03:39:45.680828453 -0300
@@ -62,8 +62,8 @@
 	>=dev-util/meson-0.59
 	virtual/pkgconfig
 	${PYTHON_DEPS}
-	$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')
 	doc? (
+		$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')
 		app-doc/doxygen
 		media-gfx/graphviz
 	)
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-09 06:45:52 UTC
It's used for man pages (rst2man). I don't really think docutils is a heavy dependency.

If people really feel that upset about it, we can add a USE=man or something, but it feels a bit silly to do it for something so tiny.