Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/bittorrent: ChangeLog bittorrent-5.2.0.ebuild
Date: Sat, 01 Mar 2008 19:57:14
Message-Id: E1JVXpX-0004Os-Oa@stork.gentoo.org
1 armin76 08/03/01 19:57:11
2
3 Modified: ChangeLog
4 Added: bittorrent-5.2.0.ebuild
5 Log:
6 Version bump, bug #211863
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.130 net-p2p/bittorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?rev=1.130&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?rev=1.130&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?r1=1.129&r2=1.130
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v
19 retrieving revision 1.129
20 retrieving revision 1.130
21 diff -u -r1.129 -r1.130
22 --- ChangeLog 29 Feb 2008 20:28:34 -0000 1.129
23 +++ ChangeLog 1 Mar 2008 19:57:11 -0000 1.130
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-p2p/bittorrent
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.129 2008/02/29 20:28:34 carlo Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.130 2008/03/01 19:57:11 armin76 Exp $
29 +
30 +*bittorrent-5.2.0 (01 Mar 2008)
31 +
32 + 01 Mar 2008; Raúl Porcel <armin76@g.o> +bittorrent-5.2.0.ebuild:
33 + Version bump, bug #211863
34
35 29 Feb 2008; Carsten Lohrke <carlo@g.o> bittorrent-5.0.9-r1.ebuild:
36 Remove icon extension from desktop entry to match Icon Theme Specification.
37
38
39
40 1.1 net-p2p/bittorrent/bittorrent-5.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bittorrent-5.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.0.ebuild,v 1.1 2008/03/01 19:57:11 armin76 Exp $
50
51 WX_GTK_VER="2.6"
52 inherit distutils fdo-mime eutils wxwidgets
53
54 MY_P="${P/bittorrent/BitTorrent}"
55 #MY_P="${MY_P/}"
56 S=${WORKDIR}/${MY_P}
57
58 DESCRIPTION="tool for distributing files via a distributed network of nodes"
59 HOMEPAGE="http://www.bittorrent.com/"
60 SRC_URI="http://download.bittorrent.com/dl/${MY_P}.tar.gz"
61
62 LICENSE="BitTorrent"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
65 IUSE="gtk"
66
67 RDEPEND=">=dev-lang/python-2.3
68 gtk? ( =dev-python/wxpython-2.6* )
69 >=dev-python/pycrypto-2.0
70 >=dev-python/twisted-2
71 dev-python/twisted-web
72 net-zope/zopeinterface"
73 DEPEND="${RDEPEND}
74 app-arch/gzip
75 >=sys-apps/sed-4.0.5
76 dev-python/dnspython"
77
78 DOCS="README.txt TRACKERLESS.txt public.key"
79 PYTHON_MODNAME="BitTorrent"
80
81 pkg_setup() {
82 if use gtk ; then
83 need-wxwidgets unicode ||
84 die "You must build wxGTK and wxpython with unicode support"
85
86 if ! built_with_use =dev-python/wxpython-2.6* unicode ; then
87 die "You must build wxGTK and wxpython with unicode support"
88 fi
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94 cd "${S}"
95 # path for documentation is in lowercase #109743
96 sed -i -r "s:(dp.*appdir):\1.lower():" BitTorrent/platform.py
97 }
98
99 src_install() {
100 distutils_src_install
101 use gtk || rm -f "${D}"/usr/bin/bittorrent
102
103 if use gtk ; then
104 doicon images/logo/bittorrent.ico
105 newicon images/logo/bittorrent_icon_32.png bittorrent.png
106 make_desktop_entry "bittorrent" "BitTorrent" bittorrent "Network"
107 echo "MimeType=application/x-bittorrent" \
108 >> "${D}"/usr/share/applications/bittorrent-${PN}.desktop
109 fi
110
111 newinitd "${FILESDIR}"/bittorrent-tracker.initd bittorrent-tracker
112 newconfd "${FILESDIR}"/bittorrent-tracker.confd bittorrent-tracker
113 }
114
115 pkg_postinst() {
116 einfo "Remember that BitTorrent has changed file naming scheme"
117 einfo "To run BitTorrent just execute /usr/bin/bittorrent"
118 einfo "To run the init.d, please use /etc/init.d/bittorrent-tracker"
119 elog
120 elog "If you are upgrading from bittorrent-4.4.0 you must remove "
121 elog "the ~/.bittorrent dir to make this version work. Remember to "
122 elog "do a backup first!"
123 elog
124 distutils_pkg_postinst
125 fdo-mime_desktop_database_update
126 }
127
128
129
130 --
131 gentoo-commits@l.g.o mailing list