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'
|
# Template file for 'sabnzbd'
|
||||||
pkgname=sabnzbd
|
pkgname=sabnzbd
|
||||||
version=2.3.9
|
version=3.0.2
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
|
||||||
wrksrc="SABnzbd-${version}"
|
wrksrc="SABnzbd-${version}"
|
||||||
pycompile_dirs="/usr/share/sabnzbd"
|
pycompile_dirs="/usr/share/sabnzbd"
|
||||||
depends="par2cmdline python-cheetah python-configobj python-feedparser
|
hostmakedepends="python3 gettext"
|
||||||
python-gntp python-openssl python-yenc unzip"
|
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"
|
short_desc="Open Source Binary Newsreader written in Python"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later, custom:Bundled"
|
||||||
homepage="https://sabnzbd.org/"
|
homepage="https://sabnzbd.org/"
|
||||||
changelog="https://github.com/sabnzbd/sabnzbd/releases"
|
changelog="https://github.com/sabnzbd/sabnzbd/releases"
|
||||||
distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz"
|
distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz"
|
||||||
checksum=f3ab6dffba914e6ddf88f1a755ec3ebaa95f0bdbec6f04b7bf0f90822249bb0c
|
checksum=c93f95d9193061ba653c2ab592704c7a8e9b6146817f80e4e2420b3f74b976b2
|
||||||
python_version=2 #unverified
|
python_version=3
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
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
|
||||||
rm -rf solaris
|
rm -rf solaris
|
||||||
|
}
|
||||||
|
|
||||||
# sabnzbd bundles a heavily modified version of cherrypy. It's
|
do_build() {
|
||||||
# uncertain what base version they use, or where each individual
|
python3 tools/make_mo.py
|
||||||
# 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_install() {
|
do_install() {
|
||||||
vbin ${FILESDIR}/sabnzbd
|
vbin ${FILESDIR}/sabnzbd
|
||||||
|
|
||||||
vmkdir usr/share/sabnzbd
|
vmkdir usr/share/sabnzbd
|
||||||
vcopy "*" 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
|
for _f in licenses/* COPYRIGHT.txt; do
|
||||||
vlicense ${_f}
|
vlicense ${_f}
|
||||||
|
|
Loading…
Reference in New Issue