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.9.18.ebuild
Date: Fri, 29 Jun 2012 18:48:57
Message-Id: 20120629184848.16E7D2004B@flycatcher.gentoo.org
1 blueness 12/06/29 18:48:48
2
3 Modified: ChangeLog
4 Added: tribler-5.9.18.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 28 Jun 2012 11:21:44 -0000 1.20
24 +++ ChangeLog 29 Jun 2012 18:48:48 -0000 1.21
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/tribler
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.20 2012/06/28 11:21:44 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.21 2012/06/29 18:48:48 blueness Exp $
30 +
31 +*tribler-5.9.18 (29 Jun 2012)
32 +
33 + 29 Jun 2012; Anthony G. Basile <blueness@g.o> +tribler-5.9.18.ebuild:
34 + Version bump
35
36 *tribler-5.9.17 (28 Jun 2012)
37
38
39
40
41 1.1 net-p2p/tribler/tribler-5.9.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tribler-5.9.18.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/tribler-5.9.18.ebuild,v 1.1 2012/06/29 18:48:48 blueness Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="2"
54 PYTHON_USE_WITH="sqlite"
55
56 inherit eutils python
57
58 MY_PV="${PN}_${PV}-1ubuntu1_all"
59
60 DESCRIPTION="Bittorrent client that does not require a website to discover content"
61 HOMEPAGE="http://www.tribler.org/"
62 SRC_URI="http://dl.tribler.org/${MY_PV}.deb"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="vlc"
68
69 RDEPEND="
70 >=dev-python/apsw-3.6
71 >=dev-python/m2crypto-0.16
72 dev-python/netifaces
73 >=dev-libs/openssl-0.9.8
74 >=dev-python/wxpython-2.8
75 vlc? ( >=media-video/vlc-1.1.0 )"
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}-5.9.12-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 }