Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/tribler: ChangeLog tribler-5.5.20.ebuild tribler-5.5.18.ebuild tribler-5.5.10-r1.ebuild
Date: Sat, 03 Mar 2012 22:05:19
Message-Id: 20120303220455.810DD2004B@flycatcher.gentoo.org
1 blueness 12/03/03 22:04:55
2
3 Modified: ChangeLog
4 Added: tribler-5.5.20.ebuild
5 Removed: tribler-5.5.18.ebuild tribler-5.5.10-r1.ebuild
6 Log:
7 Version bump and remove older unstable
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.9 net-p2p/tribler/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.9&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.9&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.8&r2=1.9
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
21 retrieving revision 1.8
22 retrieving revision 1.9
23 diff -u -r1.8 -r1.9
24 --- ChangeLog 1 Mar 2012 13:27:34 -0000 1.8
25 +++ ChangeLog 3 Mar 2012 22:04:55 -0000 1.9
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/tribler
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.8 2012/03/01 13:27:34 blueness Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.9 2012/03/03 22:04:55 blueness Exp $
31 +
32 +*tribler-5.5.20 (03 Mar 2012)
33 +
34 + 03 Mar 2012; Anthony G. Basile <blueness@g.o>
35 + -tribler-5.5.10-r1.ebuild, -tribler-5.5.18.ebuild, +tribler-5.5.20.ebuild:
36 + Version bump and remove older unstable
37
38 *tribler-5.5.19 (01 Mar 2012)
39
40
41
42
43 1.1 net-p2p/tribler/tribler-5.5.20.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.20.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.20.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tribler-5.5.20.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/tribler-5.5.20.ebuild,v 1.1 2012/03/03 22:04:55 blueness Exp $
53
54 EAPI="4"
55 PYTHON_DEPEND="2:2.5"
56
57 inherit eutils python
58
59 MY_PV="${PN}_${PV}-1ubuntu1_all"
60
61 DESCRIPTION="Bittorrent client that does not require a website to discover content"
62 HOMEPAGE="http://www.tribler.org/"
63 SRC_URI="http://dl.tribler.org/${MY_PV}.deb"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="vlc"
69
70 RDEPEND=">=dev-lang/python-2.5[sqlite]
71 >=dev-python/m2crypto-0.16
72 >=dev-python/wxpython-2.8
73 >=dev-python/apsw-3.6
74 >=dev-libs/openssl-0.9.8
75 vlc? ( >=media-video/vlc-1.0.1 )"
76
77 # Skipping for now:
78 # xulrunner-sdk >= 1.9.1.5 < 1.9.2 (optional, to run SwarmTransport)
79 # 7-Zip >= 4.6.5 (optional, to build SwarmTransport)
80
81 DEPEND="${RDEPEND}
82 app-arch/unzip"
83
84 S=${WORKDIR}
85
86 pkg_setup() {
87 python_set_active_version 2
88 python_pkg_setup
89 }
90
91 src_unpack() {
92 unpack ${A}
93 unpack ./data.tar.gz
94 }
95
96 src_prepare() {
97 epatch "${FILESDIR}/${PN}-fix-global-declarations.patch"
98 epatch "${FILESDIR}/${PN}-log2homedir.patch"
99
100 python_convert_shebangs -r 2 .
101 }
102
103 src_compile() { :; }
104
105 src_install() {
106 #Rename the doc dir properly
107 mv usr/share/doc/${PN} usr/share/doc/${P}
108
109 #Move the readme to the doc dir
110 mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
111
112 #Remove the licenses scattered throughout
113 rm usr/share/doc/${P}/copyright
114 rm usr/share/${PN}/Tribler/*.txt
115 rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
116
117 #Copy the rest over
118 cp -pPR usr/ "${ED}"/
119 }
120
121 pkg_postinst() {
122 python_mod_optimize "${ROOT}"usr/share/${PN}
123 }
124
125 pkg_postrm() {
126 python_mod_cleanup "${ROOT}"usr/share/${PN}
127 }