summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b83bffd73a2..beade95c986 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
pkgname=yle-dl
pkgver=20190203
-pkgrel=1
+pkgrel=2
pkgdesc="Download video and audio from YLE Areena."
arch=('any')
url="http://aajanki.github.io/yle-dl/"
license=('GPL3')
depends=('ffmpeg'
'python-attrs>=18.1.0'
- 'python-attrs<18.3.0'
+ 'python-attrs<19.2.0'
'python-configargparse>=0.13.0'
'python-future'
'python-lxml'
@@ -24,8 +24,14 @@ optdepends=('php: for downloading live TV and certain news broadcasts'
'youtube-dl: an alternative downloader backend to AdobeHDS.php'
'wget: for some rare streams')
makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/y/yle-dl/yle-dl-${pkgver}.tar.gz")
-sha256sums=('81c3096162657d3d8e9e9a2b4d277261b8be4c8696a31505b1f9b6352cf9996f')
+source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/y/yle-dl/yle-dl-${pkgver}.tar.gz" 'python-attrs.patch')
+sha256sums=('81c3096162657d3d8e9e9a2b4d277261b8be4c8696a31505b1f9b6352cf9996f'
+ 'f34434da4ff3303b51c52b729f9180630505f379c1bb6261887dcf86f75fb9a7')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i "${srcdir}/python-attrs.patch"
+}
build() {
cd $pkgname-$pkgver