sabnzbd: update to 3.0.2.
This commit is contained in:
parent
74f1b3dcb5
commit
8611baea90
|
@ -1,22 +0,0 @@
|
|||
--- sabnzbd/config.py.orig
|
||||
+++ sabnzbd/config.py
|
||||
@@ -30,7 +30,7 @@
|
||||
from urlparse import urlparse
|
||||
import sabnzbd.misc
|
||||
from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY, MAX_WIN_DFOLDER
|
||||
-from sabnzbd.utils import configobj
|
||||
+import configobj
|
||||
from sabnzbd.decorators import synchronized
|
||||
|
||||
CONFIG_LOCK = threading.Lock()
|
||||
--- sabnzbd/rss.py.orig
|
||||
+++ sabnzbd/rss.py
|
||||
@@ -35,7 +35,7 @@
|
||||
import sabnzbd.emailer as emailer
|
||||
from sabnzbd.encoding import unicoder, xml_name
|
||||
|
||||
-import sabnzbd.utils.feedparser as feedparser
|
||||
+import feedparser
|
||||
|
||||
__RSS = None # Global pointer to RSS-scanner instance
|
||||
|
|
@ -1,40 +1,39 @@
|
|||
# Template file for 'sabnzbd'
|
||||
pkgname=sabnzbd
|
||||
version=2.3.9
|
||||
version=3.0.2
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="SABnzbd-${version}"
|
||||
pycompile_dirs="/usr/share/sabnzbd"
|
||||
depends="par2cmdline python-cheetah python-configobj python-feedparser
|
||||
python-gntp python-openssl python-yenc unzip"
|
||||
hostmakedepends="python3 gettext"
|
||||
depends="par2cmdline python3-sabyenc3 python3-cheetah3 python3-cryptography
|
||||
python3-feedparser python3-configobj python3-CherryPy
|
||||
python3-portend python3-chardet python3-notify2 unzip"
|
||||
short_desc="Open Source Binary Newsreader written in Python"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
license="GPL-2.0-or-later, custom:Bundled"
|
||||
homepage="https://sabnzbd.org/"
|
||||
changelog="https://github.com/sabnzbd/sabnzbd/releases"
|
||||
distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz"
|
||||
checksum=f3ab6dffba914e6ddf88f1a755ec3ebaa95f0bdbec6f04b7bf0f90822249bb0c
|
||||
python_version=2 #unverified
|
||||
checksum=c93f95d9193061ba653c2ab592704c7a8e9b6146817f80e4e2420b3f74b976b2
|
||||
python_version=3
|
||||
|
||||
post_extract() {
|
||||
rm -rf gntp sabnzbd/utils/{feedparser,configobj}.py
|
||||
rm -f licenses/License-{feedparser,configobj,gntp,Python}.txt
|
||||
rm -rf solaris
|
||||
}
|
||||
|
||||
# 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.
|
||||
|
||||
# sabnzbd also bundles a variety of small libraries, some of which
|
||||
# haven't been maintained since 2006. There may be no point to
|
||||
# packaging them separately.
|
||||
do_build() {
|
||||
python3 tools/make_mo.py
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin ${FILESDIR}/sabnzbd
|
||||
|
||||
vmkdir usr/share/sabnzbd
|
||||
vcopy "*" usr/share/sabnzbd
|
||||
rm -rf $DESTDIR/usr/share/sabnzbd/po
|
||||
rm -rf $DESTDIR/usr/share/sabnzbd/tools
|
||||
rm -rf $DESTDIR/usr/share/sabnzbd/tests
|
||||
|
||||
for _f in licenses/* COPYRIGHT.txt; do
|
||||
vlicense ${_f}
|
||||
|
|
Loading…
Reference in New Issue