sabnzbd: fix gntp import error (closes #5595).

This commit is contained in:
Leah Neukirchen 2017-01-24 17:57:00 +01:00
parent e46e6a9a13
commit 949a8cb589

View file

@ -1,7 +1,7 @@
# Template file for 'sabnzbd'
pkgname=sabnzbd
version=1.2.0
revision=1
revision=2
wrksrc="SABnzbd-${version}"
depends="par2cmdline python-cheetah python-configobj python-feedparser
python-gntp python-openssl python-yenc unzip"
@ -22,6 +22,8 @@ post_extract() {
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
rm -rf solaris
sed -i 's/from gntp import GNTPRegister/from gntp.core import GNTPRegister/' sabnzbd/notifier.py
# sabnzbd bundles a heavily modified version of cherrypy. It's
# uncertain what base version they use, or where each individual
# patch came from, so using upstream cherrypy isn't an option.