Gentoo Archives: gentoo-commits

From: Justin Bronder <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/sabnzbd/files/, net-nntp/sabnzbd/files/1.x/, net-nntp/sabnzbd/
Date: Fri, 28 Oct 2016 12:57:49
Message-Id: 1477659434.4b313a91bf09f643016a7c6f72101fbf02964ea7.jsbronder@gentoo
1 commit: 4b313a91bf09f643016a7c6f72101fbf02964ea7
2 Author: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 28 12:56:59 2016 +0000
4 Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 28 12:57:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b313a91
7
8 net-nntp/sabnzbd: drop old
9
10 Package-Manager: portage-2.3.0
11
12 net-nntp/sabnzbd/Manifest | 6 -
13 .../0001-use-system-configobj-and-feedparser.patch | 52 --------
14 .../files/1.x/0002-growler-support-gntp-1.0.patch | 31 -----
15 .../1.x/0003-cfg-disable-growl-by-default.patch | 34 ------
16 .../files/1.x/0004-use-system-rarfile.patch | 68 -----------
17 .../sabnzbd/files/disable_growl_by_default.patch | 15 ---
18 .../sabnzbd/files/growler-support-gntp-1.0.patch | 33 -----
19 net-nntp/sabnzbd/files/par2cmdline.patch | 12 --
20 .../use-system-configobj-and-feedparser.patch | 44 -------
21 net-nntp/sabnzbd/sabnzbd-0.7.16.ebuild | 117 ------------------
22 net-nntp/sabnzbd/sabnzbd-0.7.17.ebuild | 117 ------------------
23 net-nntp/sabnzbd/sabnzbd-0.7.18.ebuild | 117 ------------------
24 net-nntp/sabnzbd/sabnzbd-0.7.19.ebuild | 117 ------------------
25 net-nntp/sabnzbd/sabnzbd-0.7.20.ebuild | 122 -------------------
26 net-nntp/sabnzbd/sabnzbd-1.0.3.ebuild | 134 ---------------------
27 15 files changed, 1019 deletions(-)
28
29 diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest
30 index e3dca24..ebed94c 100644
31 --- a/net-nntp/sabnzbd/Manifest
32 +++ b/net-nntp/sabnzbd/Manifest
33 @@ -1,7 +1 @@
34 -DIST SABnzbd-0.7.16-src.tar.gz 2275768 SHA256 2c50496c8be81ac4498944a5209b2c6b3bdfecc48cf4e0df54552c5d985e5772 SHA512 ae97f093c34a100ab92949eb25a48db4c7d7d06c1fc082d3e8390d84e15dbdbbe4e682f47532cb84571039caab9aed377957522fa07b6a0f49c368eb77d66144 WHIRLPOOL 470f300f9f7b5f833d14c8170aee8690cddcfb9e442c3d9a6d108b155d6b2f7afab19010a7bf650c31e4ade5ca680433245a9c226948b52d8301861f5dc35965
35 -DIST SABnzbd-0.7.17-src.tar.gz 2310300 SHA256 a501517dbaf161deab2153118ff3b44512ee1d8984c3603bf17c593cf080eb09 SHA512 5f8ad391f698f5c8c069ea9a4be59124096ebd24793889db215cbc678dfd572c974083acd0d21b8b776d55cb9ebd8553952147ec2cd1768f3aab66cfba4ebaf3 WHIRLPOOL 6ec6a531c683607d36b533a1ae078ef87e5afdaa02e08588c8b5f045e735a1aa64c234e71c5d7218d15fed0eb64ef12f1a280ef65ed208b0d7a5e1408997fbca
36 -DIST SABnzbd-0.7.18-src.tar.gz 2317137 SHA256 aa05697d901b3e334e92f274b2e8788973059840be656a1545e8f2a4b070b014 SHA512 db7606be913fc89cdea0c037594b614c16f3887b32d1133c5f7a6c92f3dac5bec2250972e35941cd462e65bb29e91db2a43ff1e6624d827223afb957ec7922fe WHIRLPOOL 313e74425555af3dc86e111440974fefef42531018faad14a2a39649cef21a2b2d1d5a917c4ec13089ef9a46a2c31fe56b544ae0fa72628497782be756e8014f
37 -DIST SABnzbd-0.7.19-src.tar.gz 2386744 SHA256 31ad0ae24db3873011db816e1b100f4429734b2260f4c669b7261d2f85717487 SHA512 383788d87a3ee4e69ba818f6614f6929aa328d1153b746e04736868de598ee35e556a07cced7c74bc89c54fe77c1e52c4cdde8ed37d536a09bd1c605c551b9e7 WHIRLPOOL fbf1ab129a403011bd6957272d348fd745621e9c13f46f3988362bb8bb7a6ceb26b57253978ec5f5ae97c2ea942ba80ff1cab0ca1d1f99d33a1c55fc03b0dad9
38 -DIST SABnzbd-0.7.20-src.tar.gz 2389762 SHA256 20b3a4613a0ecdede4fdfeb628ae806e458ac1a6fb684306328dd4ed1faf8742 SHA512 51ea888fcb7b49156cb719cb4fe75725d69acd726097d8b2526d6af87d0404bf08d0ab4b82f25dae7ac9a52d6c639e57a145bf5af6005fa435ad31f239a716d5 WHIRLPOOL 2686160be649c051ac1186481dae1e876650fbc91fe3ea1ab2d1569baea51f0ab7d0be6c7942b9facd6e5f856ab24ab36d1dc2f55dc645f06be275b2e43abb4b
39 -DIST SABnzbd-1.0.3-src.tar.gz 2975111 SHA256 cf87d3f17fc03e8b3a4b3010261115c2ad7e2f773b5ede95a80025b340dbbd35 SHA512 6213cb73f6d2127133c5ab292e5ac2bcf6f4c780b5345b54b91459271c1acad6c6c95c4ba1ebc1e34341d5dc09d14e4806b84b977fc90f5ff0a49725b08a77e9 WHIRLPOOL 021a864f8d2b90481da5f4d1b3b1a5a5478230c3a61af2c30ba2be65594224863a48d58d475fc2e79986274e48e5ad83b5d13a6bc0a7829e99552062fdf185a7
40 DIST SABnzbd-1.1.0-src.tar.gz 2736977 SHA256 3e86a897dea1c276c54ee38667a980f644f16d57df75612fe9eefa84b339ce9a SHA512 4fd4304253ec66c7bc6038fe8eb7bc08f0133cc4eda9efb28349242574744f262369fe43786da5a22eb90664cfa7fb91356941174787c4faef7d7624751a86d2 WHIRLPOOL f5ef42a01cd1c79f28bbd42c6970b9a1b66846af266c027354494cd103d03d14d2914a3d2b88b1aef740a6e849b9e3216c639323f41146553c5f2dcdeef182aa
41
42 diff --git a/net-nntp/sabnzbd/files/1.x/0001-use-system-configobj-and-feedparser.patch b/net-nntp/sabnzbd/files/1.x/0001-use-system-configobj-and-feedparser.patch
43 deleted file mode 100644
44 index 3cc1c7c..00000000
45 --- a/net-nntp/sabnzbd/files/1.x/0001-use-system-configobj-and-feedparser.patch
46 +++ /dev/null
47 @@ -1,52 +0,0 @@
48 -From 75608455ab239c8dd05280e858f10026a31a5eac Mon Sep 17 00:00:00 2001
49 -From: Justin Bronder <jsbronder@×××××.com>
50 -Date: Thu, 3 Jan 2013 04:10:37 -0500
51 -Subject: [PATCH 1/4] use system configobj and feedparser
52 -
53 ----
54 - sabnzbd/config.py | 4 +++-
55 - sabnzbd/rss.py | 3 ++-
56 - 2 files changed, 5 insertions(+), 2 deletions(-)
57 -
58 -diff --git a/sabnzbd/config.py b/sabnzbd/config.py
59 -index 3bf777a..3e6551a 100644
60 ---- a/sabnzbd/config.py
61 -+++ b/sabnzbd/config.py
62 -@@ -24,10 +24,12 @@ import re
63 - import logging
64 - import threading
65 - import shutil
66 -+
67 -+import configobj
68 -+
69 - import sabnzbd.misc
70 - from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY, MAX_WIN_DFOLDER
71 - from sabnzbd.utils import listquote
72 --from sabnzbd.utils import configobj
73 - from sabnzbd.decorators import synchronized
74 -
75 - CONFIG_LOCK = threading.Lock()
76 -diff --git a/sabnzbd/rss.py b/sabnzbd/rss.py
77 -index 67ff94b..8b7d8c1 100644
78 ---- a/sabnzbd/rss.py
79 -+++ b/sabnzbd/rss.py
80 -@@ -26,6 +26,8 @@ import threading
81 - import urllib
82 - import os
83 -
84 -+import feedparser
85 -+
86 - import sabnzbd
87 - from sabnzbd.constants import *
88 - from sabnzbd.decorators import synchronized
89 -@@ -36,7 +38,6 @@ from sabnzbd.misc import cat_convert, sanitize_foldername, wildcard_to_re, cat_t
90 - import sabnzbd.emailer as emailer
91 - from sabnzbd.encoding import unicoder, xml_name
92 -
93 --import sabnzbd.utils.feedparser as feedparser
94 -
95 - __RSS = None # Global pointer to RSS-scanner instance
96 -
97 ---
98 -2.4.10
99 -
100
101 diff --git a/net-nntp/sabnzbd/files/1.x/0002-growler-support-gntp-1.0.patch b/net-nntp/sabnzbd/files/1.x/0002-growler-support-gntp-1.0.patch
102 deleted file mode 100644
103 index 845ab15..00000000
104 --- a/net-nntp/sabnzbd/files/1.x/0002-growler-support-gntp-1.0.patch
105 +++ /dev/null
106 @@ -1,31 +0,0 @@
107 -From 14eabdcd495be61bb14ecc8152058f92bd71a2db Mon Sep 17 00:00:00 2001
108 -From: Justin Bronder <jsbronder@×××××.com>
109 -Date: Mon, 24 Jun 2013 19:03:17 -0400
110 -Subject: [PATCH 2/4] growler: support >=gntp-1.0
111 -
112 -Fixes Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=474540
113 ----
114 - sabnzbd/growler.py | 7 ++++++-
115 - 1 file changed, 6 insertions(+), 1 deletion(-)
116 -
117 -diff --git a/sabnzbd/growler.py b/sabnzbd/growler.py
118 -index 34d73c4..cd1ce91 100644
119 ---- a/sabnzbd/growler.py
120 -+++ b/sabnzbd/growler.py
121 -@@ -37,7 +37,12 @@ import sabnzbd.cfg
122 - from sabnzbd.encoding import unicoder
123 - from sabnzbd.constants import NOTIFY_KEYS
124 -
125 --from gntp import GNTPRegister
126 -+try:
127 -+ # <= version 0.6
128 -+ from gntp import GNTPRegister
129 -+except ImportError:
130 -+ # >= version 1.0
131 -+ from gntp.core import GNTPRegister
132 - from gntp.notifier import GrowlNotifier
133 - try:
134 - import Growl
135 ---
136 -2.4.10
137 -
138
139 diff --git a/net-nntp/sabnzbd/files/1.x/0003-cfg-disable-growl-by-default.patch b/net-nntp/sabnzbd/files/1.x/0003-cfg-disable-growl-by-default.patch
140 deleted file mode 100644
141 index ab03fcf..00000000
142 --- a/net-nntp/sabnzbd/files/1.x/0003-cfg-disable-growl-by-default.patch
143 +++ /dev/null
144 @@ -1,34 +0,0 @@
145 -From 93f2759ce13c3e93e4fe64bf632249d96eddb41b Mon Sep 17 00:00:00 2001
146 -From: Justin Bronder <jsbronder@×××××.com>
147 -Date: Tue, 14 Jun 2016 08:38:54 -0400
148 -Subject: [PATCH 3/4] cfg: disable growl by default
149 -
150 ----
151 - sabnzbd/cfg.py | 4 ++--
152 - 1 file changed, 2 insertions(+), 2 deletions(-)
153 -
154 -diff --git a/sabnzbd/cfg.py b/sabnzbd/cfg.py
155 -index 9d362df..a90cc03 100644
156 ---- a/sabnzbd/cfg.py
157 -+++ b/sabnzbd/cfg.py
158 -@@ -286,7 +286,7 @@ acenter_prio_queue_done = OptionBool('acenter', 'acenter_prio_queue_done', True)
159 - acenter_prio_other = OptionBool('acenter', 'acenter_prio_other', False)
160 -
161 - # [ntfosd]
162 --ntfosd_enable = OptionBool('ntfosd', 'ntfosd_enable', not sabnzbd.WIN32 and not sabnzbd.DARWIN)
163 -+ntfosd_enable = OptionBool('ntfosd', 'ntfosd_enable', False)
164 - ntfosd_prio_startup = OptionBool('ntfosd', 'ntfosd_prio_startup', True)
165 - ntfosd_prio_download = OptionBool('ntfosd', 'ntfosd_prio_download', False)
166 - ntfosd_prio_pp = OptionBool('ntfosd', 'ntfosd_prio_pp', False)
167 -@@ -299,7 +299,7 @@ ntfosd_prio_queue_done = OptionBool('ntfosd', 'ntfosd_prio_queue_done', True)
168 - ntfosd_prio_other = OptionBool('ntfosd', 'ntfosd_prio_other', False)
169 -
170 - # [growl]
171 --growl_enable = OptionBool('growl', 'growl_enable', sabnzbd.DARWIN and sabnzbd.DARWIN_VERSION < 8)
172 -+growl_enable = OptionBool('growl', 'growl_enable', False)
173 - growl_server = OptionStr('growl', 'growl_server')
174 - growl_password = OptionPassword('growl', 'growl_password')
175 - growl_prio_startup = OptionBool('growl', 'growl_prio_startup', True)
176 ---
177 -2.4.10
178 -
179
180 diff --git a/net-nntp/sabnzbd/files/1.x/0004-use-system-rarfile.patch b/net-nntp/sabnzbd/files/1.x/0004-use-system-rarfile.patch
181 deleted file mode 100644
182 index 7d5f374..00000000
183 --- a/net-nntp/sabnzbd/files/1.x/0004-use-system-rarfile.patch
184 +++ /dev/null
185 @@ -1,68 +0,0 @@
186 -From 33ce1a3e3cce21feedc88cddf708173f826c57cb Mon Sep 17 00:00:00 2001
187 -From: Justin Bronder <jsbronder@×××××.com>
188 -Date: Tue, 14 Jun 2016 08:43:37 -0400
189 -Subject: [PATCH 4/4] use system rarfile
190 -
191 ----
192 - sabnzbd/assembler.py | 3 ++-
193 - sabnzbd/dirscanner.py | 3 ++-
194 - sabnzbd/newsunpack.py | 3 ++-
195 - 3 files changed, 6 insertions(+), 3 deletions(-)
196 -
197 -diff --git a/sabnzbd/assembler.py b/sabnzbd/assembler.py
198 -index 7c4beb8..142678d 100644
199 ---- a/sabnzbd/assembler.py
200 -+++ b/sabnzbd/assembler.py
201 -@@ -34,6 +34,8 @@ except:
202 - import md5
203 - new_md5 = md5.new
204 -
205 -+from rarfile import RarFile, is_rarfile
206 -+
207 - import sabnzbd
208 - from sabnzbd.misc import get_filepath, sanitize_filename, get_unique_filename, renamer, \
209 - set_permissions, flag_file, long_path, clip_path
210 -@@ -42,7 +44,6 @@ import sabnzbd.cfg as cfg
211 - from sabnzbd.articlecache import ArticleCache
212 - from sabnzbd.postproc import PostProcessor
213 - import sabnzbd.downloader
214 --from sabnzbd.utils.rarfile import RarFile, is_rarfile
215 - from sabnzbd.encoding import unicoder, is_utf8
216 - from sabnzbd.rating import Rating
217 -
218 -diff --git a/sabnzbd/dirscanner.py b/sabnzbd/dirscanner.py
219 -index 6ada4bf..7a31920 100644
220 ---- a/sabnzbd/dirscanner.py
221 -+++ b/sabnzbd/dirscanner.py
222 -@@ -27,9 +27,10 @@ import gzip
223 - import bz2
224 - import threading
225 -
226 -+from rarfile import RarFile, is_rarfile
227 -+
228 - import sabnzbd
229 - from sabnzbd.constants import *
230 --from sabnzbd.utils.rarfile import is_rarfile, RarFile
231 - from sabnzbd.newsunpack import is_sevenfile, SevenZip
232 - import sabnzbd.nzbstuff as nzbstuff
233 - import sabnzbd.misc as misc
234 -diff --git a/sabnzbd/newsunpack.py b/sabnzbd/newsunpack.py
235 -index 6906aed..940879f 100644
236 ---- a/sabnzbd/newsunpack.py
237 -+++ b/sabnzbd/newsunpack.py
238 -@@ -28,10 +28,11 @@ from time import time
239 - import binascii
240 - import shutil
241 -
242 -+from rarfile import RarFile, is_rarfile
243 -+
244 - import sabnzbd
245 - from sabnzbd.encoding import TRANS, UNTRANS, unicode2local, name_fixer, \
246 - reliable_unpack_names, unicoder, platform_encode, deunicode
247 --from sabnzbd.utils.rarfile import RarFile, is_rarfile
248 - from sabnzbd.misc import format_time_string, find_on_path, make_script_path, int_conv, \
249 - flag_file, real_path, globber, globber_full, short_path
250 - from sabnzbd.tvsort import SeriesSorter
251 ---
252 -2.4.10
253 -
254
255 diff --git a/net-nntp/sabnzbd/files/disable_growl_by_default.patch b/net-nntp/sabnzbd/files/disable_growl_by_default.patch
256 deleted file mode 100644
257 index 6761c72..00000000
258 --- a/net-nntp/sabnzbd/files/disable_growl_by_default.patch
259 +++ /dev/null
260 @@ -1,15 +0,0 @@
261 -diff --git a/sabnzbd/cfg.py b/sabnzbd/cfg.py
262 -index 39e418b..509a962 100644
263 ---- a/sabnzbd/cfg.py
264 -+++ b/sabnzbd/cfg.py
265 -@@ -238,8 +238,8 @@ no_ipv6 = OptionBool('misc', 'no_ipv6', False)
266 -
267 - growl_server = OptionStr('growl', 'growl_server')
268 - growl_password = OptionPassword('growl', 'growl_password')
269 --growl_enable = OptionBool('growl', 'growl_enable', not sabnzbd.DARWIN_ML)
270 --ntfosd_enable = OptionBool('growl', 'ntfosd_enable', not sabnzbd.WIN32 and not sabnzbd.DARWIN)
271 -+growl_enable = OptionBool('growl', 'growl_enable', 0)
272 -+ntfosd_enable = OptionBool('growl', 'ntfosd_enable', 0)
273 - ncenter_enable = OptionBool('growl', 'ncenter_enable', sabnzbd.DARWIN)
274 - notify_classes = OptionList('growl', 'notify_classes', NOTIFY_KEYS)
275 -
276
277 diff --git a/net-nntp/sabnzbd/files/growler-support-gntp-1.0.patch b/net-nntp/sabnzbd/files/growler-support-gntp-1.0.patch
278 deleted file mode 100644
279 index 560b88a..00000000
280 --- a/net-nntp/sabnzbd/files/growler-support-gntp-1.0.patch
281 +++ /dev/null
282 @@ -1,33 +0,0 @@
283 -From 96b4891d2323cb44f479bc94d1410348b1468298 Mon Sep 17 00:00:00 2001
284 -From: Justin Bronder <jsbronder@×××××.com>
285 -Date: Mon, 24 Jun 2013 19:03:17 -0400
286 -Subject: [PATCH] growler: support >=gntp-1.0
287 -
288 -Fixes Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=474540
289 ----
290 - sabnzbd/growler.py | 9 ++++++++-
291 - 1 file changed, 8 insertions(+), 1 deletion(-)
292 -
293 -diff --git a/sabnzbd/growler.py b/sabnzbd/growler.py
294 -index d250703..f39bb44 100644
295 ---- a/sabnzbd/growler.py
296 -+++ b/sabnzbd/growler.py
297 -@@ -31,7 +31,14 @@ import sabnzbd
298 - import sabnzbd.cfg
299 - from sabnzbd.encoding import unicoder, latin1
300 - from sabnzbd.constants import NOTIFY_KEYS
301 --from gntp import GNTPRegister
302 -+
303 -+try:
304 -+ # <= version 0.6
305 -+ from gntp import GNTPRegister
306 -+except ImportError:
307 -+ # >= version 1.0
308 -+ from gntp.core import GNTPRegister
309 -+
310 - from gntp.notifier import GrowlNotifier
311 - try:
312 - import Growl
313 ---
314 -1.8.1.5
315 -
316
317 diff --git a/net-nntp/sabnzbd/files/par2cmdline.patch b/net-nntp/sabnzbd/files/par2cmdline.patch
318 deleted file mode 100644
319 index d5648eb..00000000
320 --- a/net-nntp/sabnzbd/files/par2cmdline.patch
321 +++ /dev/null
322 @@ -1,12 +0,0 @@
323 ---- sabnzbd/newsunpack.py.orig 2013-07-07 13:29:12.000000000 +0200
324 -+++ sabnzbd/newsunpack.py 2013-08-02 20:16:22.286697000 +0200
325 -@@ -966,7 +966,7 @@
326 -
327 - # Append the wildcard for this set
328 - wildcard = '%s*' % os.path.join(os.path.split(parfile)[0], setname)
329 -- if single or len(globber(wildcard, None)) < 2:
330 -+ if len(globber(wildcard, None)) < 2:
331 - # Support bizarre naming conventions
332 - wildcard = os.path.join(os.path.split(parfile)[0], '*')
333 - command.append(wildcard)
334 -
335
336 diff --git a/net-nntp/sabnzbd/files/use-system-configobj-and-feedparser.patch b/net-nntp/sabnzbd/files/use-system-configobj-and-feedparser.patch
337 deleted file mode 100644
338 index a55a54a..00000000
339 --- a/net-nntp/sabnzbd/files/use-system-configobj-and-feedparser.patch
340 +++ /dev/null
341 @@ -1,44 +0,0 @@
342 -From 89cb8b86fb087bc4706478ce4ec3ad5fd19602e6 Mon Sep 17 00:00:00 2001
343 -From: Justin Bronder <jsbronder@×××××.com>
344 -Date: Thu, 3 Jan 2013 04:10:37 -0500
345 -Subject: [PATCH] use system configobj and feedparser
346 -
347 ----
348 - sabnzbd/config.py | 4 +++-
349 - sabnzbd/rss.py | 2 +-
350 - 2 files changed, 4 insertions(+), 2 deletions(-)
351 -
352 -diff --git a/sabnzbd/config.py b/sabnzbd/config.py
353 -index c3fc54c..cce2b14 100644
354 ---- a/sabnzbd/config.py
355 -+++ b/sabnzbd/config.py
356 -@@ -23,10 +23,12 @@ import os
357 - import logging
358 - import threading
359 - import shutil
360 -+
361 -+import configobj
362 -+
363 - import sabnzbd.misc
364 - from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY
365 - from sabnzbd.utils import listquote
366 --from sabnzbd.utils import configobj
367 - from sabnzbd.decorators import synchronized
368 -
369 - CONFIG_LOCK = threading.Lock()
370 -diff --git a/sabnzbd/rss.py b/sabnzbd/rss.py
371 -index 6fe6f5b..19a5d0f 100644
372 ---- a/sabnzbd/rss.py
373 -+++ b/sabnzbd/rss.py
374 -@@ -35,7 +35,7 @@ from sabnzbd.misc import cat_convert, sanitize_foldername, wildcard_to_re, cat_t
375 - import sabnzbd.emailer as emailer
376 - from sabnzbd.encoding import latin1, unicoder, xml_name
377 -
378 --import sabnzbd.utils.feedparser as feedparser
379 -+import feedparser
380 -
381 - __RSS = None # Global pointer to RSS-scanner instance
382 -
383 ---
384 -1.7.3.4
385 -
386
387 diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.16.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.16.ebuild
388 deleted file mode 100644
389 index 4d8ee3b..00000000
390 --- a/net-nntp/sabnzbd/sabnzbd-0.7.16.ebuild
391 +++ /dev/null
392 @@ -1,117 +0,0 @@
393 -# Copyright 1999-2014 Gentoo Foundation
394 -# Distributed under the terms of the GNU General Public License v2
395 -# $Id$
396 -
397 -EAPI="4"
398 -
399 -# Require python-2 with sqlite USE flag
400 -PYTHON_DEPEND="2:2.6"
401 -PYTHON_USE_WITH="sqlite"
402 -
403 -inherit eutils python user
404 -
405 -MY_P="${P/sab/SAB}"
406 -
407 -DESCRIPTION="Binary newsgrabber with web-interface"
408 -HOMEPAGE="http://www.sabnzbd.org/"
409 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
410 -
411 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
412 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
413 -SLOT="0"
414 -KEYWORDS="~amd64"
415 -IUSE="+rar +ssl unzip +yenc"
416 -
417 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
418 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
419 -
420 -# TODO: still bundled but not in protage:
421 -# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
422 -# pynewsleecher
423 -#
424 -# Also note that cherrypy is still bundled. It's near impossible to find
425 -# out where the bundled and heavily patched version came from (pulled from
426 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
427 -# further. Upstream is planning on making this easier with 0.8.0.
428 -# https://github.com/sabnzbd/sabnzbd/issues/47
429 -
430 -RDEPEND="
431 - >=app-arch/par2cmdline-0.4
432 - >=dev-python/cheetah-2.0.1
433 - dev-python/configobj
434 - dev-python/feedparser
435 - dev-python/gntp
436 - dev-python/pythonutils
437 - net-misc/wget
438 - rar? ( || ( app-arch/unrar app-arch/rar ) )
439 - ssl? ( dev-python/pyopenssl )
440 - unzip? ( >=app-arch/unzip-5.5.2 )
441 - yenc? ( dev-python/yenc )
442 -"
443 -
444 -S="${WORKDIR}/${MY_P}"
445 -
446 -pkg_setup() {
447 - HOMEDIR="/var/lib/${PN}"
448 - python_set_active_version 2
449 - python_pkg_setup
450 -
451 - # Create sabnzbd group
452 - enewgroup ${PN}
453 - # Create sabnzbd user, put in sabnzbd group
454 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
455 -}
456 -
457 -src_prepare() {
458 - epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
459 - epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
460 - epatch "${FILESDIR}"/par2cmdline.patch
461 -
462 - # remove bundled modules
463 - rm -r sabnzbd/utils/{feedparser,configobj}.py || die
464 - rm -r gntp || die
465 - rm licenses/License-{feedparser,configobj,gntp}.txt || die
466 -}
467 -
468 -src_install() {
469 - local d
470 -
471 - dodir /usr/share/${PN}/sabnzbd
472 - insinto /usr/share/${PN}/
473 - doins SABnzbd.py
474 - fperms +x /usr/share/${PN}/SABnzbd.py
475 - dobin "${FILESDIR}"/sabnzbd
476 -
477 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
478 - insinto /usr/share/${PN}/${d}
479 - doins -r ${d}/*
480 - done
481 -
482 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
483 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
484 -
485 - diropts -o ${PN} -g ${PN}
486 - dodir /etc/${PN}
487 - dodir /var/log/${PN}
488 -
489 - insinto "/etc/${PN}"
490 - insopts -m 0600 -o ${PN} -g ${PN}
491 - doins "${FILESDIR}/${PN}.ini"
492 -
493 - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
494 -}
495 -
496 -pkg_postinst() {
497 - python_mod_optimize /usr/share/${PN}
498 -
499 - einfo "Default directory: ${HOMEDIR}"
500 - einfo ""
501 - einfo "Run: gpasswd -a <user> sabnzbd"
502 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
503 - einfo ""
504 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
505 -}
506 -
507 -pkg_postrm() {
508 - python_mod_cleanup /usr/share/${PN}
509 -}
510
511 diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.17.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.17.ebuild
512 deleted file mode 100644
513 index 4d8ee3b..00000000
514 --- a/net-nntp/sabnzbd/sabnzbd-0.7.17.ebuild
515 +++ /dev/null
516 @@ -1,117 +0,0 @@
517 -# Copyright 1999-2014 Gentoo Foundation
518 -# Distributed under the terms of the GNU General Public License v2
519 -# $Id$
520 -
521 -EAPI="4"
522 -
523 -# Require python-2 with sqlite USE flag
524 -PYTHON_DEPEND="2:2.6"
525 -PYTHON_USE_WITH="sqlite"
526 -
527 -inherit eutils python user
528 -
529 -MY_P="${P/sab/SAB}"
530 -
531 -DESCRIPTION="Binary newsgrabber with web-interface"
532 -HOMEPAGE="http://www.sabnzbd.org/"
533 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
534 -
535 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
536 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
537 -SLOT="0"
538 -KEYWORDS="~amd64"
539 -IUSE="+rar +ssl unzip +yenc"
540 -
541 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
542 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
543 -
544 -# TODO: still bundled but not in protage:
545 -# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
546 -# pynewsleecher
547 -#
548 -# Also note that cherrypy is still bundled. It's near impossible to find
549 -# out where the bundled and heavily patched version came from (pulled from
550 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
551 -# further. Upstream is planning on making this easier with 0.8.0.
552 -# https://github.com/sabnzbd/sabnzbd/issues/47
553 -
554 -RDEPEND="
555 - >=app-arch/par2cmdline-0.4
556 - >=dev-python/cheetah-2.0.1
557 - dev-python/configobj
558 - dev-python/feedparser
559 - dev-python/gntp
560 - dev-python/pythonutils
561 - net-misc/wget
562 - rar? ( || ( app-arch/unrar app-arch/rar ) )
563 - ssl? ( dev-python/pyopenssl )
564 - unzip? ( >=app-arch/unzip-5.5.2 )
565 - yenc? ( dev-python/yenc )
566 -"
567 -
568 -S="${WORKDIR}/${MY_P}"
569 -
570 -pkg_setup() {
571 - HOMEDIR="/var/lib/${PN}"
572 - python_set_active_version 2
573 - python_pkg_setup
574 -
575 - # Create sabnzbd group
576 - enewgroup ${PN}
577 - # Create sabnzbd user, put in sabnzbd group
578 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
579 -}
580 -
581 -src_prepare() {
582 - epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
583 - epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
584 - epatch "${FILESDIR}"/par2cmdline.patch
585 -
586 - # remove bundled modules
587 - rm -r sabnzbd/utils/{feedparser,configobj}.py || die
588 - rm -r gntp || die
589 - rm licenses/License-{feedparser,configobj,gntp}.txt || die
590 -}
591 -
592 -src_install() {
593 - local d
594 -
595 - dodir /usr/share/${PN}/sabnzbd
596 - insinto /usr/share/${PN}/
597 - doins SABnzbd.py
598 - fperms +x /usr/share/${PN}/SABnzbd.py
599 - dobin "${FILESDIR}"/sabnzbd
600 -
601 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
602 - insinto /usr/share/${PN}/${d}
603 - doins -r ${d}/*
604 - done
605 -
606 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
607 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
608 -
609 - diropts -o ${PN} -g ${PN}
610 - dodir /etc/${PN}
611 - dodir /var/log/${PN}
612 -
613 - insinto "/etc/${PN}"
614 - insopts -m 0600 -o ${PN} -g ${PN}
615 - doins "${FILESDIR}/${PN}.ini"
616 -
617 - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
618 -}
619 -
620 -pkg_postinst() {
621 - python_mod_optimize /usr/share/${PN}
622 -
623 - einfo "Default directory: ${HOMEDIR}"
624 - einfo ""
625 - einfo "Run: gpasswd -a <user> sabnzbd"
626 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
627 - einfo ""
628 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
629 -}
630 -
631 -pkg_postrm() {
632 - python_mod_cleanup /usr/share/${PN}
633 -}
634
635 diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.18.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.18.ebuild
636 deleted file mode 100644
637 index 4d8ee3b..00000000
638 --- a/net-nntp/sabnzbd/sabnzbd-0.7.18.ebuild
639 +++ /dev/null
640 @@ -1,117 +0,0 @@
641 -# Copyright 1999-2014 Gentoo Foundation
642 -# Distributed under the terms of the GNU General Public License v2
643 -# $Id$
644 -
645 -EAPI="4"
646 -
647 -# Require python-2 with sqlite USE flag
648 -PYTHON_DEPEND="2:2.6"
649 -PYTHON_USE_WITH="sqlite"
650 -
651 -inherit eutils python user
652 -
653 -MY_P="${P/sab/SAB}"
654 -
655 -DESCRIPTION="Binary newsgrabber with web-interface"
656 -HOMEPAGE="http://www.sabnzbd.org/"
657 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
658 -
659 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
660 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
661 -SLOT="0"
662 -KEYWORDS="~amd64"
663 -IUSE="+rar +ssl unzip +yenc"
664 -
665 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
666 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
667 -
668 -# TODO: still bundled but not in protage:
669 -# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
670 -# pynewsleecher
671 -#
672 -# Also note that cherrypy is still bundled. It's near impossible to find
673 -# out where the bundled and heavily patched version came from (pulled from
674 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
675 -# further. Upstream is planning on making this easier with 0.8.0.
676 -# https://github.com/sabnzbd/sabnzbd/issues/47
677 -
678 -RDEPEND="
679 - >=app-arch/par2cmdline-0.4
680 - >=dev-python/cheetah-2.0.1
681 - dev-python/configobj
682 - dev-python/feedparser
683 - dev-python/gntp
684 - dev-python/pythonutils
685 - net-misc/wget
686 - rar? ( || ( app-arch/unrar app-arch/rar ) )
687 - ssl? ( dev-python/pyopenssl )
688 - unzip? ( >=app-arch/unzip-5.5.2 )
689 - yenc? ( dev-python/yenc )
690 -"
691 -
692 -S="${WORKDIR}/${MY_P}"
693 -
694 -pkg_setup() {
695 - HOMEDIR="/var/lib/${PN}"
696 - python_set_active_version 2
697 - python_pkg_setup
698 -
699 - # Create sabnzbd group
700 - enewgroup ${PN}
701 - # Create sabnzbd user, put in sabnzbd group
702 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
703 -}
704 -
705 -src_prepare() {
706 - epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
707 - epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
708 - epatch "${FILESDIR}"/par2cmdline.patch
709 -
710 - # remove bundled modules
711 - rm -r sabnzbd/utils/{feedparser,configobj}.py || die
712 - rm -r gntp || die
713 - rm licenses/License-{feedparser,configobj,gntp}.txt || die
714 -}
715 -
716 -src_install() {
717 - local d
718 -
719 - dodir /usr/share/${PN}/sabnzbd
720 - insinto /usr/share/${PN}/
721 - doins SABnzbd.py
722 - fperms +x /usr/share/${PN}/SABnzbd.py
723 - dobin "${FILESDIR}"/sabnzbd
724 -
725 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
726 - insinto /usr/share/${PN}/${d}
727 - doins -r ${d}/*
728 - done
729 -
730 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
731 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
732 -
733 - diropts -o ${PN} -g ${PN}
734 - dodir /etc/${PN}
735 - dodir /var/log/${PN}
736 -
737 - insinto "/etc/${PN}"
738 - insopts -m 0600 -o ${PN} -g ${PN}
739 - doins "${FILESDIR}/${PN}.ini"
740 -
741 - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
742 -}
743 -
744 -pkg_postinst() {
745 - python_mod_optimize /usr/share/${PN}
746 -
747 - einfo "Default directory: ${HOMEDIR}"
748 - einfo ""
749 - einfo "Run: gpasswd -a <user> sabnzbd"
750 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
751 - einfo ""
752 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
753 -}
754 -
755 -pkg_postrm() {
756 - python_mod_cleanup /usr/share/${PN}
757 -}
758
759 diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.19.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.19.ebuild
760 deleted file mode 100644
761 index 4d8ee3b..00000000
762 --- a/net-nntp/sabnzbd/sabnzbd-0.7.19.ebuild
763 +++ /dev/null
764 @@ -1,117 +0,0 @@
765 -# Copyright 1999-2014 Gentoo Foundation
766 -# Distributed under the terms of the GNU General Public License v2
767 -# $Id$
768 -
769 -EAPI="4"
770 -
771 -# Require python-2 with sqlite USE flag
772 -PYTHON_DEPEND="2:2.6"
773 -PYTHON_USE_WITH="sqlite"
774 -
775 -inherit eutils python user
776 -
777 -MY_P="${P/sab/SAB}"
778 -
779 -DESCRIPTION="Binary newsgrabber with web-interface"
780 -HOMEPAGE="http://www.sabnzbd.org/"
781 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
782 -
783 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
784 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
785 -SLOT="0"
786 -KEYWORDS="~amd64"
787 -IUSE="+rar +ssl unzip +yenc"
788 -
789 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
790 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
791 -
792 -# TODO: still bundled but not in protage:
793 -# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
794 -# pynewsleecher
795 -#
796 -# Also note that cherrypy is still bundled. It's near impossible to find
797 -# out where the bundled and heavily patched version came from (pulled from
798 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
799 -# further. Upstream is planning on making this easier with 0.8.0.
800 -# https://github.com/sabnzbd/sabnzbd/issues/47
801 -
802 -RDEPEND="
803 - >=app-arch/par2cmdline-0.4
804 - >=dev-python/cheetah-2.0.1
805 - dev-python/configobj
806 - dev-python/feedparser
807 - dev-python/gntp
808 - dev-python/pythonutils
809 - net-misc/wget
810 - rar? ( || ( app-arch/unrar app-arch/rar ) )
811 - ssl? ( dev-python/pyopenssl )
812 - unzip? ( >=app-arch/unzip-5.5.2 )
813 - yenc? ( dev-python/yenc )
814 -"
815 -
816 -S="${WORKDIR}/${MY_P}"
817 -
818 -pkg_setup() {
819 - HOMEDIR="/var/lib/${PN}"
820 - python_set_active_version 2
821 - python_pkg_setup
822 -
823 - # Create sabnzbd group
824 - enewgroup ${PN}
825 - # Create sabnzbd user, put in sabnzbd group
826 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
827 -}
828 -
829 -src_prepare() {
830 - epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
831 - epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
832 - epatch "${FILESDIR}"/par2cmdline.patch
833 -
834 - # remove bundled modules
835 - rm -r sabnzbd/utils/{feedparser,configobj}.py || die
836 - rm -r gntp || die
837 - rm licenses/License-{feedparser,configobj,gntp}.txt || die
838 -}
839 -
840 -src_install() {
841 - local d
842 -
843 - dodir /usr/share/${PN}/sabnzbd
844 - insinto /usr/share/${PN}/
845 - doins SABnzbd.py
846 - fperms +x /usr/share/${PN}/SABnzbd.py
847 - dobin "${FILESDIR}"/sabnzbd
848 -
849 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
850 - insinto /usr/share/${PN}/${d}
851 - doins -r ${d}/*
852 - done
853 -
854 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
855 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
856 -
857 - diropts -o ${PN} -g ${PN}
858 - dodir /etc/${PN}
859 - dodir /var/log/${PN}
860 -
861 - insinto "/etc/${PN}"
862 - insopts -m 0600 -o ${PN} -g ${PN}
863 - doins "${FILESDIR}/${PN}.ini"
864 -
865 - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
866 -}
867 -
868 -pkg_postinst() {
869 - python_mod_optimize /usr/share/${PN}
870 -
871 - einfo "Default directory: ${HOMEDIR}"
872 - einfo ""
873 - einfo "Run: gpasswd -a <user> sabnzbd"
874 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
875 - einfo ""
876 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
877 -}
878 -
879 -pkg_postrm() {
880 - python_mod_cleanup /usr/share/${PN}
881 -}
882
883 diff --git a/net-nntp/sabnzbd/sabnzbd-0.7.20.ebuild b/net-nntp/sabnzbd/sabnzbd-0.7.20.ebuild
884 deleted file mode 100644
885 index 67b063b..00000000
886 --- a/net-nntp/sabnzbd/sabnzbd-0.7.20.ebuild
887 +++ /dev/null
888 @@ -1,122 +0,0 @@
889 -# Copyright 1999-2015 Gentoo Foundation
890 -# Distributed under the terms of the GNU General Public License v2
891 -# $Id$
892 -
893 -EAPI="4"
894 -
895 -# Require python-2 with sqlite USE flag
896 -PYTHON_DEPEND="2:2.6"
897 -PYTHON_USE_WITH="sqlite"
898 -
899 -inherit eutils python user systemd
900 -
901 -MY_P="${P/sab/SAB}"
902 -
903 -DESCRIPTION="Binary newsgrabber with web-interface"
904 -HOMEPAGE="http://www.sabnzbd.org/"
905 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
906 -
907 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
908 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
909 -SLOT="0"
910 -KEYWORDS="~amd64"
911 -IUSE="+rar +ssl unzip +yenc"
912 -
913 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
914 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
915 -
916 -# TODO: still bundled but not in protage:
917 -# kronos, rarfile, rsslib, ssmtplib, listquote, json-py, msgfmt
918 -# pynewsleecher
919 -#
920 -# Also note that cherrypy is still bundled. It's near impossible to find
921 -# out where the bundled and heavily patched version came from (pulled from
922 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
923 -# further. Upstream is planning on making this easier with 0.8.0.
924 -# https://github.com/sabnzbd/sabnzbd/issues/47
925 -
926 -RDEPEND="
927 - >=app-arch/par2cmdline-0.4
928 - >=dev-python/cheetah-2.0.1
929 - dev-python/configobj
930 - dev-python/feedparser
931 - dev-python/gntp
932 - dev-python/pythonutils
933 - net-misc/wget
934 - rar? ( || ( app-arch/unrar app-arch/rar ) )
935 - ssl? ( dev-python/pyopenssl )
936 - unzip? ( >=app-arch/unzip-5.5.2 )
937 - yenc? ( dev-python/yenc )
938 -"
939 -
940 -S="${WORKDIR}/${MY_P}"
941 -
942 -pkg_setup() {
943 - HOMEDIR="/var/lib/${PN}"
944 - python_set_active_version 2
945 - python_pkg_setup
946 -
947 - # Create sabnzbd group
948 - enewgroup ${PN}
949 - # Create sabnzbd user, put in sabnzbd group
950 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
951 -}
952 -
953 -src_prepare() {
954 - epatch "${FILESDIR}"/use-system-configobj-and-feedparser.patch
955 - epatch "${FILESDIR}"/growler-support-gntp-1.0.patch
956 - epatch "${FILESDIR}"/par2cmdline.patch
957 - epatch "${FILESDIR}"/disable_growl_by_default.patch
958 -
959 - # remove bundled modules
960 - rm -r sabnzbd/utils/{feedparser,configobj}.py || die
961 - rm -r gntp || die
962 - rm licenses/License-{feedparser,configobj,gntp}.txt || die
963 -}
964 -
965 -src_install() {
966 - local d
967 -
968 - dodir /usr/share/${PN}/sabnzbd
969 - insinto /usr/share/${PN}/
970 - doins SABnzbd.py
971 - fperms +x /usr/share/${PN}/SABnzbd.py
972 - dobin "${FILESDIR}"/sabnzbd
973 -
974 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
975 - insinto /usr/share/${PN}/${d}
976 - doins -r ${d}/*
977 - done
978 -
979 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
980 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
981 -
982 - diropts -o ${PN} -g ${PN}
983 - dodir /etc/${PN}
984 - dodir /var/log/${PN}
985 -
986 - insinto "/etc/${PN}"
987 - insopts -m 0600 -o ${PN} -g ${PN}
988 - doins "${FILESDIR}/${PN}.ini"
989 -
990 - dodoc {ABOUT,CHANGELOG,ISSUES,README}.txt Sample-PostProc.sh licenses/*
991 -
992 - systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service'
993 -}
994 -
995 -pkg_postinst() {
996 - python_mod_optimize /usr/share/${PN}
997 -
998 - einfo "Default directory: ${HOMEDIR}"
999 - einfo ""
1000 - einfo "Run: gpasswd -a <user> sabnzbd"
1001 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
1002 - einfo ""
1003 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
1004 - einfo "As growl isn't default notification system on gentoo we disable it."
1005 - einfo "By default notifications are forwarded to the 23053 port(gntp)."
1006 -}
1007 -
1008 -pkg_postrm() {
1009 - python_mod_cleanup /usr/share/${PN}
1010 -}
1011
1012 diff --git a/net-nntp/sabnzbd/sabnzbd-1.0.3.ebuild b/net-nntp/sabnzbd/sabnzbd-1.0.3.ebuild
1013 deleted file mode 100644
1014 index fd4a8a4..00000000
1015 --- a/net-nntp/sabnzbd/sabnzbd-1.0.3.ebuild
1016 +++ /dev/null
1017 @@ -1,134 +0,0 @@
1018 -# Copyright 1999-2016 Gentoo Foundation
1019 -# Distributed under the terms of the GNU General Public License v2
1020 -# $Id$
1021 -
1022 -EAPI="4"
1023 -
1024 -# Require python-2 with sqlite USE flag
1025 -PYTHON_DEPEND="2:2.7"
1026 -PYTHON_USE_WITH="sqlite"
1027 -
1028 -inherit eutils python user systemd versionator
1029 -
1030 -MY_P="${P/sab/SAB}"
1031 -
1032 -DESCRIPTION="Binary newsgrabber with web-interface"
1033 -HOMEPAGE="http://www.sabnzbd.org/"
1034 -SRC_URI="mirror://sourceforge/sabnzbdplus/${MY_P}-src.tar.gz"
1035 -
1036 -# Sabnzbd is GPL-2 but bundles software with the following licenses.
1037 -LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1"
1038 -SLOT="0"
1039 -KEYWORDS="~amd64"
1040 -IUSE="+rar +ssl unzip +yenc"
1041 -
1042 -# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not
1043 -# be in python's sitedir. See: http://wiki.sabnzbd.org/unix-packaging
1044 -
1045 -# TODO: still bundled but not in protage:
1046 -# kronos, rsslib, ssmtplib, listquote, json-py, msgfmt
1047 -# pynewsleecher
1048 -#
1049 -# Also note that cherrypy is still bundled. It's near impossible to find
1050 -# out where the bundled and heavily patched version came from (pulled from
1051 -# cherrypy subversion, patched somewhere, then imported to sabnzbd and patched
1052 -# further. Upstream is planning on making this easier with 0.8.0.
1053 -# https://github.com/sabnzbd/sabnzbd/issues/47
1054 -
1055 -RDEPEND="
1056 - >=app-arch/par2cmdline-0.4
1057 - >=dev-python/cheetah-2.0.1
1058 - dev-python/configobj
1059 - dev-python/feedparser
1060 - dev-python/gntp
1061 - dev-python/pythonutils
1062 - dev-python/rarfile
1063 - net-misc/wget
1064 - rar? ( || ( app-arch/unrar app-arch/rar ) )
1065 - ssl? ( dev-python/pyopenssl )
1066 - unzip? ( >=app-arch/unzip-5.5.2 )
1067 - yenc? ( dev-python/yenc )
1068 -"
1069 -
1070 -S="${WORKDIR}/${MY_P}"
1071 -
1072 -pkg_setup() {
1073 - HOMEDIR="/var/lib/${PN}"
1074 - python_set_active_version 2
1075 - python_pkg_setup
1076 -
1077 - # Create sabnzbd group
1078 - enewgroup ${PN}
1079 - # Create sabnzbd user, put in sabnzbd group
1080 - enewuser "${PN}" -1 -1 "${HOMEDIR}" "${PN}"
1081 -}
1082 -
1083 -src_prepare() {
1084 - epatch "${FILESDIR}"/1.x/0001-use-system-configobj-and-feedparser.patch
1085 - epatch "${FILESDIR}"/1.x/0002-growler-support-gntp-1.0.patch
1086 - epatch "${FILESDIR}"/1.x/0003-cfg-disable-growl-by-default.patch
1087 - epatch "${FILESDIR}"/1.x/0004-use-system-rarfile.patch
1088 -
1089 - # remove bundled modules
1090 - rm -r sabnzbd/utils/{feedparser,configobj,rarfile}.py || die
1091 - rm -r gntp || die
1092 - rm licenses/License-{feedparser,configobj,gntp,rarfile}.txt || die
1093 -}
1094 -
1095 -src_install() {
1096 - local d
1097 -
1098 - dodir /usr/share/${PN}/sabnzbd
1099 - insinto /usr/share/${PN}/
1100 - doins SABnzbd.py
1101 - fperms +x /usr/share/${PN}/SABnzbd.py
1102 - dobin "${FILESDIR}"/sabnzbd
1103 -
1104 - for d in cherrypy email icons interfaces locale po sabnzbd tools util; do
1105 - insinto /usr/share/${PN}/${d}
1106 - doins -r ${d}/*
1107 - done
1108 -
1109 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
1110 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
1111 -
1112 - diropts -o ${PN} -g ${PN}
1113 - dodir /etc/${PN}
1114 - dodir /var/log/${PN}
1115 -
1116 - insinto "/etc/${PN}"
1117 - insopts -m 0600 -o ${PN} -g ${PN}
1118 - doins "${FILESDIR}/${PN}.ini"
1119 -
1120 - dodoc {ABOUT,ISSUES,README}.txt licenses/*
1121 -
1122 - systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service'
1123 -}
1124 -
1125 -pkg_postinst() {
1126 - python_mod_optimize /usr/share/${PN}
1127 -
1128 - einfo "Default directory: ${HOMEDIR}"
1129 - einfo ""
1130 - einfo "Run: gpasswd -a <user> sabnzbd"
1131 - einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
1132 - einfo ""
1133 - einfo "By default sabnzbd will listen on 127.0.0.1:8080"
1134 - einfo "As growl isn't default notification system on gentoo we disable it."
1135 - einfo "By default notifications are forwarded to the 23053 port(gntp)."
1136 -
1137 - local replacing
1138 - for replacing in ${REPLACING_VERSIONS}; do
1139 - if [ "$(get_major_version ${replacing})" == "0" ]; then
1140 - echo
1141 - ewarn "Upgrading from ${PN}-0.x.y to ${PN}-1.x.y introduces incompatible changes"
1142 - ewarn "See http://wiki.sabnzbd.org/introducing-1-0-0."
1143 - ewarn "In particular, you need to let your queue complete before restarting ${PN}"
1144 - break
1145 - fi
1146 - done
1147 -}
1148 -
1149 -pkg_postrm() {
1150 - python_mod_cleanup /usr/share/${PN}
1151 -}