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