From 949a8cb589380534839f0bde77baef475b836321 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 24 Jan 2017 17:57:00 +0100 Subject: [PATCH] sabnzbd: fix gntp import error (closes #5595). --- srcpkgs/sabnzbd/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sabnzbd/template b/srcpkgs/sabnzbd/template index dec7287e6c5..b6ccbfa5517 100644 --- a/srcpkgs/sabnzbd/template +++ b/srcpkgs/sabnzbd/template @@ -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.