# Template file for 'coursera-dl'
pkgname=coursera-dl
version=0.5.2
revision=2
build_style=python-module
wrksrc="coursera-${version}"
python_versions="3.4"
pycompile_version="3.4"
pycompile_module="coursera"
hostmakedepends="python3.4-setuptools"
depends="python3.4-setuptools python3.4-pyasn1 python3.4-html5lib
 python3.4-BeautifulSoup4 python3.4-requests python3.4-six python3.4-keyring"
short_desc="Script for downloading Coursera.org videos and naming them"
maintainer="Michael Gehring <mg@ebfe.org>"
license="GPL-3"
homepage="https://github.com/coursera-dl/coursera-dl"
distfiles="${PYPI_SITE}/c/coursera/coursera-${version}.tar.gz"
checksum=52360177182b40f84bceb5bf458f6f3938405d05ca0a4b9d2fad877e346e5c36

post_extract() {
	sed -i 's/1.0b2/0.99999/' requirements.txt
}
