Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737812 - dev-libs/mongo-c-driver dev-libs/libbson - add USE=doc for dev-python/sphinx dependency
Summary: dev-libs/mongo-c-driver dev-libs/libbson - add USE=doc for dev-python/sphinx ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-18 09:04 UTC by C. Wijtmans
Modified: 2020-08-23 09:33 UTC (History)
0 users

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


Attachments
de-libs/libbson/libbson-1.17.0.ebuild.patch (file_737812.txt,1.64 KB, patch)
2020-08-22 17:28 UTC, C. Wijtmans
Details | Diff
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch (file_737812.txt,2.35 KB, patch)
2020-08-22 17:29 UTC, C. Wijtmans
Details | Diff
dev-libs/libbson/libbson-1.17.0.ebuild.patch (file_737812.txt,1.74 KB, patch)
2020-08-23 09:29 UTC, C. Wijtmans
Details | Diff
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch (file_737812.txt,2.63 KB, patch)
2020-08-23 09:33 UTC, C. Wijtmans
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description C. Wijtmans 2020-08-18 09:04:42 UTC
dev-libs/mongo-c-driver and dev-libs/libbson are the only packages pulling in sphinx without having a doc useflag.
Comment 1 C. Wijtmans 2020-08-22 15:08:28 UTC
In CMake: 
   if (ENABLE_MAN_PAGES STREQUAL ON OR ENABLE_HTML_DOCS STREQUAL ON)
      find_package (Sphinx REQUIRED)

So USE=-doc should disable ENABLE_MAN_PAGES and ENABLE_HTML_DOCS and compile without sphinx.
Comment 2 C. Wijtmans 2020-08-22 16:35:43 UTC
and this is worse than i thought: 

 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild: line 6: please migrate from 'cmake-utils' to 'cmake'
Comment 3 C. Wijtmans 2020-08-22 17:28:03 UTC
Created attachment 656212 [details, diff]
de-libs/libbson/libbson-1.17.0.ebuild.patch
Comment 4 C. Wijtmans 2020-08-22 17:29:51 UTC
Created attachment 656214 [details, diff]
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch
Comment 5 C. Wijtmans 2020-08-22 17:33:29 UTC
Further clean up can still be made however this allowed me to compile the packages and clean up sphinx from my system, saving 18! packages.
Comment 6 C. Wijtmans 2020-08-22 17:41:00 UTC
USE=pic could be added.
Comment 7 C. Wijtmans 2020-08-23 09:29:30 UTC
Created attachment 656324 [details, diff]
dev-libs/libbson/libbson-1.17.0.ebuild.patch
Comment 8 C. Wijtmans 2020-08-23 09:33:31 UTC
Created attachment 656326 [details, diff]
dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild.patch