From 4763e183bbe99f31e8d12d268ba2aa14c4aea2d6 Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Mon, 22 Aug 2011 20:46:33 +0000 Subject: - update to 1.3.3 - Assign maintainer to submitter - install license with license framework, not manually - eliminate explicit setuptools dependency because build/run dependency on it already implied when USE_DISTUTILS=easy_install is set - remove boost-python-libs dependency - it is needed only for bundled libtorrent-rasterbar-python, while we install libtorrent-rasterbar-python from ports tree - depend on simplejson only if python < 2.6 (it is included into >=2.6) - use PYTHON_VER instead of homebrew PYDOTVER (yeah, i know they are not the same, but PYTHON_VER is sufficient in this case) - www/py-twistedWeb dependency is needed only at runtime, so use USE_TWISTED_RUN instead - unset WITH_PSYCO if python version > 2.6 (psyco doesn't works with 2.6+) - fix some whitespace PR: ports/159175 Submitted by: Ruslan Mahmatkhanov Approved by: jsa@ (old maintainer) --- net-p2p/deluge/files/patch-setup.py | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'net-p2p/deluge/files/patch-setup.py') diff --git a/net-p2p/deluge/files/patch-setup.py b/net-p2p/deluge/files/patch-setup.py index 59518c0744ab..82b61c48b379 100644 --- a/net-p2p/deluge/files/patch-setup.py +++ b/net-p2p/deluge/files/patch-setup.py @@ -1,14 +1,15 @@ ---- ./setup.py.orig 2011-07-08 18:15:27.000000000 -0400 -+++ ./setup.py 2011-07-08 18:16:21.000000000 -0400 -@@ -213,6 +213,7 @@ - build_libtorrent = True +--- setup.py.orig 2011-07-22 22:12:47.000000000 +0400 ++++ setup.py 2011-07-24 23:08:20.000000000 +0400 +@@ -210,7 +210,7 @@ + try: + from deluge._libtorrent import lt + except ImportError: +- build_libtorrent = True ++ build_libtorrent = False else: build_libtorrent = False -+build_libtorrent = False - if build_libtorrent: - got_libtorrent = False -@@ -401,27 +402,6 @@ +@@ -474,31 +474,8 @@ # Data files to be installed to the system _data_files = [ @@ -25,7 +26,6 @@ - ('share/icons/hicolor/64x64/apps', ['deluge/data/icons/hicolor/64x64/apps/deluge.png']), - ('share/icons/hicolor/72x72/apps', ['deluge/data/icons/hicolor/72x72/apps/deluge.png']), - ('share/icons/hicolor/96x96/apps', ['deluge/data/icons/hicolor/96x96/apps/deluge.png']), -- ('share/applications', ['deluge/data/share/applications/deluge.desktop']), - ('share/pixmaps', ['deluge/data/pixmaps/deluge.png', 'deluge/data/pixmaps/deluge.xpm']), - ('share/man/man1', [ - 'docs/man/deluge.1', @@ -35,4 +35,9 @@ - 'docs/man/deluge-console.1']) ] +-if not windows_check(): +- _data_files.append(('share/applications', ['deluge/data/share/applications/deluge.desktop'])) +- entry_points = { + "console_scripts": [ + "deluge-console = deluge.ui.console:start", -- cgit v1.2.3