annotate net-p2p/deluge/deluge-1.3.5.ebuild @ 366:477c452d717b

update the SVN-Notify ebuild to use EAPI=5
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 11 Nov 2014 09:54:30 +0100
parents 61acd9607e0b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
290
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
1 # Copyright 1999-2011 Gentoo Foundation
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
292
a6bb3a2f981a sync with portage
holger
parents: 290
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.3.3.ebuild,v 1.2 2011/08/17 13:52:12 armin76 Exp $
290
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
4
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
5 EAPI="3"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
6 PYTHON_DEPEND="2:2.5"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
7
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
8 inherit distutils flag-o-matic
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
9
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
10 DESCRIPTION="BitTorrent client with a client/server model."
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
11 HOMEPAGE="http://deluge-torrent.org/"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
12 SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.lzma"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
13
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
14 LICENSE="GPL-2"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
15 SLOT="0"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
16 KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
17 IUSE="gtk libnotify webinterface"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
18
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
19 DEPEND=">=net-libs/rb_libtorrent-0.14.9[python]
292
a6bb3a2f981a sync with portage
holger
parents: 290
diff changeset
20 dev-python/setuptools
a6bb3a2f981a sync with portage
holger
parents: 290
diff changeset
21 dev-util/intltool"
290
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
22 RDEPEND="${DEPEND}
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
23 dev-python/chardet
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
24 dev-python/pyopenssl
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
25 dev-python/pyxdg
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
26 || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
27 >=dev-python/twisted-8.1
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
28 >=dev-python/twisted-web-8.1
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
29 gtk? (
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
30 dev-python/pygame
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
31 dev-python/pygobject
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
32 >=dev-python/pygtk-2.12
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
33 gnome-base/librsvg
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
34 libnotify? ( dev-python/notify-python )
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
35 )
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
36 webinterface? ( dev-python/mako )"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
37
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
38 pkg_setup() {
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
39 append-ldflags $(no-as-needed)
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
40 python_set_active_version 2
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
41 python_pkg_setup
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
42 }
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
43
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
44 src_prepare() {
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
45 distutils_src_prepare
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
46 python_convert_shebangs -r 2 .
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
47 }
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
48
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
49 src_install() {
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
50 distutils_src_install
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
51 newinitd "${FILESDIR}"/deluged.init deluged
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
52 newconfd "${FILESDIR}"/deluged.conf deluged
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
53 }
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
54
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
55 pkg_postinst() {
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
56 distutils_pkg_postinst
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
57 elog
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
58 elog "If after upgrading it doesn't work, please remove the"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
59 elog "'~/.config/deluge' directory and try again, but make a backup"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
60 elog "first!"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
61 elog
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
62 elog "To start the daemon either run 'deluged' as user"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
63 elog "or modify /etc/conf.d/deluged and run"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
64 elog "/etc/init.d/deluged start as root"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
65 elog "You can still use deluge the old way"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
66 elog
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
67 elog "For more information look at http://dev.deluge-torrent.org/wiki/Faq"
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
68 elog
eb98558e684c bump deluge to 1.3.3
holger
parents:
diff changeset
69 }