Gentoo Archives: gentoo-commits

From: "Benda XU (heroxbd)" <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/deluge: deluge-1.3.11.ebuild deluge-9999.ebuild ChangeLog deluge-1.3.5-r2.ebuild deluge-1.3.3.ebuild deluge-1.3.5.ebuild
Date: Mon, 01 Dec 2014 05:54:12
Message-Id: 20141201055408.76414B43E@oystercatcher.gentoo.org
1 heroxbd 14/12/01 05:54:08
2
3 Modified: deluge-9999.ebuild ChangeLog
4 Added: deluge-1.3.11.ebuild
5 Removed: deluge-1.3.5-r2.ebuild deluge-1.3.3.ebuild
6 deluge-1.3.5.ebuild
7 Log:
8 Version bump to 1.3.11 and to EAPI 5 for bug #517072; thanks Mark R. Pariente. Drop old ebuilds and python 2.5/2.6 dependencies. Rebase -9999 to 1.3.11. Migrate from distutils to distutils-r1.
9
10 (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
11
12 Revision Changes Path
13 1.36 net-p2p/deluge/deluge-9999.ebuild
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild?rev=1.36&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild?rev=1.36&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild?r1=1.35&r2=1.36
18
19 Index: deluge-9999.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild,v
22 retrieving revision 1.35
23 retrieving revision 1.36
24 diff -u -r1.35 -r1.36
25 --- deluge-9999.ebuild 10 Aug 2014 20:36:34 -0000 1.35
26 +++ deluge-9999.ebuild 1 Dec 2014 05:54:08 -0000 1.36
27 @@ -1,36 +1,42 @@
28 # Copyright 1999-2014 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild,v 1.35 2014/08/10 20:36:34 slyfox Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild,v 1.36 2014/12/01 05:54:08 heroxbd Exp $
32
33 -EAPI="3"
34 -PYTHON_DEPEND="2:2.5"
35 +EAPI="5"
36
37 -inherit distutils git-2
38 -
39 -EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git
40 - http://git.deluge-torrent.org/${PN}/"
41 +PYTHON_COMPAT=( python2_7 )
42 +DISTUTILS_SINGLE_IMPL=1
43 +inherit distutils-r1 eutils systemd
44
45 DESCRIPTION="BitTorrent client with a client/server model"
46 HOMEPAGE="http://deluge-torrent.org/"
47 -SRC_URI=""
48 +
49 +if [[ ${PV} == 9999 ]]; then
50 + inherit git-2
51 + EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git
52 + http://git.deluge-torrent.org/${PN}"
53 + SRC_URI=""
54 + KEYWORDS=""
55 +else
56 + SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2"
57 + KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
58 +fi
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 -KEYWORDS=""
63 -IUSE="geoip gtk libnotify setproctitle webinterface"
64 +IUSE="geoip gtk libnotify setproctitle sound webinterface"
65
66 DEPEND=">=net-libs/rb_libtorrent-0.14.9[python]
67 - dev-python/setuptools"
68 -RDEPEND="${DEPEND}
69 + dev-util/intltool"
70 +RDEPEND=">=net-libs/rb_libtorrent-0.14.9[python]
71 dev-python/chardet
72 dev-python/pyopenssl
73 dev-python/pyxdg
74 - || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
75 >=dev-python/twisted-core-8.1
76 >=dev-python/twisted-web-8.1
77 geoip? ( dev-libs/geoip )
78 gtk? (
79 - dev-python/pygame
80 + sound? ( dev-python/pygame )
81 dev-python/pygobject:2
82 >=dev-python/pygtk-2.12
83 gnome-base/librsvg
84 @@ -39,25 +45,23 @@
85 setproctitle? ( dev-python/setproctitle )
86 webinterface? ( dev-python/mako )"
87
88 -pkg_setup() {
89 - python_set_active_version 2
90 - python_pkg_setup
91 -}
92 +python_prepare_all() {
93 + local PATCHES=(
94 + "${FILESDIR}"/${PN}-1.3.5-disable_libtorrent_internal_copy.patch
95 + )
96
97 -src_prepare() {
98 - distutils_src_prepare
99 - python_convert_shebangs -r 2 .
100 - epatch "${FILESDIR}/${PN}-1.3.5-disable_libtorrent_internal_copy.patch"
101 + distutils-r1_python_prepare_all
102 }
103
104 -src_install() {
105 - distutils_src_install
106 +python_install_all() {
107 + distutils-r1_python_install_all
108 newinitd "${FILESDIR}"/deluged.init deluged
109 newconfd "${FILESDIR}"/deluged.conf deluged
110 + systemd_dounit "${FILESDIR}"/deluged.service
111 + systemd_dounit "${FILESDIR}"/deluge-web.service
112 }
113
114 pkg_postinst() {
115 - distutils_pkg_postinst
116 elog
117 elog "If after upgrading it doesn't work, please remove the"
118 elog "'~/.config/deluge' directory and try again, but make a backup"
119
120
121
122 1.190 net-p2p/deluge/ChangeLog
123
124 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/ChangeLog?rev=1.190&view=markup
125 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/ChangeLog?rev=1.190&content-type=text/plain
126 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/ChangeLog?r1=1.189&r2=1.190
127
128 Index: ChangeLog
129 ===================================================================
130 RCS file: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v
131 retrieving revision 1.189
132 retrieving revision 1.190
133 diff -u -r1.189 -r1.190
134 --- ChangeLog 10 Aug 2014 20:36:34 -0000 1.189
135 +++ ChangeLog 1 Dec 2014 05:54:08 -0000 1.190
136 @@ -1,6 +1,15 @@
137 # ChangeLog for net-p2p/deluge
138 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
139 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.189 2014/08/10 20:36:34 slyfox Exp $
140 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.190 2014/12/01 05:54:08 heroxbd Exp $
141 +
142 +*deluge-1.3.11 (01 Dec 2014)
143 +
144 + 01 Dec 2014; Benda Xu <heroxbd@g.o> +deluge-1.3.11.ebuild,
145 + -deluge-1.3.3.ebuild, -deluge-1.3.5-r2.ebuild, -deluge-1.3.5.ebuild,
146 + deluge-9999.ebuild:
147 + Version bump to 1.3.11 and to EAPI 5 for bug #517072; thanks Mark R. Pariente.
148 + Drop old ebuilds and python 2.5/2.6 dependencies. Rebase -9999 to 1.3.11.
149 + Migrate from distutils to distutils-r1.
150
151 10 Aug 2014; Sergei Trofimovich <slyfox@g.o> deluge-1.3.3.ebuild,
152 deluge-1.3.5-r2.ebuild, deluge-1.3.5.ebuild, deluge-1.3.6.ebuild,
153
154
155
156 1.1 net-p2p/deluge/deluge-1.3.11.ebuild
157
158 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/deluge-1.3.11.ebuild?rev=1.1&view=markup
159 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/deluge/deluge-1.3.11.ebuild?rev=1.1&content-type=text/plain
160
161 Index: deluge-1.3.11.ebuild
162 ===================================================================
163 # Copyright 1999-2014 Gentoo Foundation
164 # Distributed under the terms of the GNU General Public License v2
165 # $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.3.11.ebuild,v 1.1 2014/12/01 05:54:08 heroxbd Exp $
166
167 EAPI="5"
168
169 PYTHON_COMPAT=( python2_7 )
170 DISTUTILS_SINGLE_IMPL=1
171 inherit distutils-r1 eutils systemd
172
173 DESCRIPTION="BitTorrent client with a client/server model"
174 HOMEPAGE="http://deluge-torrent.org/"
175
176 if [[ ${PV} == 9999 ]]; then
177 inherit git-2
178 EGIT_REPO_URI="git://deluge-torrent.org/${PN}.git
179 http://git.deluge-torrent.org/${PN}"
180 SRC_URI=""
181 KEYWORDS=""
182 else
183 SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.bz2"
184 KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
185 fi
186
187 LICENSE="GPL-2"
188 SLOT="0"
189 IUSE="geoip gtk libnotify setproctitle sound webinterface"
190
191 DEPEND=">=net-libs/rb_libtorrent-0.14.9[python]
192 dev-util/intltool"
193 RDEPEND=">=net-libs/rb_libtorrent-0.14.9[python]
194 dev-python/chardet
195 dev-python/pyopenssl
196 dev-python/pyxdg
197 >=dev-python/twisted-core-8.1
198 >=dev-python/twisted-web-8.1
199 geoip? ( dev-libs/geoip )
200 gtk? (
201 sound? ( dev-python/pygame )
202 dev-python/pygobject:2
203 >=dev-python/pygtk-2.12
204 gnome-base/librsvg
205 libnotify? ( dev-python/notify-python )
206 )
207 setproctitle? ( dev-python/setproctitle )
208 webinterface? ( dev-python/mako )"
209
210 python_prepare_all() {
211 local PATCHES=(
212 "${FILESDIR}"/${PN}-1.3.5-disable_libtorrent_internal_copy.patch
213 )
214
215 distutils-r1_python_prepare_all
216 }
217
218 python_install_all() {
219 distutils-r1_python_install_all
220 newinitd "${FILESDIR}"/deluged.init deluged
221 newconfd "${FILESDIR}"/deluged.conf deluged
222 systemd_dounit "${FILESDIR}"/deluged.service
223 systemd_dounit "${FILESDIR}"/deluge-web.service
224 }
225
226 pkg_postinst() {
227 elog
228 elog "If after upgrading it doesn't work, please remove the"
229 elog "'~/.config/deluge' directory and try again, but make a backup"
230 elog "first!"
231 elog
232 elog "To start the daemon either run 'deluged' as user"
233 elog "or modify /etc/conf.d/deluged and run"
234 elog "/etc/init.d/deluged start as root"
235 elog "You can still use deluge the old way"
236 elog
237 elog "For more information look at http://dev.deluge-torrent.org/wiki/Faq"
238 elog
239 }