Diff deluge-2.1.1-r4 with a deluge-9999
/usr/portage/net-p2p/deluge/deluge-9999.ebuild 2023-10-09 14:52:34.736368482 +0300 | ||
---|---|---|
16 | 16 |
EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" |
17 | 17 |
else |
18 | 18 |
SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz" |
19 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86" |
|
19 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv" |
|
20 | 20 |
fi |
21 | 21 | |
22 | 22 |
LICENSE="GPL-2" |
... | ... | |
63 | 63 |
') |
64 | 64 |
" |
65 | 65 | |
66 |
PATCHES=( |
|
67 |
"${FILESDIR}/${P}-twisted-22.10.patch" |
|
68 |
# https://dev.deluge-torrent.org/ticket/3598 |
|
69 |
"${FILESDIR}/${P}-ayatana.patch" |
|
70 |
# https://dev.deluge-torrent.org/ticket/3582 |
|
71 |
"${FILESDIR}/${P}-consoleui-deferred.patch" |
|
72 |
) |
|
73 | ||
74 | 66 |
distutils_enable_tests pytest |
75 | 67 | |
76 | 68 |
python_prepare_all() { |
... | ... | |
138 | 130 |
if use webinterface; then |
139 | 131 |
newinitd "${FILESDIR}/deluge-web.init-2" deluge-web |
140 | 132 |
newconfd "${FILESDIR}/deluge-web.conf" deluge-web |
141 |
systemd_newunit "${FILESDIR}/deluge-web.service-4" deluge-web.service |
|
133 |
systemd_newunit "${FILESDIR}/deluge-web.service-3" deluge-web.service |
|
142 | 134 |
systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" |
143 | 135 |
else |
144 | 136 |
rm -r "${D}/$(python_get_sitedir)/deluge/ui/web/" || die |
... | ... | |
163 | 155 |
elog |
164 | 156 |
elog "To start the daemon either run 'deluged' as user" |
165 | 157 |
elog "or modify /etc/conf.d/deluged and run" |
166 |
elog "'/etc/init.d/deluged start' as root if you use OpenRC" |
|
167 |
elog "or" |
|
168 |
elog "'systemctl start deluged.service' as root if you use systemd" |
|
158 |
elog "/etc/init.d/deluged start as root" |
|
169 | 159 |
elog "You can still use deluge the old way" |
170 | 160 |
elog |
171 | 161 |
elog "Systemd unit files for deluged and deluge-web no longer source" |