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.29.ebuild
Date: Wed, 29 Aug 2012 23:10:01
Message-Id: 20120829230950.58E4620BBE@flycatcher.gentoo.org
1 blueness 12/08/29 23:09:50
2
3 Modified: ChangeLog
4 Added: tribler-5.9.29.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.11.9/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.33 net-p2p/tribler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 24 Aug 2012 14:22:33 -0000 1.32
24 +++ ChangeLog 29 Aug 2012 23:09:49 -0000 1.33
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.32 2012/08/24 14:22:33 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.33 2012/08/29 23:09:49 blueness Exp $
30 +
31 +*tribler-5.9.29 (29 Aug 2012)
32 +
33 + 29 Aug 2012; Anthony G. Basile <blueness@g.o> +tribler-5.9.29.ebuild:
34 + Version bump
35
36 24 Aug 2012; Agostino Sarubbo <ago@g.o> tribler-5.9.22.ebuild:
37 Stable for amd64, wrt bug #432432
38
39
40
41 1.1 net-p2p/tribler/tribler-5.9.29.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.29.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.9.29.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tribler-5.9.29.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.29.ebuild,v 1.1 2012/08/29 23:09:49 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="
63 http://dl.tribler.org/${MY_PV}.deb
64 x86? ( http://dl.tribler.org/tribler-swift_5.9.23-27674_i386.deb )
65 amd64? ( http://dl.tribler.org/tribler-swift_5.9.23-27674_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 }