On 2021/09/06 11:18, Landry Breuil wrote:
> Le Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith a écrit :
> > Attached is a port of libgnt.
> >
> > Comment:
> > ncurses toolkit for text-mode graphical user interfaces
> >
> > Description:
> > GNT is an ncurses toolkit for creating text-mode graphical user interfaces
> > in a
> > fast and easy way. It is based on GLib and ncurses.
> >
> > It was born out of the console-based UI, Finch, for the libpurple project,
> > but
> > has now been split into its own independent repository.
>
> and it is a requirement to update pidgin so it's a welcome addition to
> the portstree !
>
> just one strange thing: homepage states that it needs py3 to build, but
> you enforce py2. I'm not certain we want to add more ports that depend
> on py2, so can it be made to use py3 ?
>
> Landry
>
There's an optional dep on python 2:
# Check for Python headers
python_dep = dependency('python2', required : false)
if not python_dep.found()
python_dep = dependency('python-2.7', required : false)
endif
gnt_config.set('USE_PYTHON', python_dep.found())
If that's not required by other ports, it might be better to neuter it, indeed.