diff options
author | Max | 2018-12-08 02:30:07 +1100 |
---|---|---|
committer | Max | 2018-12-08 02:30:07 +1100 |
commit | f196497d5627a5179d63208b438027e16fee05fe (patch) | |
tree | 6b648e8f83e1833d99b952221ee5a8052fd240b2 | |
parent | bee5bc8cdcba8b146a157d23023a7a9f0060317e (diff) | |
download | aur-f196497d5627a5179d63208b438027e16fee05fe.tar.gz |
python3.7 compatibility
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 13 insertions, 18 deletions
@@ -1,6 +1,6 @@ pkgbase = flexget-git pkgdesc = Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more. - pkgver = 2.14.20.r13224.81a7c7ae2 + pkgver = 2.17.18.r13346.69216697d pkgrel = 1 url = http://flexget.com/ arch = any @@ -26,7 +26,7 @@ pkgbase = flexget-git depends = python-jsonschema>=2.0 depends = python-path>=8.1.1 depends = python-pathlib>=1.0 - depends = python-guessit<=2.1.4 + depends = python-guessit=3.0.3 depends = python-rebulk=0.9.0 depends = python-apscheduler>=3.2.0 depends = python-terminaltables>=3.1.0 @@ -34,7 +34,7 @@ pkgbase = flexget-git depends = python-cherrypy>=3.7.0 depends = python-flask>=0.7 depends = python-flask-restful>=0.3.3 - depends = python-flask-restplus=0.10.1 + depends = python-flask-restplus=0.11.0 depends = python-flask-compress>=1.2.1 depends = python-flask-login>=0.4.0 depends = python-flask-cors>=2.1.2 @@ -50,13 +50,11 @@ pkgbase = flexget-git source = git+https://github.com/Flexget/Flexget source = flexget.service source = flexget@.service - source = https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2162.diff - source = https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2193.diff + source = https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2264.diff sha256sums = SKIP sha256sums = e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa sha256sums = 5fca3a1b6be282c0914754bbfdeef21005d936fba3d2698801bba18369e1321a - sha256sums = 9f69f4ea23aea830ceef992b444d73088ccf4c38f243df5105eb0f676b8b8d6d - sha256sums = 9d1c4847888c997881451252fd3660c547ae08108100c3f1f3b18dd52c265254 + sha256sums = 3275a1dbf789b7c282f762a3c3c4a70d06e4e3daa69731fca156fb87401e2e1c pkgname = flexget-git @@ -5,7 +5,7 @@ pkgname=flexget-git _pkgname=Flexget -pkgver=2.14.20.r13224.81a7c7ae2 +pkgver=2.17.18.r13346.69216697d pkgrel=1 pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more." @@ -31,7 +31,7 @@ depends=('python' 'python-jsonschema>=2.0' 'python-path>=8.1.1' 'python-pathlib>=1.0' - 'python-guessit<=2.1.4' + 'python-guessit=3.0.3' 'python-rebulk=0.9.0' 'python-apscheduler>=3.2.0' 'python-terminaltables>=3.1.0' @@ -39,7 +39,7 @@ depends=('python' 'python-cherrypy>=3.7.0' 'python-flask>=0.7' 'python-flask-restful>=0.3.3' - 'python-flask-restplus=0.10.1' + 'python-flask-restplus=0.11.0' 'python-flask-compress>=1.2.1' 'python-flask-login>=0.4.0' 'python-flask-cors>=2.1.2' @@ -67,15 +67,13 @@ conflicts=('flexget') source=('git+https://github.com/Flexget/Flexget' 'flexget.service' 'flexget@.service' - 'https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2162.diff' - 'https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2193.diff' + 'https://patch-diff.githubusercontent.com/raw/Flexget/Flexget/pull/2264.diff' ) sha256sums=('SKIP' 'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa' '5fca3a1b6be282c0914754bbfdeef21005d936fba3d2698801bba18369e1321a' - '9f69f4ea23aea830ceef992b444d73088ccf4c38f243df5105eb0f676b8b8d6d' - '9d1c4847888c997881451252fd3660c547ae08108100c3f1f3b18dd52c265254') + '3275a1dbf789b7c282f762a3c3c4a70d06e4e3daa69731fca156fb87401e2e1c') pkgver() { cd Flexget @@ -85,13 +83,12 @@ pkgver() { prepare() { cd "${_pkgname}" - patch -p1 < ../2162.diff - patch -p1 < ../2193.diff #pip-compile --output-file requirements.txt requirements.in #pip-compile give too stricts requirements... cp requirements.in requirements.txt #flexget works fine with newer versions of requests - sed -i 's!requests~=2.16.3!requests>=2.16.3!' requirements.txt + sed -i 's!flask-restplus==0.10.1!flask-restplus==0.11.0!' requirements.txt + sed -i 's!rpyc==3.3.0!rpyc>=4.0.2!' requirements.txt #zxcvbn-python has been renamed zxcvbn sed -i 's!zxcvbn-python!zxcvbn!' requirements.txt } @@ -120,7 +117,7 @@ package() { install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE # Make sure the perms allow reading by all - chmod ugo+r ${pkgdir}/usr/lib/python3.7/site-packages/FlexGet-2.14.*.dev0-py3.7.egg-info/* + chmod ugo+r ${pkgdir}/usr/lib/python3.7/site-packages/FlexGet-*.*.*.dev0-py3.*.egg-info/* # install systemd user unit install -Dm644 ../flexget.service "${pkgdir}"/usr/lib/systemd/user/flexget.service |