python-youtube-dl: bump version to 2017.07.30.1
[opendreambox.git] / meta-opendreambox / recipes-devtools / python / python-youtube-dl_git.bb
1 SUMMARY = "Download videos from youtube.com or other video platforms"
2 HOMEPAGE = "http://rg3.github.io/youtube-dl/"
3 SECTION = "devel/python"
4 LICENSE = "Unlicense"
5 LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
6 DEPENDS = "libxml2"
7 SRCREV = "5c9ea67bc0dedd15a0ed9ad05d8fcf09946ca461"
8 PV = "2017.07.30.1+git${SRCPV}"
9
10 SRC_URI = "git://github.com/rg3/youtube-dl.git"
11
12 S = "${WORKDIR}/git"
13
14 inherit setuptools
15
16 EXTRA_OEMAKE = "PYTHON=${PYTHON}"
17
18 do_compile_prepend() {
19     oe_runmake lazy-extractors youtube-dl.bash-completion
20 }
21
22 do_install_append() {
23     mv ${D}${datadir}/etc ${D}${sysconfdir}
24     install -m 0755 -d ${D}${sysconfdir}/bash_completion.d
25     install -m 0644 youtube-dl.bash-completion ${D}${sysconfdir}/bash_completion.d
26 }
27
28 RDEPENDS_${PN} = "python-unixadmin python-subprocess python-email python-argparse python-json"
29
30 FILES_${PN} += "${sysconfdir}"