Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769917 - net-misc/youtube-dl: show elog messages only when packages are really missing
Summary: net-misc/youtube-dl: show elog messages only when packages are really missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 20:39 UTC by Pacho Ramos
Modified: 2021-06-25 09:50 UTC (History)
1 user (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 Pacho Ramos gentoo-dev 2021-02-10 20:39:58 UTC
Currently youtube-dl ebuilds warn about extra packages that could optionally be needed every time it is ebuild... even if the packages are installed already. Maybe optfeature.eclass could be used to print the messages only when really needed... or check for the missing packages before printing the paragraphs 

Thanks a lot
Comment 1 Larry the Git Cow gentoo-dev 2021-06-25 09:50:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d0659c3dbcaf2600e6fe934e64d0d1a53dd5c4

commit 70d0659c3dbcaf2600e6fe934e64d0d1a53dd5c4
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-06-25 09:48:28 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-06-25 09:50:03 +0000

    net-misc/youtube-dl: only mention optional pkgs if they are absent
    
    Doing it with has_version directly because optfeature.eclass is geared
    towards short descriptions and several of these are anything but.
    
    Closes: https://bugs.gentoo.org/769917
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-misc/youtube-dl/youtube-dl-2021.05.16.ebuild | 39 +++++++++++++-----------
 net-misc/youtube-dl/youtube-dl-2021.06.06.ebuild | 39 +++++++++++++-----------
 net-misc/youtube-dl/youtube-dl-9999.ebuild       | 39 +++++++++++++-----------
 3 files changed, 66 insertions(+), 51 deletions(-)