Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 603618
Collapse All | Expand All

(-)a/net-misc/youtube-dl/metadata.xml (+3 lines)
Lines 4-7 Link Here
4
  <maintainer type="person">
4
  <maintainer type="person">
5
    <email>jer@gentoo.org</email>
5
    <email>jer@gentoo.org</email>
6
  </maintainer>
6
  </maintainer>
7
  <use>
8
	<flag name="man">Build youtube-dl's man page</flag>
9
  </use>
7
</pkgmetadata>
10
</pkgmetadata>
(-)a/net-misc/youtube-dl/youtube-dl-99999999.ebuild (-2 / +4 lines)
Lines 14-20 EGIT_REPO_URI="https://github.com/rg3/youtube-dl.git" Link Here
14
LICENSE="public-domain"
14
LICENSE="public-domain"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS=""
16
KEYWORDS=""
17
IUSE="offensive test"
17
IUSE="offensive +man test"
18
18
19
RDEPEND="
19
RDEPEND="
20
	dev-python/setuptools[${PYTHON_USEDEP}]
20
	dev-python/setuptools[${PYTHON_USEDEP}]
Lines 23-28 DEPEND=" Link Here
23
	${RDEPEND}
23
	${RDEPEND}
24
	dev-python/sphinx[${PYTHON_USEDEP}]
24
	dev-python/sphinx[${PYTHON_USEDEP}]
25
	test? ( dev-python/nose[coverage(+)] )
25
	test? ( dev-python/nose[coverage(+)] )
26
	man? ( app-text/pandoc )
26
"
27
"
27
28
28
python_prepare_all() {
29
python_prepare_all() {
Lines 74-79 python_prepare_all() { Link Here
74
75
75
src_compile() {
76
src_compile() {
76
	distutils-r1_src_compile
77
	distutils-r1_src_compile
78
	use man && emake ${PN}.1
77
}
79
}
78
80
79
python_test() {
81
python_test() {
Lines 82-87 python_test() { Link Here
82
84
83
python_install_all() {
85
python_install_all() {
84
	dodoc README.md
86
	dodoc README.md
87
	use man && doman ${PN}.1
85
88
86
	distutils-r1_python_install_all
89
	distutils-r1_python_install_all
87
90
88
- 

Return to bug 603618