1 |
blueness 12/02/28 16:14:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tribler-5.5.18.ebuild |
5 |
Log: |
6 |
Version bump with python2 only code, bug #406077 |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 net-p2p/tribler/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 28 Feb 2012 16:01:17 -0000 1.5 |
24 |
+++ ChangeLog 28 Feb 2012 16:14:57 -0000 1.6 |
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.5 2012/02/28 16:01:17 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.6 2012/02/28 16:14:57 blueness Exp $ |
30 |
+ |
31 |
+*tribler-5.5.18 (28 Feb 2012) |
32 |
+ |
33 |
+ 28 Feb 2012; Anthony G. Basile <blueness@g.o> +tribler-5.5.18.ebuild: |
34 |
+ Version bump with python2 only code, bug #406077 |
35 |
|
36 |
28 Feb 2012; Anthony G. Basile <blueness@g.o> |
37 |
files/tribler-log2homedir.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-p2p/tribler/tribler-5.5.18.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.18.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/tribler/tribler-5.5.18.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: tribler-5.5.18.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.18.ebuild,v 1.1 2012/02/28 16:14:57 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 |
} |