public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-p2p/bittorrent: ChangeLog bittorrent-5.2.2.ebuild
@ 2009-02-04 14:23 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-02-04 14:23 UTC (permalink / raw
  To: gentoo-commits

patrick     09/02/04 14:23:39

  Modified:             ChangeLog
  Added:                bittorrent-5.2.2.ebuild
  Log:
  Bump to 5.2.2. SRC_URI fix. Closes #257216
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.132                net-p2p/bittorrent/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?rev=1.132&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?rev=1.132&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/ChangeLog?r1=1.131&r2=1.132

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- ChangeLog	10 Jul 2008 14:09:55 -0000	1.131
+++ ChangeLog	4 Feb 2009 14:23:39 -0000	1.132
@@ -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.131 2008/07/10 14:09:55 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.132 2009/02/04 14:23:39 patrick Exp $
+
+*bittorrent-5.2.2 (04 Feb 2009)
+
+  04 Feb 2009; Patrick Lauer <patrick@gentoo.org> +bittorrent-5.2.2.ebuild:
+  Bump to 5.2.2. SRC_URI fix. Closes #257216
 
   10 Jul 2008; Raúl Porcel <armin76@gentoo.org> bittorrent-5.0.9-r1.ebuild,
   bittorrent-5.2.0.ebuild:



1.1                  net-p2p/bittorrent/bittorrent-5.2.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.2.ebuild?rev=1.1&content-type=text/plain

Index: bittorrent-5.2.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.2.ebuild,v 1.1 2009/02/04 14:23:39 patrick 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/archive/${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

	if ! built_with_use dev-lang/python threads; then
		die "${PN} needs dev-lang/python with USE=\"threads\""
	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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-04 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 14:23 [gentoo-commits] gentoo-x86 commit in net-p2p/bittorrent: ChangeLog bittorrent-5.2.2.ebuild Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox