Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 543188

Summary: net-misc/youtube-dl - add live ebuild
Product: Gentoo Linux Reporter: Leonardo Amaral <contato>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli, nirbheek
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: youtube-dl-9999.ebuild
youtube-dl-9999

Description Leonardo Amaral 2015-03-13 17:11:06 UTC
Created attachment 398814 [details]
youtube-dl-9999.ebuild

Request for merge yooutube-dl-9999 for git version compilation.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-04 08:38:10 UTC
Comment on attachment 398814 [details]
youtube-dl-9999.ebuild

make -j10 -C docs man
make: Entering directory '/home/jer/portage/net-misc/youtube-dl-99999999/work/youtube-dl/docs'
Makefile:12: *** The 'sphinx-build' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the 'sphinx-build' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/.  Stop.
make: Leaving directory '/home/jer/portage/net-misc/youtube-dl-99999999/work/youtube-dl/docs'

So that would need a DEPEND on dev-python/sphinx.

Why does this ebuild inherit python-single-r1.eclass?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-04 08:58:29 UTC
It would also need to DEPEND on app-text/pandoc.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-04 08:59:29 UTC
app-text/pandoc would pull in:

Total: 90 packages (90 new), Size of downloads: 205,019 KiB

:-\
Comment 4 Leonardo Amaral 2015-04-06 18:13:12 UTC
Upstream uses pandoc to compile README.txt and youtube-dl.1. But these files got compiled by sphinx and pandoc is just used in Makefile (For all i've inspected), so i don think pandoc is needed, but sphinx is a dependency and its added.

Also removed the python-single-r1 class, is useless in this ebuild in fact but in sometime i think use python class can be more beautiful since official build instructions uses pip (And support setuptools).

Attaching a changed ebuild, but sometime may be nice rethink these build system.
Comment 5 Leonardo Amaral 2015-04-06 18:13:54 UTC
Created attachment 400708 [details]
youtube-dl-9999

Version with removed python inherit and added sphinx dep.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-12-26 11:24:41 UTC
(In reply to Leonardo Amaral from comment #5)
> Created attachment 400708 [details]
> youtube-dl-9999
> 
> Version with removed python inherit and added sphinx dep.

Added with some changes.