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.12.ebuild ChangeLog
Date: Sat, 02 Jun 2012 15:46:52
Message-Id: 20120602154637.3747B2004B@flycatcher.gentoo.org
1 blueness 12/06/02 15:46:37
2
3 Modified: ChangeLog
4 Added: tribler-5.9.12.ebuild
5 Log:
6 Version bump, bug #419163
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 29 Mar 2012 13:26:28 -0000 1.12
24 +++ ChangeLog 2 Jun 2012 15:46:37 -0000 1.13
25 @@ -1,6 +1,13 @@
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.12 2012/03/29 13:26:28 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.13 2012/06/02 15:46:37 blueness Exp $
30 +
31 +*tribler-5.9.12 (02 Jun 2012)
32 +
33 + 02 Jun 2012; Anthony G. Basile <blueness@g.o> +tribler-5.9.12.ebuild,
34 + +files/tribler-5.9.12-fix-global-declarations.patch,
35 + +files/tribler-5.9.12-remove-garbage.patch:
36 + Version bump, bug #419163
37
38 *tribler-5.5.24 (29 Mar 2012)
39
40
41
42
43 1.1 net-p2p/tribler/tribler-5.9.12.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.12.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.12.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tribler-5.9.12.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.9.12.ebuild,v 1.1 2012/06/02 15:46:37 blueness Exp $
53
54 EAPI="4"
55 PYTHON_DEPEND="2:2.7"
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.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}/${P}-fix-global-declarations.patch"
98 epatch "${FILESDIR}/${P}-remove-garbage.patch"
99 epatch "${FILESDIR}/${PN}-log2homedir.patch"
100
101 python_convert_shebangs -r 2 .
102 }
103
104 src_compile() { :; }
105
106 src_install() {
107 #Rename the doc dir properly
108 mv usr/share/doc/${PN} usr/share/doc/${P}
109
110 #Move the readme to the doc dir
111 mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
112
113 #Remove the licenses scattered throughout
114 rm usr/share/doc/${P}/copyright
115 rm usr/share/${PN}/Tribler/*.txt
116 rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
117
118 #Copy the rest over
119 cp -pPR usr/ "${ED}"/
120 }
121
122 pkg_postinst() {
123 python_mod_optimize "${ROOT}"usr/share/${PN}
124 }
125
126 pkg_postrm() {
127 python_mod_cleanup "${ROOT}"usr/share/${PN}
128 }