diff options
author | Mark Wagie | 2020-04-22 20:59:28 -0600 |
---|---|---|
committer | Mark Wagie | 2020-04-22 20:59:28 -0600 |
commit | 0de1c627af75bb61f982b53597211320f70db7c2 (patch) | |
tree | f1b7ed05b52e8cd0d47e5687a52357fa35be4948 | |
parent | cccc4f01334db7a49920d04d613c68f75002b751 (diff) | |
download | aur-0de1c627af75bb61f982b53597211320f70db7c2.tar.gz |
fixes
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 13 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pycaption pkgdesc = Python module to read/write popular video caption formats pkgver = 1.0.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pbs/pycaption arch = any license = Apache @@ -1,10 +1,9 @@ -# Maintainer: -# Contributor: Mark Wagie <mark dot wagie at tutanota dot com> +# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> # Contributor: bitwave pkgname=python-pycaption _name=${pkgname#python-} pkgver=1.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Python module to read/write popular video caption formats" arch=('any') url="https://github.com/pbs/pycaption" @@ -14,6 +13,16 @@ makedepends=('python-setuptools') source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('1000447d92903c2044838f899578c6b8a2e853e9bef4a179b48415e367ea5038') +prepare() { + cd "$_name-$pkgver" + + # relax requirement + sed -i 's/beautifulsoup4>=4.2.1,<4.5.0/beautifulsoup4>=4.2.1/g' setup.py + + # enum34 is only needed for Python <3.4 + sed -i '14d' setup.py +} + build() { cd "$_name-$pkgver" python setup.py build |