diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-02-14 20:40:40 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-02-14 20:40:40 +0000 |
commit | 9d7f09a17e3c26a1ceb0f29adff1faa2aa39b3ee (patch) | |
tree | 24f272e6dd7e178d1c0f08933e200aeed2299e94 /net-p2p | |
parent | Add use dep on sqlite for python, bug #403505 (diff) | |
download | historical-9d7f09a17e3c26a1ceb0f29adff1faa2aa39b3ee.tar.gz historical-9d7f09a17e3c26a1ceb0f29adff1faa2aa39b3ee.tar.bz2 historical-9d7f09a17e3c26a1ceb0f29adff1faa2aa39b3ee.zip |
Optimize .py's with python_mod_optimize, bug #179384
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/tribler/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/tribler/Manifest | 11 | ||||
-rw-r--r-- | net-p2p/tribler/metadata.xml | 3 | ||||
-rw-r--r-- | net-p2p/tribler/tribler-5.5.10-r1.ebuild | 71 |
4 files changed, 87 insertions, 6 deletions
diff --git a/net-p2p/tribler/ChangeLog b/net-p2p/tribler/ChangeLog index 018b44a7e9cc..c4898c9598de 100644 --- a/net-p2p/tribler/ChangeLog +++ b/net-p2p/tribler/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/tribler # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.2 2012/02/14 20:36:52 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.3 2012/02/14 20:40:40 blueness Exp $ + +*tribler-5.5.10-r1 (14 Feb 2012) + + 14 Feb 2012; Anthony G. Basile <blueness@gentoo.org> + +tribler-5.5.10-r1.ebuild: + Optimize .py's with python_mod_optimize, bug #179384 14 Feb 2012; Anthony G. Basile <blueness@gentoo.org> tribler-5.5.10.ebuild: Add use dep on sqlite for python, bug #403505 diff --git a/net-p2p/tribler/Manifest b/net-p2p/tribler/Manifest index 32f7ea4704ab..51ee556366c5 100644 --- a/net-p2p/tribler/Manifest +++ b/net-p2p/tribler/Manifest @@ -2,13 +2,14 @@ Hash: SHA256 DIST tribler_5.5.10-1ubuntu1_all.deb 2296972 RMD160 89a91ae15a23331366c226140c12a24e334786a0 SHA1 f47287cd70b95040653edbaccb8d7a56d59f34a9 SHA256 b4a3cc0a118f7498cb749116d8fd77f20b228c30e9e897e4b807796e782fbd62 +EBUILD tribler-5.5.10-r1.ebuild 1670 RMD160 db8097e9ec8d5e3852f501ebc131a55d101c466c SHA1 8fca5c9b345adb5fef571f54839efc75b789f163 SHA256 9cfb1a14c23a389745b2b95932eabc6b9f12948c09cd9488bdf8d703a4234f45 EBUILD tribler-5.5.10.ebuild 1364 RMD160 ace6df11a24f959e91fe97a792552771afd000fe SHA1 55104640ae4956908a14b82fc235eca3972d2bd9 SHA256 5b620450e317c7f2f5a397e760779603006afa5a2b8ffedce7dfba2defa0c661 -MISC ChangeLog 477 RMD160 5c794f9c7ccec7427667c75e76e333928f2ad2bf SHA1 9732d3b049beb9826d7cedadafd0540d1cf45814 SHA256 cd319077cf722be53fa5fd1a79335b4b9c4f9104e28145cb2eff967c532adc66 -MISC metadata.xml 395 RMD160 757767903e1e4612bb0ffa85da91f46c4422e306 SHA1 6f77c70f50308f58ff50e805785f077287127ed9 SHA256 5313375e0bac3e4f75d9e527a2103cbe779ea8832d5364db5e8ff59332af45f8 +MISC ChangeLog 651 RMD160 ad46602109461dda8ce24e2281b0dd21348f1d8e SHA1 c5efca36de48b0aca5787e57d0f4bd5bf368fa52 SHA256 d1a7eeb2962b574afdeaced461cd61fb19dab7e79f756fc140a90fb24aaece81 +MISC metadata.xml 456 RMD160 c23da6949f1a748719d924a5c998efbdee63847a SHA1 83c4d741970af014737f6bfcb2a6791867b56be5 SHA256 de4487feb43cb09d85bf841828694e1c01ea93c405421a45654cdb14569593b9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk86xe8ACgkQl5yvQNBFVTUSRACeOZwl0I2wVgsohHL6oR9A2bYI -P3wAnR3SWdSFiJSqC7p/eAs5gh1K22Ws -=r50N +iEYEAREIAAYFAk86xtIACgkQl5yvQNBFVTUSnwCfaTyhVwG4Qb7FxIyTmkw4IxnE +JRgAnj1CNq6iqlokjhAcTB6i9T11thtv +=RjJ/ -----END PGP SIGNATURE----- diff --git a/net-p2p/tribler/metadata.xml b/net-p2p/tribler/metadata.xml index 88825d734f74..71c730ea0cc2 100644 --- a/net-p2p/tribler/metadata.xml +++ b/net-p2p/tribler/metadata.xml @@ -9,4 +9,7 @@ Python based bittorrent client that does not require an external website or indexing service to discover content. </longdescription> + <use> + <flag name='vlc'>Enable vlc support.</flag> + </use> </pkgmetadata> diff --git a/net-p2p/tribler/tribler-5.5.10-r1.ebuild b/net-p2p/tribler/tribler-5.5.10-r1.ebuild new file mode 100644 index 000000000000..4f62983fab8d --- /dev/null +++ b/net-p2p/tribler/tribler-5.5.10-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/tribler-5.5.10-r1.ebuild,v 1.1 2012/02/14 20:40:40 blueness Exp $ + +EAPI="4" +PYTHON_DEPEND="2:2.5" + +inherit eutils python + +MY_PV="${PN}_${PV}-1ubuntu1_all" + +DESCRIPTION="Bittorrent client that does not require a website to discover content" +HOMEPAGE="http://www.tribler.org/" +SRC_URI="http://dl.tribler.org/${MY_PV}.deb" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vlc" + +RDEPEND=">=dev-lang/python-2.5[sqlite] + >=dev-python/m2crypto-0.16 + >=dev-python/wxpython-2.8 + >=dev-python/apsw-3.6 + >=dev-libs/openssl-0.9.8 + vlc? ( >=media-video/vlc-1.0.1 )" + +# Skipping for now: +# xulrunner-sdk >= 1.9.1.5 < 1.9.2 (optional, to run SwarmTransport) +# 7-Zip >= 4.6.5 (optional, to build SwarmTransport) + +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-fix-global-declarations.patch" + epatch "${FILESDIR}/${PN}-log2homedir.patch" +} + +src_compile() { :; } + +src_install() { + #Rename the doc dir properly + mv usr/share/doc/${PN} usr/share/doc/${P} + + #Move the readme to the doc dir + mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P} + + #Remove the licenses scattered throughout + rm usr/share/doc/${P}/copyright + rm usr/share/${PN}/Tribler/*.txt + rm usr/share/${PN}/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt} + + #Copy the rest over + cp -pPR usr/ "${ED}"/ +} + +pkg_postinst() { + python_mod_optimize "${ROOT}"usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup "${ROOT}"usr/share/${PN} +} |