From be186da42f012930c38f93cfd2ed1cae8a0ab79c Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Sat, 1 Mar 2008 19:57:11 +0000 Subject: Version bump, bug #211863 Package-Manager: portage-2.1.4.4 --- net-p2p/bittorrent/ChangeLog | 7 ++- net-p2p/bittorrent/Manifest | 4 +- net-p2p/bittorrent/bittorrent-5.2.0.ebuild | 80 ++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 net-p2p/bittorrent/bittorrent-5.2.0.ebuild (limited to 'net-p2p/bittorrent') diff --git a/net-p2p/bittorrent/ChangeLog b/net-p2p/bittorrent/ChangeLog index 9366e71cc672..1ca14597025f 100644 --- a/net-p2p/bittorrent/ChangeLog +++ b/net-p2p/bittorrent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/bittorrent # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.129 2008/02/29 20:28:34 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.130 2008/03/01 19:57:11 armin76 Exp $ + +*bittorrent-5.2.0 (01 Mar 2008) + + 01 Mar 2008; Raúl Porcel +bittorrent-5.2.0.ebuild: + Version bump, bug #211863 29 Feb 2008; Carsten Lohrke bittorrent-5.0.9-r1.ebuild: Remove icon extension from desktop entry to match Icon Theme Specification. diff --git a/net-p2p/bittorrent/Manifest b/net-p2p/bittorrent/Manifest index ada1ca4a65ed..ac017c72ed30 100644 --- a/net-p2p/bittorrent/Manifest +++ b/net-p2p/bittorrent/Manifest @@ -2,7 +2,9 @@ AUX bittorrent-tracker.confd 565 RMD160 9a21fec4c8b654ed71ac0a1425943622cd1b525f AUX bittorrent-tracker.initd 653 RMD160 4546d4d647969f91f623d98bc80ef53dc86a2117 SHA1 898ed64266ac07c53c8536223b1851a2fc5b671d SHA256 5f70c794dcc5d821df1224168ac449fd94983a7f9eeb3e498d31fc369b3b2ff3 DIST BitTorrent-4.4.0.tar.gz 1255281 RMD160 9e743b3178142855d289743d4430598353fb4d3f SHA1 8ca3e52c8049ff29a6785da410d6aa80c6726882 SHA256 1c9338ed384240258b5733a814670e2dee8ca2fb65babf3f0ca07978707301e0 DIST BitTorrent-5.0.9.tar.gz 2497550 RMD160 631d88c31ebd2f656477791db18e6a868349a2d5 SHA1 b610c811590aad6ec25fc7b30acb9e0264443121 SHA256 4459f694609328e55f829fe2e1143518e35f471aed7814da7689fee5d422f705 +DIST BitTorrent-5.2.0.tar.gz 2497866 RMD160 27b2280dda620214d166e9858dfce72d099027d0 SHA1 ff89b8e585b48dda4a87f5379636c0458a876277 SHA256 02f8d990255332af9d79006322f69842e1bf2db50a1e79f7592c4ce14b27e551 EBUILD bittorrent-4.4.0-r1.ebuild 1794 RMD160 a008195d8d01d73c775f218a6d4ed15cc421a488 SHA1 27888e2e414748ae4db2e3d417ac5dec10ee4552 SHA256 0b914405288e2b4815ac0ff68ccf5edd4fd96184a03d8e0bb870fadc23aa9d0d EBUILD bittorrent-5.0.9-r1.ebuild 2361 RMD160 97357eb640773c12842c7278d666d04937b39456 SHA1 193cab3b40cf3b3e447cc40c498edaf4333a996f SHA256 837ae200050a6786160b87fe68674a83ff5e8118bbc6140ac95eee5fed70db22 -MISC ChangeLog 18688 RMD160 edc335d8d6eb79a3372532c7173e29e51dd08ac8 SHA1 6304b18ae126a1a081439f301a84cf74596c1f46 SHA256 ab4688b7d6f47ba160bf0e0645bb79ff19e1140b0dccc2b24a24deceb72f84bd +EBUILD bittorrent-5.2.0.ebuild 2371 RMD160 5aa2b2be763aea65f41717c61c6a51da573326d9 SHA1 18dc015133f7b4d7ee0bae19cbb821684968f3f6 SHA256 31e2885e669e541eaaf464f6944fff5145819d3f663b109cc67326fbe508bdb1 +MISC ChangeLog 18827 RMD160 de3304c7ae5cc2ce33dda93af0c4d5ab35349a4f SHA1 a9db969de4f599f61ac706eda72668a92fdc47a3 SHA256 0835718aceec7210969d6dd1ac6ed9b1ce3b36d7b44e347b07f2367a1619c16f MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f diff --git a/net-p2p/bittorrent/bittorrent-5.2.0.ebuild b/net-p2p/bittorrent/bittorrent-5.2.0.ebuild new file mode 100644 index 000000000000..ad15104e0e4f --- /dev/null +++ b/net-p2p/bittorrent/bittorrent-5.2.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.0.ebuild,v 1.1 2008/03/01 19:57:11 armin76 Exp $ + +WX_GTK_VER="2.6" +inherit distutils fdo-mime eutils wxwidgets + +MY_P="${P/bittorrent/BitTorrent}" +#MY_P="${MY_P/}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="tool for distributing files via a distributed network of nodes" +HOMEPAGE="http://www.bittorrent.com/" +SRC_URI="http://download.bittorrent.com/dl/${MY_P}.tar.gz" + +LICENSE="BitTorrent" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="gtk" + +RDEPEND=">=dev-lang/python-2.3 + gtk? ( =dev-python/wxpython-2.6* ) + >=dev-python/pycrypto-2.0 + >=dev-python/twisted-2 + dev-python/twisted-web + net-zope/zopeinterface" +DEPEND="${RDEPEND} + app-arch/gzip + >=sys-apps/sed-4.0.5 + dev-python/dnspython" + +DOCS="README.txt TRACKERLESS.txt public.key" +PYTHON_MODNAME="BitTorrent" + +pkg_setup() { + if use gtk ; then + need-wxwidgets unicode || + die "You must build wxGTK and wxpython with unicode support" + + if ! built_with_use =dev-python/wxpython-2.6* unicode ; then + die "You must build wxGTK and wxpython with unicode support" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + # path for documentation is in lowercase #109743 + sed -i -r "s:(dp.*appdir):\1.lower():" BitTorrent/platform.py +} + +src_install() { + distutils_src_install + use gtk || rm -f "${D}"/usr/bin/bittorrent + + if use gtk ; then + doicon images/logo/bittorrent.ico + newicon images/logo/bittorrent_icon_32.png bittorrent.png + make_desktop_entry "bittorrent" "BitTorrent" bittorrent "Network" + echo "MimeType=application/x-bittorrent" \ + >> "${D}"/usr/share/applications/bittorrent-${PN}.desktop + fi + + newinitd "${FILESDIR}"/bittorrent-tracker.initd bittorrent-tracker + newconfd "${FILESDIR}"/bittorrent-tracker.confd bittorrent-tracker +} + +pkg_postinst() { + einfo "Remember that BitTorrent has changed file naming scheme" + einfo "To run BitTorrent just execute /usr/bin/bittorrent" + einfo "To run the init.d, please use /etc/init.d/bittorrent-tracker" + elog + elog "If you are upgrading from bittorrent-4.4.0 you must remove " + elog "the ~/.bittorrent dir to make this version work. Remember to " + elog "do a backup first!" + elog + distutils_pkg_postinst + fdo-mime_desktop_database_update +} -- cgit v1.2.3-65-gdbad