Index: head/net-p2p/deluge/Makefile =================================================================== --- head/net-p2p/deluge/Makefile (revision 397529) +++ head/net-p2p/deluge/Makefile (revision 397530) @@ -1,85 +1,84 @@ # $FreeBSD$ PORTNAME= deluge -PORTVERSION= 1.3.11 -PORTREVISION= 2 +PORTVERSION= 1.3.12 PORTEPOCH= 1 CATEGORIES= net-p2p python MASTER_SITES= http://download.deluge-torrent.org/source/ MAINTAINER= rm@FreeBSD.org COMMENT= Bittorrent client using Python, GTK2, and libtorrent-rasterbar LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0.18:${PORTSDIR}/devel/py-xdg \ ${PYTHON_PKGNAMEPREFIX}libtorrent-rasterbar>=0:${PORTSDIR}/net-p2p/libtorrent-rasterbar-python \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.8:${PORTSDIR}/security/py-openssl \ ${PYTHON_PKGNAMEPREFIX}chardet>=1.0.1:${PORTSDIR}/textproc/py-chardet \ ${PYTHON_PKGNAMEPREFIX}mako>=0.2.5:${PORTSDIR}/textproc/py-mako USE_RC_SUBR= deluged deluge_web SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} -USES= gettext tar:lzma python:2 twisted:run,web +NO_ARCH= yes +USES= gettext python:2 tar:lzma twisted:run,web USE_PYTHON= autoplist distutils USE_OPENSSL= yes -WANT_GNOME= yes OPTIONS_DEFINE= GTK2 OPTIONS_DEFAULT=GTK2 OPTIONS_SUB= yes PORTDOCS= ChangeLog README .include .if ${PORT_OPTIONS:MGTK2} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83:${PORTSDIR}/devel/py-dbus \ ${PYTHON_PKGNAMEPREFIX}game>=1.8.1:${PORTSDIR}/devel/py-game \ ${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:${PORTSDIR}/devel/py-notify \ xdg-utils>=1.0.2:${PORTSDIR}/devel/xdg-utils USE_GNOME+= intltool librsvg2 pygnome2 pygtk2 USES+= desktop-file-utils INSTALLS_ICONS= yes .endif post-patch: @${REINPLACE_CMD} -e '/"new_release_check":/s|True,|False,|g ; \ /"geoip_db_location":/s|/usr/share/GeoIP/GeoIP.dat|${LOCALBASE}/share/GeoIP/GeoIP.dat|g' \ ${WRKSRC}/deluge/core/preferencesmanager.py @${REINPLACE_CMD} -e '/"check_new_releases":/s|True,|False,|g ; \ /"show_new_releases":/s|True,|False,|g' \ ${WRKSRC}/deluge/ui/gtkui/gtkui.py @${REINPLACE_CMD} -e 's|GTK|GTK;|' \ ${WRKSRC}/deluge/data/share/applications/deluge.desktop.in post-install: # do these by hand, else they wind up in the wrong place @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ; \ ${INSTALL_DATA} ${WRKSRC}/deluge/data/icons/scalable/apps/deluge.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps .for size in 16 22 24 32 36 48 64 72 96 128 192 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps ; \ ${INSTALL_DATA} ${WRKSRC}/deluge/data/icons/hicolor/${size}x${size}/apps/deluge.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps .endfor .for pic in png xpm ${INSTALL_DATA} ${WRKSRC}/deluge/data/pixmaps/deluge.${pic} \ ${STAGEDIR}${PREFIX}/share/pixmaps .endfor .if ${PORT_OPTIONS:MGTK2} ${INSTALL_DATA} ${WRKSRC}/deluge/data/share/applications/deluge.desktop \ ${STAGEDIR}${PREFIX}/share/applications .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} # install man pages .for man in deluge.1 deluge-console.1 deluge-gtk.1 deluge-web.1 deluged.1 ${INSTALL_MAN} ${WRKSRC}/docs/man/${man} ${STAGEDIR}${MANPREFIX}/man/man1/ .endfor .include Index: head/net-p2p/deluge/distinfo =================================================================== --- head/net-p2p/deluge/distinfo (revision 397529) +++ head/net-p2p/deluge/distinfo (revision 397530) @@ -1,2 +1,2 @@ -SHA256 (deluge-1.3.11.tar.lzma) = 1079e07e33b836bec5e93823a0c08b90ad75e640a4414b097091e9580742d7cb -SIZE (deluge-1.3.11.tar.lzma) = 1441344 +SHA256 (deluge-1.3.12.tar.lzma) = eb875724a8f52ac36c3890bdcee9f77c648ef03b6375387af5c26d5229fdc65e +SIZE (deluge-1.3.12.tar.lzma) = 1449148 Index: head/net-p2p/deluge/files/patch-deluge_httpdownloader.py =================================================================== --- head/net-p2p/deluge/files/patch-deluge_httpdownloader.py (revision 397529) +++ head/net-p2p/deluge/files/patch-deluge_httpdownloader.py (nonexistent) @@ -1,44 +0,0 @@ -This patch is fixing new blocklist plugin incompatibility with newer -versions of Twisted. The fix will be included in deluge 1.3.12. - -References: - * bug-report: http://dev.deluge-torrent.org/ticket/2737 - * commit: http://dev.deluge-torrent.org/changeset/d40dfcd53c243 - -Index: deluge/httpdownloader.py -=================================================================== ---- deluge/httpdownloader.py (revision 8bf18d6694db24e04cb65f20f2e219ec14043f8e) -+++ deluge/httpdownloader.py (revision d40dfcd53c2439de121ddaff476e66194dc2c738) -@@ -147,5 +147,5 @@ - # Only use the basename - filename = os.path.basename(filename) -- -+ - filename = filename.strip() - if filename.startswith(".") or ";" in filename or "|" in filename: -@@ -193,15 +193,20 @@ - headers["accept-encoding"] = "deflate, gzip, x-gzip" - -- # In twisted 13.1.0 the _parse() function was replaced by the _URI class -- if hasattr(client, '_parse'): -+ # In Twisted 13.1.0 _parse() function replaced by _URI class. -+ # In Twisted 15.0.0 _URI class renamed to URI. -+ if hasattr(client, "_parse"): - scheme, host, port, path = client._parse(url) - else: -- from twisted.web.client import _URI -- uri = _URI.fromBytes(url) -+ try: -+ from twisted.web.client import _URI as URI -+ except ImportError: -+ from twisted.web.client import URI -+ -+ uri = URI.fromBytes(url) - scheme = uri.scheme - host = uri.host - port = uri.port - path = uri.path -- -+ - factory = HTTPDownloader(url, filename, callback, headers, force_filename, allow_compression) - if scheme == "https": Property changes on: head/net-p2p/deluge/files/patch-deluge_httpdownloader.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net-p2p/deluge/files/patch-setup.py =================================================================== --- head/net-p2p/deluge/files/patch-setup.py (revision 397529) +++ head/net-p2p/deluge/files/patch-setup.py (revision 397530) @@ -1,52 +1,44 @@ ---- setup.py.orig 2014-07-09 19:08:22 UTC +--- setup.py.orig 2015-09-13 20:32:11 UTC +++ setup.py -@@ -208,7 +208,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: -@@ -216,6 +215,8 @@ +@@ -216,6 +216,8 @@ except ImportError: else: build_libtorrent = False +build_libtorrent = False + if build_libtorrent: got_libtorrent = False if not os.path.exists("libtorrent"): -@@ -488,31 +489,7 @@ - } - - # Data files to be installed to the system --_data_files = [ -- ('share/icons/hicolor/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']) --] +@@ -490,31 +492,7 @@ cmdclass = { + # Data files to be installed to the system. + _data_files = [] + if not windows_check(): +- _data_files = [ +- ('share/icons/hicolor/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() and os.path.exists(desktop_data): -- _data_files.append(('share/applications', [desktop_data])) -+_data_files = [] +- if os.path.exists(desktop_data): +- _data_files.append(('share/applications', [desktop_data])) ++ _data_files = [] entry_points = { "console_scripts": [