1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net-p2p/deluge/files/patch-setup.py
Koop Mast 4763e183bb - 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 <cvs-src@yandex.ru>
Approved by:	jsa@ (old maintainer)
2011-08-22 20:46:33 +00:00

44 lines
2.1 KiB
Python

--- 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
@@ -474,31 +474,8 @@
# Data files to be installed to the system
_data_files = [
- ('share/icons/scalable/apps', ['deluge/data/icons/scalable/apps/deluge.svg']),
- ('share/icons/hicolor/128x128/apps', ['deluge/data/icons/hicolor/128x128/apps/deluge.png']),
- ('share/icons/hicolor/16x16/apps', ['deluge/data/icons/hicolor/16x16/apps/deluge.png']),
- ('share/icons/hicolor/192x192/apps', ['deluge/data/icons/hicolor/192x192/apps/deluge.png']),
- ('share/icons/hicolor/22x22/apps', ['deluge/data/icons/hicolor/22x22/apps/deluge.png']),
- ('share/icons/hicolor/24x24/apps', ['deluge/data/icons/hicolor/24x24/apps/deluge.png']),
- ('share/icons/hicolor/256x256/apps', ['deluge/data/icons/hicolor/256x256/apps/deluge.png']),
- ('share/icons/hicolor/32x32/apps', ['deluge/data/icons/hicolor/32x32/apps/deluge.png']),
- ('share/icons/hicolor/36x36/apps', ['deluge/data/icons/hicolor/36x36/apps/deluge.png']),
- ('share/icons/hicolor/48x48/apps', ['deluge/data/icons/hicolor/48x48/apps/deluge.png']),
- ('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/pixmaps', ['deluge/data/pixmaps/deluge.png', 'deluge/data/pixmaps/deluge.xpm']),
- ('share/man/man1', [
- 'docs/man/deluge.1',
- 'docs/man/deluged.1',
- 'docs/man/deluge-gtk.1',
- 'docs/man/deluge-web.1',
- '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",