sabnzbd: fix gntp import error (closes #5595).
This commit is contained in:
parent
e46e6a9a13
commit
949a8cb589
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sabnzbd'
|
# Template file for 'sabnzbd'
|
||||||
pkgname=sabnzbd
|
pkgname=sabnzbd
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="SABnzbd-${version}"
|
wrksrc="SABnzbd-${version}"
|
||||||
depends="par2cmdline python-cheetah python-configobj python-feedparser
|
depends="par2cmdline python-cheetah python-configobj python-feedparser
|
||||||
python-gntp python-openssl python-yenc unzip"
|
python-gntp python-openssl python-yenc unzip"
|
||||||
|
@ -22,6 +22,8 @@ post_extract() {
|
||||||
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
||||||
rm -rf solaris
|
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
|
# sabnzbd bundles a heavily modified version of cherrypy. It's
|
||||||
# uncertain what base version they use, or where each individual
|
# uncertain what base version they use, or where each individual
|
||||||
# patch came from, so using upstream cherrypy isn't an option.
|
# patch came from, so using upstream cherrypy isn't an option.
|
||||||
|
|
Loading…
Reference in a new issue