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.5.19.ebuild ChangeLog
Date: Thu, 01 Mar 2012 13:27:46
Message-Id: 20120301132734.2F4A52004B@flycatcher.gentoo.org
1 blueness 12/03/01 13:27:34
2
3 Modified: ChangeLog
4 Added: tribler-5.5.19.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 28 Feb 2012 16:46:59 -0000 1.7
24 +++ ChangeLog 1 Mar 2012 13:27:34 -0000 1.8
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.7 2012/02/28 16:46:59 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.8 2012/03/01 13:27:34 blueness Exp $
30 +
31 +*tribler-5.5.19 (01 Mar 2012)
32 +
33 + 01 Mar 2012; Anthony G. Basile <blueness@g.o> +tribler-5.5.19.ebuild:
34 + Version bump
35
36 28 Feb 2012; Anthony G. Basile <blueness@g.o> -tribler-5.5.10.ebuild:
37 Remove older ebuild
38
39
40
41 1.1 net-p2p/tribler/tribler-5.5.19.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tribler-5.5.19.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.5.19.ebuild,v 1.1 2012/03/01 13:27:34 blueness Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="2:2.5"
54
55 inherit eutils python
56
57 MY_PV="${PN}_${PV}-1ubuntu1_all"
58
59 DESCRIPTION="Bittorrent client that does not require a website to discover content"
60 HOMEPAGE="http://www.tribler.org/"
61 SRC_URI="http://dl.tribler.org/${MY_PV}.deb"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="vlc"
67
68 RDEPEND=">=dev-lang/python-2.5[sqlite]
69 >=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.0.1 )"
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}-fix-global-declarations.patch"
96 epatch "${FILESDIR}/${PN}-log2homedir.patch"
97
98 python_convert_shebangs -r 2 .
99 }
100
101 src_compile() { :; }
102
103 src_install() {
104 #Rename the doc dir properly
105 mv usr/share/doc/${PN} usr/share/doc/${P}
106
107 #Move the readme to the doc dir
108 mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
109
110 #Remove the licenses scattered throughout
111 rm usr/share/doc/${P}/copyright
112 rm usr/share/${PN}/Tribler/*.txt
113 rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
114
115 #Copy the rest over
116 cp -pPR usr/ "${ED}"/
117 }
118
119 pkg_postinst() {
120 python_mod_optimize "${ROOT}"usr/share/${PN}
121 }
122
123 pkg_postrm() {
124 python_mod_cleanup "${ROOT}"usr/share/${PN}
125 }