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: tribler-5.9.15.ebuild ChangeLog
Date: Sat, 09 Jun 2012 17:49:12
Message-Id: 20120609174900.BE1662004B@flycatcher.gentoo.org
1 blueness 12/06/09 17:49:00
2
3 Modified: ChangeLog
4 Added: tribler-5.9.15.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.19 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 7 Jun 2012 10:19:12 -0000 1.18
24 +++ ChangeLog 9 Jun 2012 17:49:00 -0000 1.19
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.18 2012/06/07 10:19:12 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.19 2012/06/09 17:49:00 blueness Exp $
30 +
31 +*tribler-5.9.15 (09 Jun 2012)
32 +
33 + 09 Jun 2012; Anthony G. Basile <blueness@g.o> +tribler-5.9.15.ebuild:
34 + Version bump
35
36 07 Jun 2012; Anthony G. Basile <blueness@g.o> -tribler-5.5.19.ebuild,
37 -tribler-5.5.20.ebuild, -tribler-5.5.21.ebuild, -tribler-5.5.23.ebuild,
38
39
40
41 1.1 net-p2p/tribler/tribler-5.9.15.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.15.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.15.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tribler-5.9.15.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.15.ebuild,v 1.1 2012/06/09 17:49:00 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=">=dev-python/m2crypto-0.16
70 >=dev-python/wxpython-2.8
71 >=dev-python/apsw-3.6
72 >=dev-libs/openssl-0.9.8
73 vlc? ( >=media-video/vlc-1.1.0 )"
74
75 # Skipping for now:
76 # xulrunner-sdk >= 1.9.1.5 < 1.9.2 (optional, to run SwarmTransport)
77 # 7-Zip >= 4.6.5 (optional, to build SwarmTransport)
78
79 DEPEND="${RDEPEND}
80 app-arch/unzip"
81
82 S=${WORKDIR}
83
84 pkg_setup() {
85 python_set_active_version 2
86 python_pkg_setup
87 }
88
89 src_unpack() {
90 unpack ${A}
91 unpack ./data.tar.gz
92 }
93
94 src_prepare() {
95 epatch "${FILESDIR}/${PN}-5.9.12-fix-global-declarations.patch"
96 epatch "${FILESDIR}/${PN}-5.9.12-remove-garbage.patch"
97 epatch "${FILESDIR}/${PN}-log2homedir.patch"
98
99 python_convert_shebangs -r 2 .
100 }
101
102 src_compile() { :; }
103
104 src_install() {
105 #Rename the doc dir properly
106 mv usr/share/doc/${PN} usr/share/doc/${P}
107
108 #Move the readme to the doc dir
109 mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
110
111 #Remove the licenses scattered throughout
112 rm usr/share/doc/${P}/copyright
113 rm usr/share/${PN}/Tribler/*.txt
114 rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
115
116 #Copy the rest over
117 cp -pPR usr/ "${ED}"/
118 }
119
120 pkg_postinst() {
121 python_mod_optimize "${ROOT}"usr/share/${PN}
122 }
123
124 pkg_postrm() {
125 python_mod_cleanup "${ROOT}"usr/share/${PN}
126 }