sabnzbd: add missing bdeps; set noarch; set pycompile_dirs.
This commit is contained in:
parent
5f36f28722
commit
1a53c38368
|
@ -1,5 +1,5 @@
|
|||
--- a/sabnzbd/config.py
|
||||
+++ b/sabnzbd/config.py
|
||||
--- sabnzbd/config.py
|
||||
+++ sabnzbd/config.py
|
||||
@@ -23,10 +23,12 @@ import os
|
||||
import logging
|
||||
import threading
|
||||
|
@ -15,8 +15,8 @@
|
|||
|
||||
CONFIG_LOCK = threading.Lock()
|
||||
|
||||
--- a/sabnzbd/rss.py
|
||||
+++ b/sabnzbd/rss.py
|
||||
--- sabnzbd/rss.py
|
||||
+++ sabnzbd/rss.py
|
||||
@@ -35,7 +35,7 @@ from sabnzbd.misc import cat_convert, sanitize_foldername, wildcard_to_re, cat_t
|
||||
import sabnzbd.emailer as emailer
|
||||
from sabnzbd.encoding import latin1, unicoder, xml_name
|
||||
|
@ -26,8 +26,8 @@
|
|||
|
||||
__RSS = None # Global pointer to RSS-scanner instance
|
||||
|
||||
--- a/sabnzbd/growler.py
|
||||
+++ b/sabnzbd/growler.py
|
||||
--- sabnzbd/growler.py
|
||||
+++ sabnzbd/growler.py
|
||||
@@ -31,7 +31,14 @@ import sabnzbd
|
||||
import sabnzbd.cfg
|
||||
from sabnzbd.encoding import unicoder, latin1
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'sabnzbd'
|
||||
pkgname=sabnzbd
|
||||
version=0.7.17
|
||||
revision=1
|
||||
patch_args="-p1"
|
||||
revision=2
|
||||
wrksrc="SABnzbd-${version}"
|
||||
depends="par2cmdline python-cheetah python-configobj python-feedparser python-gntp python-openssl python-yenc python>=2.7 unzip"
|
||||
makedepends="par2cmdline python-cheetah python-configobj python-feedparser python-gntp python-openssl python-yenc unzip"
|
||||
depends="${makedepends}"
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
# sabnzbd itself is GPL, but it bundles libraries that are covered by
|
||||
# BSD, LGPL-2 and MIT. In combination, that makes this package GPL.
|
||||
|
@ -14,6 +14,9 @@ short_desc="SABnzbd is an Open Source Binary Newsreader written in Python"
|
|||
distfiles="http://downloads.sourceforge.net/sabnzbdplus/SABnzbd-${version}-src.tar.gz"
|
||||
checksum=a501517dbaf161deab2153118ff3b44512ee1d8984c3603bf17c593cf080eb09
|
||||
|
||||
noarch=yes
|
||||
pycompile_dirs="/usr/share/sabnzbd"
|
||||
|
||||
pre_install() {
|
||||
rm -rf gntp sabnzbd/utils/{feedparser,configobj}.py
|
||||
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
||||
|
|
Loading…
Reference in New Issue