1 |
commit: 293395e3ff9518441337c44e64b9e82c0a0b8313 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 08:18:35 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 08:18:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=293395e3 |
7 |
|
8 |
net-nntp/sabnzbd: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
net-nntp/sabnzbd/Manifest | 2 - |
14 |
net-nntp/sabnzbd/sabnzbd-3.1.1.ebuild | 121 ---------------------------------- |
15 |
net-nntp/sabnzbd/sabnzbd-3.2.0.ebuild | 121 ---------------------------------- |
16 |
3 files changed, 244 deletions(-) |
17 |
|
18 |
diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest |
19 |
index a43f30d3442..225802ad19d 100644 |
20 |
--- a/net-nntp/sabnzbd/Manifest |
21 |
+++ b/net-nntp/sabnzbd/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST SABnzbd-3.1.1-src.tar.gz 2735624 BLAKE2B 411963a49468cb0654be2f586790baaf1f0657491f7f1da848afe2d0fa89750cde8dc06c8a748fe6cb120d27a961881befb1100a234a28d7ec211b4435011576 SHA512 4e8debd2a0ef7379789df035f7d929e2b3dbf13d9394dfebb6075d8b877e610d4ef8953e98eeafd6048952738046bb6b9539e85516f8783c5e06bda1470b3c7e |
24 |
-DIST SABnzbd-3.2.0-src.tar.gz 2774559 BLAKE2B 82e662355f79a9be54b482ac29d1fb7fe7232355df6784ce3c908d6ee3bfe3cf22db1144034319542df5274ddbb1ef563cf67c5a848062a3f6880a45b308d522 SHA512 98797695950ca35098b8b4103216fd9fcb3fa33112cf2e3918033c26ef094a1affd2a2f389aadcc3ef1666cff1b6de91a99a45032b51711870254568ff9f723a |
25 |
DIST SABnzbd-3.2.1-src.tar.gz 2777984 BLAKE2B 6e0ebe122a01f8cbd5b26eefe3728478dd348b3d11fb274c2a146b7567f306074ddd93b438463471e22fc77c6c2223e864c6019ba0d7ab464162451e9f9c8cb9 SHA512 ace29199eb6f03450d25fc3b79960d1afc336f0013771bcf698e7df5c5e5ed920ad783f542ba8f3dbcd451d279993a6d4299d78075184e43ad74411ac19c3f59 |
26 |
|
27 |
diff --git a/net-nntp/sabnzbd/sabnzbd-3.1.1.ebuild b/net-nntp/sabnzbd/sabnzbd-3.1.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 1377f8e25f2..00000000000 |
30 |
--- a/net-nntp/sabnzbd/sabnzbd-3.1.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,121 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="7" |
37 |
- |
38 |
-# Require python-2 with sqlite USE flag |
39 |
-PYTHON_COMPAT=( python3_{7..8} ) |
40 |
-PYTHON_REQ_USE="sqlite" |
41 |
- |
42 |
-inherit python-single-r1 systemd |
43 |
- |
44 |
-MY_PV="${PV/_rc/RC}" |
45 |
-MY_PV="${MY_PV//_pre*}" |
46 |
- |
47 |
-MY_P="${PN/sab/SAB}-${MY_PV}" |
48 |
- |
49 |
-DESCRIPTION="Binary newsgrabber with web-interface" |
50 |
-HOMEPAGE="https://sabnzbd.org/" |
51 |
-SRC_URI="https://github.com/sabnzbd/sabnzbd/releases/download/${MY_PV}/${MY_P}-src.tar.gz" |
52 |
- |
53 |
-# Sabnzbd is GPL-2 but bundles software with the following licenses. |
54 |
-LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~amd64" |
57 |
-IUSE="+7za +rar unzip" |
58 |
- |
59 |
-# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not |
60 |
-# be in python's sitedir. See: https://sabnzbd.org/wiki/advanced/unix-packaging |
61 |
- |
62 |
-COMMON_DEPS=" |
63 |
- acct-user/sabnzbd |
64 |
- acct-group/sabnzbd |
65 |
- ${PYTHON_DEPS} |
66 |
- $(python_gen_cond_dep ' |
67 |
- dev-python/chardet[${PYTHON_MULTI_USEDEP}] |
68 |
- dev-python/cheetah3[${PYTHON_MULTI_USEDEP}] |
69 |
- dev-python/cherrypy[${PYTHON_MULTI_USEDEP}] |
70 |
- dev-python/configobj[${PYTHON_MULTI_USEDEP}] |
71 |
- dev-python/cryptography[${PYTHON_MULTI_USEDEP}] |
72 |
- >=dev-python/feedparser-6[${PYTHON_MULTI_USEDEP}] |
73 |
- dev-python/notify2[${PYTHON_MULTI_USEDEP}] |
74 |
- dev-python/portend[${PYTHON_MULTI_USEDEP}] |
75 |
- >=dev-python/sabyenc-4[${PYTHON_MULTI_USEDEP}] |
76 |
- ') |
77 |
-" |
78 |
- |
79 |
-DEPEND="${COMMON_DEPS}" |
80 |
- |
81 |
-RDEPEND=" |
82 |
- ${COMMON_DEPS} |
83 |
- >=app-arch/par2cmdline-0.4 |
84 |
- net-misc/wget |
85 |
- 7za? ( app-arch/p7zip ) |
86 |
- rar? ( || ( app-arch/unrar app-arch/rar ) ) |
87 |
- unzip? ( >=app-arch/unzip-5.5.2 ) |
88 |
-" |
89 |
- |
90 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
91 |
- |
92 |
-S="${WORKDIR}/${MY_P}" |
93 |
- |
94 |
-pkg_setup() { |
95 |
- MY_HOMEDIR="/var/lib/${PN}" |
96 |
- python-single-r1_pkg_setup |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- local d |
101 |
- |
102 |
- for d in email icons interfaces locale po sabnzbd scripts tools; do |
103 |
- insinto "/usr/share/${PN}/${d}" |
104 |
- doins -r ${d}/* |
105 |
- done |
106 |
- |
107 |
- exeinto "/usr/share/${PN}" |
108 |
- doexe SABnzbd.py |
109 |
- |
110 |
- python_fix_shebang "${ED}/usr/share/${PN}" |
111 |
- python_optimize "${ED}/usr/share/${PN}" |
112 |
- |
113 |
- newinitd "${FILESDIR}/${PN}-r1.initd" "${PN}" |
114 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
115 |
- |
116 |
- diropts -o "${PN}" -g "${PN}" |
117 |
- dodir "/etc/${PN}" |
118 |
- keepdir "/var/log/${PN}" |
119 |
- |
120 |
- insinto "/etc/${PN}" |
121 |
- insopts -m 0600 -o "${PN}" -g "${PN}" |
122 |
- newins "${FILESDIR}"/${PN}-r1.ini ${PN}.ini |
123 |
- |
124 |
- dodoc ISSUES.txt README.mkd |
125 |
- |
126 |
- systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service' |
127 |
-} |
128 |
- |
129 |
-pkg_postinst() { |
130 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
131 |
- # This is a new installation |
132 |
- einfo "Default directory: ${MY_HOMEDIR}" |
133 |
- einfo |
134 |
- einfo "To add a user to the sabnzbd group so it can edit SABnzbd+ files, run:" |
135 |
- einfo |
136 |
- einfo " usermod -a -G sabnzbd <user>" |
137 |
- einfo |
138 |
- einfo "By default, SABnzbd will listen on TCP port 8080." |
139 |
- else |
140 |
- local v |
141 |
- for v in ${REPLACING_VERSIONS}; do |
142 |
- if ver_test "${v}" -lt 3; then |
143 |
- ewarn |
144 |
- ewarn "Due to changes in this release, the queue will be converted when ${PN}" |
145 |
- ewarn "is started for the first time. Job order, settings and data will be" |
146 |
- ewarn "preserved, but all jobs will be unpaused and URLs that did not finish" |
147 |
- ewarn "fetching before the upgrade will be lost!" |
148 |
- ewarn |
149 |
- break |
150 |
- fi |
151 |
- done |
152 |
- fi |
153 |
-} |
154 |
|
155 |
diff --git a/net-nntp/sabnzbd/sabnzbd-3.2.0.ebuild b/net-nntp/sabnzbd/sabnzbd-3.2.0.ebuild |
156 |
deleted file mode 100644 |
157 |
index e842f9ed1be..00000000000 |
158 |
--- a/net-nntp/sabnzbd/sabnzbd-3.2.0.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,121 +0,0 @@ |
161 |
-# Copyright 1999-2021 Gentoo Authors |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI="7" |
165 |
- |
166 |
-# Require python-2 with sqlite USE flag |
167 |
-PYTHON_COMPAT=( python3_{7..9} ) |
168 |
-PYTHON_REQ_USE="sqlite" |
169 |
- |
170 |
-inherit python-single-r1 systemd |
171 |
- |
172 |
-MY_PV="${PV/_rc/RC}" |
173 |
-MY_PV="${MY_PV//_pre*}" |
174 |
- |
175 |
-MY_P="${PN/sab/SAB}-${MY_PV}" |
176 |
- |
177 |
-DESCRIPTION="Binary newsgrabber with web-interface" |
178 |
-HOMEPAGE="https://sabnzbd.org/" |
179 |
-SRC_URI="https://github.com/sabnzbd/sabnzbd/releases/download/${MY_PV}/${MY_P}-src.tar.gz" |
180 |
- |
181 |
-# Sabnzbd is GPL-2 but bundles software with the following licenses. |
182 |
-LICENSE="GPL-2 BSD LGPL-2 MIT BSD-1" |
183 |
-SLOT="0" |
184 |
-KEYWORDS="~amd64" |
185 |
-IUSE="+7za +rar unzip" |
186 |
- |
187 |
-# Sabnzbd is installed to /usr/share/ as upstream makes it clear they should not |
188 |
-# be in python's sitedir. See: https://sabnzbd.org/wiki/advanced/unix-packaging |
189 |
- |
190 |
-COMMON_DEPS=" |
191 |
- acct-user/sabnzbd |
192 |
- acct-group/sabnzbd |
193 |
- ${PYTHON_DEPS} |
194 |
- $(python_gen_cond_dep ' |
195 |
- dev-python/chardet[${PYTHON_MULTI_USEDEP}] |
196 |
- dev-python/cheetah3[${PYTHON_MULTI_USEDEP}] |
197 |
- dev-python/cherrypy[${PYTHON_MULTI_USEDEP}] |
198 |
- dev-python/configobj[${PYTHON_MULTI_USEDEP}] |
199 |
- dev-python/cryptography[${PYTHON_MULTI_USEDEP}] |
200 |
- >=dev-python/feedparser-6[${PYTHON_MULTI_USEDEP}] |
201 |
- dev-python/notify2[${PYTHON_MULTI_USEDEP}] |
202 |
- dev-python/portend[${PYTHON_MULTI_USEDEP}] |
203 |
- >=dev-python/sabyenc-4[${PYTHON_MULTI_USEDEP}] |
204 |
- ') |
205 |
-" |
206 |
- |
207 |
-DEPEND="${COMMON_DEPS}" |
208 |
- |
209 |
-RDEPEND=" |
210 |
- ${COMMON_DEPS} |
211 |
- >=app-arch/par2cmdline-0.4 |
212 |
- net-misc/wget |
213 |
- 7za? ( app-arch/p7zip ) |
214 |
- rar? ( || ( app-arch/unrar app-arch/rar ) ) |
215 |
- unzip? ( >=app-arch/unzip-5.5.2 ) |
216 |
-" |
217 |
- |
218 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
219 |
- |
220 |
-S="${WORKDIR}/${MY_P}" |
221 |
- |
222 |
-pkg_setup() { |
223 |
- MY_HOMEDIR="/var/lib/${PN}" |
224 |
- python-single-r1_pkg_setup |
225 |
-} |
226 |
- |
227 |
-src_install() { |
228 |
- local d |
229 |
- |
230 |
- for d in email icons interfaces locale po sabnzbd scripts tools; do |
231 |
- insinto "/usr/share/${PN}/${d}" |
232 |
- doins -r ${d}/* |
233 |
- done |
234 |
- |
235 |
- exeinto "/usr/share/${PN}" |
236 |
- doexe SABnzbd.py |
237 |
- |
238 |
- python_fix_shebang "${ED}/usr/share/${PN}" |
239 |
- python_optimize "${ED}/usr/share/${PN}" |
240 |
- |
241 |
- newinitd "${FILESDIR}/${PN}-r1.initd" "${PN}" |
242 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
243 |
- |
244 |
- diropts -o "${PN}" -g "${PN}" |
245 |
- dodir "/etc/${PN}" |
246 |
- keepdir "/var/log/${PN}" |
247 |
- |
248 |
- insinto "/etc/${PN}" |
249 |
- insopts -m 0600 -o "${PN}" -g "${PN}" |
250 |
- newins "${FILESDIR}"/${PN}-r1.ini ${PN}.ini |
251 |
- |
252 |
- dodoc ISSUES.txt README.mkd |
253 |
- |
254 |
- systemd_newunit "${FILESDIR}"/sabnzbd_at.service 'sabnzbd@.service' |
255 |
-} |
256 |
- |
257 |
-pkg_postinst() { |
258 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
259 |
- # This is a new installation |
260 |
- einfo "Default directory: ${MY_HOMEDIR}" |
261 |
- einfo |
262 |
- einfo "To add a user to the sabnzbd group so it can edit SABnzbd+ files, run:" |
263 |
- einfo |
264 |
- einfo " usermod -a -G sabnzbd <user>" |
265 |
- einfo |
266 |
- einfo "By default, SABnzbd will listen on TCP port 8080." |
267 |
- else |
268 |
- local v |
269 |
- for v in ${REPLACING_VERSIONS}; do |
270 |
- if ver_test "${v}" -lt 3; then |
271 |
- ewarn |
272 |
- ewarn "Due to changes in this release, the queue will be converted when ${PN}" |
273 |
- ewarn "is started for the first time. Job order, settings and data will be" |
274 |
- ewarn "preserved, but all jobs will be unpaused and URLs that did not finish" |
275 |
- ewarn "fetching before the upgrade will be lost!" |
276 |
- ewarn |
277 |
- break |
278 |
- fi |
279 |
- done |
280 |
- fi |
281 |
-} |