On Sat, Apr 25, 2020 at 03:28:53AM +0200, Klemens Nanni wrote:
> 
> rsadowski's last update of deluge moved it to Python 3.  GTK+2 is no
> longer in use, deluge-gtk uses GTK+3.
> 
> Builds and runs fine without x11/py-gtk2 installed, which is Python 2
> only and therefore kept pulling it in.
> 
> OK?

2 things
- isn't it missing a RUN_DEPENDS on x11/gtk+3 then?
- please fix hardcoding the python3 FLAVOR, use ${MODPY_VERSION}



> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/deluge/Makefile,v
> retrieving revision 1.8
> diff -u -p -r1.8 Makefile
> --- Makefile  6 Feb 2020 20:00:22 -0000       1.8
> +++ Makefile  25 Apr 2020 01:13:30 -0000
> @@ -4,6 +4,7 @@ COMMENT =     bittorrent client
>  
>  DISTNAME =           deluge-${MODPY_EGG_VERSION}
>  MODPY_EGG_VERSION =  2.0.3
> +REVISION =           0
>  
>  CATEGORIES = net
>  
> @@ -34,7 +35,6 @@ RUN_DEPENDS =               devel/desktop-file-utils 
>                       net/libtorrent-rasterbar \
>                       textproc/py-chardet,python3 \
>                       www/py-mako,python3 \
> -                     x11/gtk+3,-guic \
> -                     x11/py-gtk2
> +                     x11/gtk+3,-guic
>  
>  .include <bsd.port.mk>
> 

-- 
Antoine

Reply via email to