diff options
author | Dmitry Kharitonov | 2016-03-29 23:24:51 +0500 |
---|---|---|
committer | Dmitry Kharitonov | 2016-03-29 23:24:51 +0500 |
commit | 64fefd76d7a574426ba91be7cf517c280c166213 (patch) | |
tree | e3fb86a43c5ef8de3c177bdb7c018e997a59b43e | |
parent | 4fd56571b47efe1a8fea3d1cc38b783d0151a929 (diff) | |
download | aur-64fefd76d7a574426ba91be7cf517c280c166213.tar.gz |
Revert "Removing probably obsolete patch to requirements list"
This reverts commit 4fd56571b47efe1a8fea3d1cc38b783d0151a929.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | req-html5lib.patch | 8 |
3 files changed, 21 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Mar 25 19:07:49 UTC 2016 +# Fri Mar 4 13:29:56 UTC 2016 pkgbase = edx-downloader-git pkgdesc = A simple tool to download video lectures from edx.org. pkgver = r567.64ecd9a @@ -17,7 +17,9 @@ pkgbase = edx-downloader-git provides = edx-downloader conflicts = edx-downloader source = edx-dl::git+https://github.com/coursera-dl/edx-dl.git#branch=master + source = req-html5lib.patch sha256sums = SKIP + sha256sums = bf4c762d46fe9e7a15402dbba9f0ab617d19f2349b6c801f49f77167fa23414e pkgname = edx-downloader-git @@ -2,7 +2,7 @@ # Contributor: Enrico Bacis <enrico.bacis@gmail.com> pkgname=edx-downloader-git pkgname_git=edx-dl -pkgver=r576.4e27666 +pkgver=r567.64ecd9a pkgrel=1 pkgdesc='A simple tool to download video lectures from edx.org.' arch=('any') @@ -13,8 +13,10 @@ depends=('python' 'python-beautifulsoup4' 'youtube-dl' 'python-six' 'python-html provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=('edx-dl::git+https://github.com/coursera-dl/edx-dl.git#branch=master') -sha256sums=('SKIP') +source=('edx-dl::git+https://github.com/coursera-dl/edx-dl.git#branch=master' + 'req-html5lib.patch') +sha256sums=('SKIP' + 'bf4c762d46fe9e7a15402dbba9f0ab617d19f2349b6c801f49f77167fa23414e') pkgver() { msg "Downloading git repository..." @@ -27,6 +29,11 @@ pkgver() { ) } +prepare() { + cd "$srcdir/${pkgname_git%-git}" + patch -p0 -i ../req-html5lib.patch +} + package() { cd "$srcdir/${pkgname_git%-git}" #install -D -m 755 edx-dl.py "${pkgdir}/usr/bin/edx-downloader" diff --git a/req-html5lib.patch b/req-html5lib.patch new file mode 100644 index 000000000000..233ef9023133 --- /dev/null +++ b/req-html5lib.patch @@ -0,0 +1,8 @@ +--- requirements.txt 2015-10-12 12:03:01.179453795 +0500 ++++ requirements-new.txt 2015-10-12 12:06:28.561384928 +0500 +@@ -1,4 +1,4 @@ + beautifulsoup4>=4.1.3 +-html5lib>=1.0b2 ++html5lib>=0.99 + six>=1.5.0 + youtube_dl>=2015.05.20 |