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-6.0.2.ebuild ChangeLog
Date: Tue, 30 Oct 2012 23:49:16
Message-Id: 20121030234855.CB5E621600@flycatcher.gentoo.org
1 blueness 12/10/30 23:48:55
2
3 Modified: ChangeLog
4 Added: tribler-6.0.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xD0455535)
9
10 Revision Changes Path
11 1.38 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 18 Oct 2012 23:24:20 -0000 1.37
24 +++ ChangeLog 30 Oct 2012 23:48:55 -0000 1.38
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.37 2012/10/18 23:24:20 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.38 2012/10/30 23:48:55 blueness Exp $
30 +
31 +*tribler-6.0.2 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Anthony G. Basile <blueness@g.o> +tribler-6.0.2.ebuild:
34 + Version bump
35
36 *tribler-6.0.1 (18 Oct 2012)
37
38
39
40
41 1.1 net-p2p/tribler/tribler-6.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-6.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-6.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tribler-6.0.2.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-6.0.2.ebuild,v 1.1 2012/10/30 23:48:55 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}_all"
59
60 DESCRIPTION="Bittorrent client that does not require a website to discover content"
61 HOMEPAGE="http://www.tribler.org/"
62 SRC_URI="
63 http://dl.tribler.org/${MY_PV}.deb
64 x86? ( http://dl.tribler.org/tribler-swift_6.0.0-28795_i386.deb )
65 amd64? ( http://dl.tribler.org/tribler-swift_6.0.0-28795_amd64.deb )"
66
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="vlc"
71
72 RDEPEND="
73 dev-python/apsw
74 dev-python/m2crypto
75 dev-python/netifaces
76 dev-libs/openssl
77 dev-python/wxpython
78 vlc? (
79 media-video/vlc
80 media-video/ffmpeg
81 )"
82
83 DEPEND="${RDEPEND}
84 app-arch/unzip"
85
86 S="${WORKDIR}"
87
88 QA_PREBUILT="/usr/share/tribler/swift"
89
90 pkg_setup() {
91 python_set_active_version 2
92 python_pkg_setup
93 }
94
95 src_unpack() {
96 for i in ${A}; do
97 unpack ${i}
98 unpack ./data.tar.gz
99 done
100 }
101
102 src_prepare() {
103 epatch "${FILESDIR}/${PN}-5.9.12-fix-global-declarations.patch"
104 epatch "${FILESDIR}/${PN}-log2homedir.patch"
105
106 python_convert_shebangs -r 2 .
107 }
108
109 src_compile() { :; }
110
111 src_install() {
112 #Rename the doc dir properly
113 mv usr/share/doc/${PN} usr/share/doc/${P}
114
115 #Move the readme to the doc dir
116 mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
117
118 #Remove the licenses scattered throughout
119 rm usr/share/doc/${P}/copyright
120 rm usr/share/${PN}/Tribler/*.txt
121 rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
122
123 #Copy the rest over
124 cp -pPR usr/ "${ED}"/
125 }
126
127 pkg_postinst() {
128 python_mod_optimize "${ROOT}"usr/share/${PN}
129 }
130
131 pkg_postrm() {
132 python_mod_cleanup "${ROOT}"usr/share/${PN}
133 }