summaryrefslogtreecommitdiff
path: root/net-p2p/deluge/files/patch-setup.py
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-03-10 20:05:38 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-03-10 20:05:38 +0000
commit5f49dd918d9d502934863b779f54fc31233f2103 (patch)
treee29a4546f97250d6726f2b611d59ce642ceb8c79 /net-p2p/deluge/files/patch-setup.py
parent- update to 2.20.1 (diff)
- update to 1.3.4
- strict python versions - drop WITH_PSYCO option (python < 2.6 is EOL) - drop optional simplejson dependency (for python < 2.6) - silence REINPLACE_CMD calls changes: http://dev.deluge-torrent.org/wiki/ChangeLog Feature safe: yes
Notes
Notes: svn path=/head/; revision=293060
Diffstat (limited to '')
-rw-r--r--net-p2p/deluge/files/patch-setup.py26
1 files changed, 17 insertions, 9 deletions
diff --git a/net-p2p/deluge/files/patch-setup.py b/net-p2p/deluge/files/patch-setup.py
index 82b61c48b379..36369b0b6f20 100644
--- a/net-p2p/deluge/files/patch-setup.py
+++ b/net-p2p/deluge/files/patch-setup.py
@@ -1,15 +1,23 @@
---- 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 @@
+--- setup.py.orig 2012-03-05 04:41:43.000000000 +0400
++++ setup.py 2012-03-10 14:17:07.000000000 +0400
+@@ -206,7 +206,6 @@
+ _ext_modules = []
+
+ # Check for a system libtorrent and if found, then do not build the libtorrent extension
+-build_libtorrent = True
try:
from deluge._libtorrent import lt
except ImportError:
-- build_libtorrent = True
-+ build_libtorrent = False
+@@ -214,6 +213,8 @@
else:
build_libtorrent = False
-@@ -474,31 +474,8 @@
++build_libtorrent = False
++
+ if build_libtorrent:
+ got_libtorrent = False
+ if not os.path.exists("libtorrent"):
+@@ -487,31 +488,8 @@
# Data files to be installed to the system
_data_files = [
@@ -35,9 +43,9 @@
- 'docs/man/deluge-console.1'])
]
--if not windows_check():
-- _data_files.append(('share/applications', ['deluge/data/share/applications/deluge.desktop']))
--
+-if not windows_check() and os.path.exists(desktop_data):
+- _data_files.append(('share/applications', [desktop_data]))
+-
entry_points = {
"console_scripts": [
"deluge-console = deluge.ui.console:start",