Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-28 Thread ajtiM via freebsd-ports
On Tue, 28 Apr 2020 02:10:51 -0600
"@lbutlr"  wrote:

> On 27 Apr 2020, at 17:32, ajtiM via freebsd-ports
>  wrote:
> >  qt5-webengine
> 
> There is py-qt5-webengine which seems to want py37
> 
And what is a point?
www/qt5-webengine has in Makefile python:27. If you delete :27 will pull
python 3.7
but I don not using qt5-engine anymore.

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-28 Thread @lbutlr
On 27 Apr 2020, at 17:32, ajtiM via freebsd-ports  
wrote:
>  qt5-webengine

There is py-qt5-webengine which seems to want py37





-- 
"Remember -- that which does not kill us can only make us stronger."
"And that which *does* kill us leaves us *dead*!”


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-27 Thread ajtiM via freebsd-ports
I found that qt5-webengine needs Python 2.7:

Build dependencies:

bison : devel/bison
ninja : devel/ninja
yasm : devel/yasm
input.h : devel/evdev-proto
videodev2.h : multimedia/v4l_compat
gperf : devel/gperf
python2.7 : lang/python27
pkgconf>=1.3.0_1 : devel/pkgconf
as : devel/binutils
xorgproto>=0 : x11/xorgproto
xorgproto>=0 : x11/xorgproto
x11.pc : x11/libX11
xcb.pc : x11/libxcb
xcomposite.pc : x11/libXcomposite
xcursor.pc : x11/libXcursor
xdamage.pc : x11/libXdamage
xext.pc : x11/libXext
xfixes.pc : x11/libXfixes
xi.pc : x11/libXi
xrandr.pc : x11/libXrandr
xrender.pc : x11/libXrender
xscrnsaver.pc : x11/libXScrnSaver
xtst.pc : x11/libXtst
moc : devel/qt5-buildtools
designer : devel/qt5-designer
qmake : devel/qt5-qmake


-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-26 Thread Kevin Oberman
I have submitted a bug, bugzilla/show_bug.cgi?id=245799
, to update
math/gnumeric to run with python3. It's a bit odd because the current
version in ports builds and runs with either python 2 or 3 by default, but
the FreeBSD port does not because it attempts to compile all the python
modules which are only available when the port is built with python2.
Simply eliminating the post-install compileall.py call allows it to build
and run. Making that dependent on PYTHON_DEFAULT =2.7 would be the right
thing to do and is easy, but I'm unsure how to make the packing list DTRT.

Other than that, gnumric just works with any supported version of python.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-26 Thread ajtiM via freebsd-ports
On Sat, 25 Apr 2020 16:21:25 -0700 (PDT)
Roger Marquis  wrote:

> Kurt Jaeger wrote:
> > I prepared a patch to build lyx without the 2.7 restriction. The
> > patch needs a run-test, can you test and report back ?
> 
> Has anyone enumerated the ports and applications which don't work with
> python{,2,2.7} symlinked from pypy?  Mailman seems fine but fail2ban
> does not start, at least not when it was installed using the original
> python2.7 port.  One heads-up is that pypy can take more than an hour
> to compile (on x86_64).  The build relies on a single python2 thread
> which eventually utilizes over 5GB RAM.
> 
> Roger

I didn't mark but there are patch for Inkscape:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243615

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-25 Thread Roger Marquis

Kurt Jaeger wrote:

I prepared a patch to build lyx without the 2.7 restriction. The
patch needs a run-test, can you test and report back ?


Has anyone enumerated the ports and applications which don't work with
python{,2,2.7} symlinked from pypy?  Mailman seems fine but fail2ban
does not start, at least not when it was installed using the original
python2.7 port.  One heads-up is that pypy can take more than an hour to
compile (on x86_64).  The build relies on a single python2 thread which
eventually utilizes over 5GB RAM.

Roger
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-24 Thread ajtiM via freebsd-ports
On Fri, 24 Apr 2020 14:16:15 +0200
Kurt Jaeger  wrote:

> Hi!
> 
> > > > I clean almost everything except print/lyx which I am using and
> > > > I like it (with latex-beamer). I try to build with Python 3.7
> > > > but not success. [...]
> 
> > It was solved long time ago but we have:
> > 
> > Build dependencies:
> > 
> > update-desktop-database : devel/desktop-file-utils
> > gmake : devel/gmake
> > pkgconf>=1.3.0_1 : devel/pkgconf
> > python2.7 : lang/python27
> 
> I prepared a patch to build lyx without the 2.7 restriction. The
> patch needs a run-test, can you test and report back ?
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245871
> 


Thank you very much. The patch works and Lyx too :).

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-24 Thread Kurt Jaeger
Hi!

> > > I clean almost everything except print/lyx which I am using and I
> > > like it (with latex-beamer). I try to build with Python 3.7 but not
> > > success. [...]

> It was solved long time ago but we have:
> 
> Build dependencies:
> 
> update-desktop-database : devel/desktop-file-utils
> gmake : devel/gmake
> pkgconf>=1.3.0_1 : devel/pkgconf
> python2.7 : lang/python27

I prepared a patch to build lyx without the 2.7 restriction. The
patch needs a run-test, can you test and report back ?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245871

-- 
p...@opsec.eu+49 171 3101372Now what ?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-23 Thread Kevin Oberman
On Thu, Apr 23, 2020 at 1:12 PM ajtiM via freebsd-ports <
freebsd-ports@freebsd.org> wrote:

> On Thu, 23 Apr 2020 21:46:15 +0200
> Kurt Jaeger  wrote:
>
> > Hi!
> >
> > > I clean almost everything except print/lyx which I am using and I
> > > like it (with latex-beamer). I try to build with Python 3.7 but not
> > > success. I do not now if I am one of the "rare" user or is port
> > > dead.
> >
> > The port is up to date with version 2.3.4.2.
> >
> > Can you try to ask upstream ? In their bugtracker ?
> >
> > https://www.lyx.org/trac/wiki/BugTrackerHome
> >
> > There's a closed bug that tracked this topic:
> >
> > https://www.lyx.org/trac/ticket/9006
> >
> > and it says that lyx after 2.3.0 should work with py3.
> >
>
> It was solved long time ago but we have:
>
>
> Build dependencies:
>
> update-desktop-database : devel/desktop-file-utils
> gmake : devel/gmake
> pkgconf>=1.3.0_1 : devel/pkgconf
> python2.7 : lang/python27
> msgfmt : devel/gettext-tools
> autoconf>=2.69 : devel/autoconf
> automake>=1.16.1 : devel/automake
> perl5>=5.30.r1<5.31 : lang/perl5.30
> moc : devel/qt5-buildtools
> qmake : devel/qt5-qmake
> xcb.pc : x11/libxcb
>
> Runtime dependencies:
>
> update-desktop-database : devel/desktop-file-utils
> python2.7 : lang/python27
> perl5>=5.30.r1<5.31 : lang/perl5.30
> xcb.pc : x11/libxcb
>
>
>
> --
> Ernst Lubitsch’s Ninotchka:
>

Edit the Makefile, deleting :2.7 after python from the USES= lines. If that
works, please open a ticket for this so the port can be fixed to use
python3.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-23 Thread ajtiM via freebsd-ports
On Thu, 23 Apr 2020 21:46:15 +0200
Kurt Jaeger  wrote:

> Hi!
> 
> > I clean almost everything except print/lyx which I am using and I
> > like it (with latex-beamer). I try to build with Python 3.7 but not
> > success. I do not now if I am one of the "rare" user or is port
> > dead.
> 
> The port is up to date with version 2.3.4.2.
> 
> Can you try to ask upstream ? In their bugtracker ?
> 
> https://www.lyx.org/trac/wiki/BugTrackerHome
> 
> There's a closed bug that tracked this topic:
> 
> https://www.lyx.org/trac/ticket/9006
> 
> and it says that lyx after 2.3.0 should work with py3.
> 

It was solved long time ago but we have:


Build dependencies:

update-desktop-database : devel/desktop-file-utils
gmake : devel/gmake
pkgconf>=1.3.0_1 : devel/pkgconf
python2.7 : lang/python27
msgfmt : devel/gettext-tools
autoconf>=2.69 : devel/autoconf
automake>=1.16.1 : devel/automake
perl5>=5.30.r1<5.31 : lang/perl5.30
moc : devel/qt5-buildtools
qmake : devel/qt5-qmake
xcb.pc : x11/libxcb

Runtime dependencies:

update-desktop-database : devel/desktop-file-utils
python2.7 : lang/python27
perl5>=5.30.r1<5.31 : lang/perl5.30
xcb.pc : x11/libxcb



-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-23 Thread ajtiM via freebsd-ports
On Thu, 23 Apr 2020 21:46:15 +0200
Kurt Jaeger  wrote:

> Hi!
> 
> > I clean almost everything except print/lyx which I am using and I
> > like it (with latex-beamer). I try to build with Python 3.7 but not
> > success. I do not now if I am one of the "rare" user or is port
> > dead.
> 
> The port is up to date with version 2.3.4.2.
> 
> Can you try to ask upstream ? In their bugtracker ?
> 
> https://www.lyx.org/trac/wiki/BugTrackerHome
> 
> There's a closed bug that tracked this topic:
> 
> https://www.lyx.org/trac/ticket/9006
> 
> and it says that lyx after 2.3.0 should work with py3.
> 

Thank you very much.


-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-23 Thread Kurt Jaeger
Hi!

> I clean almost everything except print/lyx which I am using and I like
> it (with latex-beamer). I try to build with Python 3.7 but not success.
> I do not now if I am one of the "rare" user or is port dead.

The port is up to date with version 2.3.4.2.

Can you try to ask upstream ? In their bugtracker ?

https://www.lyx.org/trac/wiki/BugTrackerHome

There's a closed bug that tracked this topic:

https://www.lyx.org/trac/ticket/9006

and it says that lyx after 2.3.0 should work with py3.

-- 
p...@opsec.eu+49 171 3101372Now what ?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-23 Thread ajtiM via freebsd-ports
I clean almost everything except print/lyx which I am using and I like
it (with latex-beamer). I try to build with Python 3.7 but not success.
I do not now if I am one of the "rare" user or is port dead.

Thank you.

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-20 Thread Thierry Thomas
Le dim. 19 avr. 20 à 11:24:30 +0200, Thierry Thomas 
 écrivait :

> > Hmpf - now I _had_ to fix FreeCAD - that thing has it's own dependency
> > on vtk, and we cannot have vtk6 and vtk8 at the same time.
> 
> Thanks, I did not know that.

Christoph,

Unfortunately, I had to switch back to VTK-6.1 because it broke the
build. Thus you have to switch back too for FreeCAD...
-- 
Th. Thomas.


signature.asc
Description: PGP signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Martin Neubauer
On 18/04/2020 11:57, D'Arcy Cain wrote:
> I tried building lilypond with python2.7 removed from USES but its
> configure script failed due to Python < 3.0.  I couldn't find any
> discussion about upgrading the version of Python but WikipediA says that
> it has 120,000 lines Python code.  As far as I can tell there is nothing
> as good as Lilypond for engraving music.  It would be quite a blow to
> musicians if that was removed.
I think I can reassure you that lilypond isn't going away (at least not
because of the Python 2 vs. 3 issue.) Currently I'm maintaining
lilypond-devel and have already created a patch updating to 2.21.0 not
depending on Python 2 any more. I've already planned to take care of
updating lilypond to 2.20.0 as soon as I'll be able to. Maybe that would
mean backporting the upstream changeset switching to Python 3. (The
change was done well before the 2.20.0 release, but it seems to only be
present in the 2.21 branch. Luckily the changes are fairly trivial, but
because so many files are touched still would mean quite some legwork.)

Regards,
Martin

-- 
X is a large contribution.



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Matthias Andree
Am 19.04.20 um 00:25 schrieb D'Arcy Cain:
> On 2020-04-18 17:23, Matthias Andree wrote:
>> Am 18.04.20 um 18:40 schrieb D'Arcy Cain:
>>> On 2020-04-18 10:18, ajtiM via freebsd-ports wrote:
 BTW, I do not know why some apps need llvm60 still:
>>> I really wish there was only one llvm.  It's one of those things that
>>> can take days to build.  A minor upgrade can trigger multiple rebuilds.
>>>  In my case only llvm80 and llvm90 but still.
>> In my experience, LLVM responds rather well to ccache installed. It can
>> occasionally get slow, but if it's just about a single file, ccache
>> helps massively. GCC benefits less (if at all) from ccache.
> One of us may be misunderstanding the other.  Compiling with llvm can be
> slow but I was talking about the time it takes to build llvm itself.
>
That's indeed what I was referring to, sorry for not making that clear.
Building LLVM compiles ~5000 files, most C++, which is slow, but for
PORTREVISION bumps from LLVM17.0.0 to LLVM17.0.0_1 (I am making the
version up) that often patch only one or a few files, you get some 4000+
hits in ccache if you've builg 17.0.0 before, and the build zooms
through at high speed.

This does not happen for GCC per my observation. Compile-time wise,
using LLVM/clang to compile foreign code, used to be faster too, with
GCC often optimizing a tad better, but in the end for FreeBSD, I try to
use whatever is the system default, unless that renders broken code
(rawtherapee), then I set USE_GCC.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread ajtiM via freebsd-ports
On Sun, 19 Apr 2020 09:54:27 -0700
Kevin Oberman  wrote:

> If you actually use inkscape, can you try inkscape with python37 an
> confirm whether or not it works? My guess is that it does not,  but
> it does run and at least works to some degree. Maybe everything
> works. (Hope springs eternal.)
> 
> I suspect you know this, but you can just edit the Makefile to remove
> ":2.7" from the dependencies and then rebuild the port.
> 
> As for gnumeric (which I actually care about), I think just deleting
> the post-install in the Makefile might do the trick. post-install
> will clearly fail with a non-python27 build.
> 
> Again, scon is the big one and looks like a candidate for FLAVORS.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> 
> 
I did try few months ago and it didn't work.
-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Dima Pasechnik
inkscape is being ported to Python3, so one has to wait...

On Mon, 20 Apr 2020, 00:55 Kevin Oberman,  wrote:

> If you actually use inkscape, can you try inkscape with python37 an confirm
> whether or not it works? My guess is that it does not,  but it does run and
> at least works to some degree. Maybe everything works. (Hope springs
> eternal.)
>
> I suspect you know this, but you can just edit the Makefile to remove
> ":2.7" from the dependencies and then rebuild the port.
>
> As for gnumeric (which I actually care about), I think just deleting the
> post-install in the Makefile might do the trick. post-install will clearly
> fail with a non-python27 build.
>
> Again, scon is the big one and looks like a candidate for FLAVORS.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>
> On Sun, Apr 19, 2020 at 7:44 AM ajtiM via freebsd-ports <
> freebsd-ports@freebsd.org> wrote:
>
> > And how and when will be solved Inkscape which is part of the GNOME
> > group:
> >
> > Build dependencies:
> >
> > concept_check.hpp : devel/boost-libs
> > cmake : devel/cmake
> > ninja : devel/ninja
> > update-desktop-database : devel/desktop-file-utils
> > gtk-update-icon-cache : graphics/gtk-update-icon-cache
> > pkgconf>=1.3.0_1 : devel/pkgconf
> > python2.7 : lang/python27
> > msgfmt : devel/gettext-tools
> > x11.pc : x11/libX11
> >
> > Runtime dependencies:
> >
> > py27-numpy>=1.15,1<1.19,1 : math/py-numpy@py27
> > py27-lxml>0 : devel/py-lxml@py27
> > py27-scour>0 : textproc/py-scour@py27
> > update-desktop-database : devel/desktop-file-utils
> > gtk-update-icon-cache : graphics/gtk-update-icon-cache
> > python2.7 : lang/python27
> > x11.pc : x11/libX11
> >
> > Thank you.
> >
> > --
> > Ernst Lubitsch’s Ninotchka:
> >
> > “‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
> > have no cream, only milk, so can it be a coffee without milk?’”
> > ___
> > freebsd-ports@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
> >
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Kevin Oberman
If you actually use inkscape, can you try inkscape with python37 an confirm
whether or not it works? My guess is that it does not,  but it does run and
at least works to some degree. Maybe everything works. (Hope springs
eternal.)

I suspect you know this, but you can just edit the Makefile to remove
":2.7" from the dependencies and then rebuild the port.

As for gnumeric (which I actually care about), I think just deleting the
post-install in the Makefile might do the trick. post-install will clearly
fail with a non-python27 build.

Again, scon is the big one and looks like a candidate for FLAVORS.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sun, Apr 19, 2020 at 7:44 AM ajtiM via freebsd-ports <
freebsd-ports@freebsd.org> wrote:

> And how and when will be solved Inkscape which is part of the GNOME
> group:
>
> Build dependencies:
>
> concept_check.hpp : devel/boost-libs
> cmake : devel/cmake
> ninja : devel/ninja
> update-desktop-database : devel/desktop-file-utils
> gtk-update-icon-cache : graphics/gtk-update-icon-cache
> pkgconf>=1.3.0_1 : devel/pkgconf
> python2.7 : lang/python27
> msgfmt : devel/gettext-tools
> x11.pc : x11/libX11
>
> Runtime dependencies:
>
> py27-numpy>=1.15,1<1.19,1 : math/py-numpy@py27
> py27-lxml>0 : devel/py-lxml@py27
> py27-scour>0 : textproc/py-scour@py27
> update-desktop-database : devel/desktop-file-utils
> gtk-update-icon-cache : graphics/gtk-update-icon-cache
> python2.7 : lang/python27
> x11.pc : x11/libX11
>
> Thank you.
>
> --
> Ernst Lubitsch’s Ninotchka:
>
> “‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
> have no cream, only milk, so can it be a coffee without milk?’”
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread ajtiM via freebsd-ports
And how and when will be solved Inkscape which is part of the GNOME
group:

Build dependencies:

concept_check.hpp : devel/boost-libs
cmake : devel/cmake
ninja : devel/ninja
update-desktop-database : devel/desktop-file-utils
gtk-update-icon-cache : graphics/gtk-update-icon-cache
pkgconf>=1.3.0_1 : devel/pkgconf
python2.7 : lang/python27
msgfmt : devel/gettext-tools
x11.pc : x11/libX11

Runtime dependencies:

py27-numpy>=1.15,1<1.19,1 : math/py-numpy@py27
py27-lxml>0 : devel/py-lxml@py27
py27-scour>0 : textproc/py-scour@py27
update-desktop-database : devel/desktop-file-utils
gtk-update-icon-cache : graphics/gtk-update-icon-cache
python2.7 : lang/python27
x11.pc : x11/libX11

Thank you.

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Ronald Klop
On Sun, 19 Apr 2020 01:57:36 +0200, Dima Pasechnik  
 wrote:



scons ought to be updated to version 3 (the latest is 3.1.2), and
supports both python 2.7+ and 3.5+



Scons in ports is 3.1.1. This can compile and run with python 2 and 3. But  
our USES=scons framework does not know how to instruct scons to run with  
which python version.


See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241463 for a attempt  
to flavor scons for python 2 and python 3.
Maintainer of the port is rather silent. Does not accept nor reject the  
proposed solution.


Regards,
Ronald.




lilypond is another story - noone seems to have bitten the bullet and
ported it to Python 3.
But I don't see a problem in keeping Python 2.7 available for some
time in FreeBSD - it just should stop being default one.



On Sun, Apr 19, 2020 at 7:41 AM Kevin Oberman   
wrote:


I see both mate-menu and mate-applets require python27, but both build  
fine
and seem to be running well when built with py37. It is possible that  
one
or more applets that I don't use do require py27, but I see no reason  
for

that requirement on mate-menus. The menus seem to be fine.

Inkscape is another. It  builds and runs on py37, but I have no  
confidence
that it runs properly. I have not used inkscape in years and I don't  
really

know how to test it. I am dubious.

math/gnumeric is one I use daily and it explicitly states in the build  
that
2.x is required and it is not yet compatible with python3+. It appears  
that

the default is to simply build gnumeric without Python bindings in which
case python2 is not required, but the port makes use of it, so it  
probably

needs at least some massaging.

The big one is scons. It is required by virtualbox-ose, and that is  
rather

important.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Ronald Klop
On Sun, 19 Apr 2020 01:40:29 +0200, Kevin Oberman   
wrote:


I see both mate-menu and mate-applets require python27, but both build  
fine

and seem to be running well when built with py37. It is possible that one
or more applets that I don't use do require py27, but I see no reason for
that requirement on mate-menus. The menus seem to be fine.

Inkscape is another. It  builds and runs on py37, but I have no  
confidence
that it runs properly. I have not used inkscape in years and I don't  
really

know how to test it. I am dubious.

math/gnumeric is one I use daily and it explicitly states in the build  
that
2.x is required and it is not yet compatible with python3+. It appears  
that

the default is to simply build gnumeric without Python bindings in which
case python2 is not required, but the port makes use of it, so it  
probably

needs at least some massaging.

The big one is scons. It is required by virtualbox-ose, and that is  
rather

important.



See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241463 for a attempt  
to flavor scons for python 2 and python 3.
Otherwise I don't see how new ports (wanting python3 to buid) can use  
scons while existing ports keep building using python 2 for the coming  
months.


NB: mongodb36 and 40 want scons with python 2. Mongodb42 (not in  ports  
yet) wants scons for python 3.


Regards,
Ronald.



--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683





___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Thierry Thomas
Le dim. 19 avr. 20 à  0:57:29 +0200, Christoph Moench-Tegeder 

 écrivait :

> Hmpf - now I _had_ to fix FreeCAD - that thing has it's own dependency
> on vtk, and we cannot have vtk6 and vtk8 at the same time.

Thanks, I did not know that.

> > Looks like vtk8 need some love... building as I write.
> 
> Either
>  - math/vtk8 should convert the QT5_USE of qmake_build and
>buildtools_build to qmake and buildtools, respectively
> Or
>   - every consumer of math/vtk8 (I'm talking about opencascade here)
> needs to QT5_USE qmake_build and buildtools_build.
> 
> vtk8's CMake-Files reference Qt and are very unhappy if they don't
> have qmake and moc.

This simple patch could help:

Index: math/vtk8/Makefile
===
--- math/vtk8/Makefile  (revision 531138)
+++ math/vtk8/Makefile  (working copy)
@@ -2,7 +2,7 @@
 
 PORTNAME=  vtk
 DISTVERSION=   8.1.2
-PORTREVISION=  5
+PORTREVISION=  6
 CATEGORIES=math graphics
 MASTER_SITES=  http://www.vtk.org/files/release/${VTK_SHORT_VER}/
 PKGNAMESUFFIX= 8
@@ -62,7 +62,7 @@
 .endfor
 
 QT5_USES=  qt:5
-QT5_USE=   
QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build
+QT5_USE=   
QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools
 QT5_CMAKE_ON=  -DVTK_QT_VERSION:STRING="5" \
-DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \
-DVTK_Group_Qt:BOOL=ON


Cc'ing: Yuri (maintainer)
-- 
Th. Thomas.


signature.asc
Description: PGP signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-19 Thread Thierry Thomas
Le sam. 18 avr. 20 à 22:37:19 +0200, Loïc Bartoletti 
 écrivait :

> > I just committed a switch to VTK-8.1.

> Salut,
> 
> I'm working on a port which requires opencascade.
> 
> Maybe I'm wrong, but just repalce vtk6 to vtk8 is not enough. Vtk8 does not
> have python, and also requires qt5. According to my tests, you should add to
> opencascade
> 
> USES= qt:5 qmake
> USE_QT= buildtools_build

You are right! I tested this switch to VTK-8 some time ago, forgot to
commit it… and then forgot the details!

Thanks.
-- 
Th. Thomas.


signature.asc
Description: PGP signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Christoph Moench-Tegeder
## Dima Pasechnik (dimpase+free...@gmail.com):

> But I don't see a problem in keeping Python 2.7 available for some
> time in FreeBSD - it just should stop being default one.

Python 2.7 hasn't been the default for quite exactly one year:

: r498529 | antoine | 2019-04-10 07:47:26 +0200 (Wed, 10 Apr 2019) | 6 lines
:
: Switch default version of python to 3.6
:
: PR: 234633
: With hat:   portmgr
: Differential Revision:  https://reviews.freebsd.org/D18743

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Dima Pasechnik
scons ought to be updated to version 3 (the latest is 3.1.2), and
supports both python 2.7+ and 3.5+

lilypond is another story - noone seems to have bitten the bullet and
ported it to Python 3.
But I don't see a problem in keeping Python 2.7 available for some
time in FreeBSD - it just should stop being default one.



On Sun, Apr 19, 2020 at 7:41 AM Kevin Oberman  wrote:
>
> I see both mate-menu and mate-applets require python27, but both build fine
> and seem to be running well when built with py37. It is possible that one
> or more applets that I don't use do require py27, but I see no reason for
> that requirement on mate-menus. The menus seem to be fine.
>
> Inkscape is another. It  builds and runs on py37, but I have no confidence
> that it runs properly. I have not used inkscape in years and I don't really
> know how to test it. I am dubious.
>
> math/gnumeric is one I use daily and it explicitly states in the build that
> 2.x is required and it is not yet compatible with python3+. It appears that
> the default is to simply build gnumeric without Python bindings in which
> case python2 is not required, but the port makes use of it, so it probably
> needs at least some massaging.
>
> The big one is scons. It is required by virtualbox-ose, and that is rather
> important.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>
> >
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Kevin Oberman
I see both mate-menu and mate-applets require python27, but both build fine
and seem to be running well when built with py37. It is possible that one
or more applets that I don't use do require py27, but I see no reason for
that requirement on mate-menus. The menus seem to be fine.

Inkscape is another. It  builds and runs on py37, but I have no confidence
that it runs properly. I have not used inkscape in years and I don't really
know how to test it. I am dubious.

math/gnumeric is one I use daily and it explicitly states in the build that
2.x is required and it is not yet compatible with python3+. It appears that
the default is to simply build gnumeric without Python bindings in which
case python2 is not required, but the port makes use of it, so it probably
needs at least some massaging.

The big one is scons. It is required by virtualbox-ose, and that is rather
important.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Christoph Moench-Tegeder
## Christoph Moench-Tegeder (c...@burggraben.net):

> > > Again, vtk6...
> > I just committed a switch to VTK-8.1.
> 
> Cool!

Hmpf - now I _had_ to fix FreeCAD - that thing has it's own dependency
on vtk, and we cannot have vtk6 and vtk8 at the same time.

> Looks like vtk8 need some love... building as I write.

Either
 - math/vtk8 should convert the QT5_USE of qmake_build and
   buildtools_build to qmake and buildtools, respectively
Or
  - every consumer of math/vtk8 (I'm talking about opencascade here)
needs to QT5_USE qmake_build and buildtools_build.

vtk8's CMake-Files reference Qt and are very unhappy if they don't
have qmake and moc.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread ajtiM via freebsd-ports
On Sat, 18 Apr 2020 20:24:21 +0200
Christoph Moench-Tegeder  wrote:

> ## ajtiM via freebsd-ports (freebsd-ports@freebsd.org):
> 
> > > asterisk16: 16.9.0
> 
> That's surprising - asterisk16 with somewhat usual OPTIONS does not
> have a direct python dependency - I'd guess you're seeing an indirect
> dependency via newt (devel/newt) which has PYTHON as a default OPTION;
> but it can use either (2 or 3) python - here it happily uses python
> 3.7.
> 
> > FreeCAD: 0.18.4_4
> 
> Perhaps again an indirect dependency? Through vtk6, I guess (that
> needs to be replaced by vtk8, working on it). Except for that I've
> recently removed all python 2 support from FreeCAD and it's toolkits.
> 
> > en-gimp-help-html: 2.10.0_1
> 
> That port doesn't even exist anymore (see MOVED,
>  graphics/gimp-help||2020-03-01|Has expired: Broken )
> 
> > gimp: 2.10.18,2
> 
> Through py-gimp? That's scheduled for removal.
> 
> > latex-beamer: 3.57
> 
> How that? Indirect dependency via texlive-texmf? Even if our texlive
> would need some love (read: update), it's fully happy with python 3.7.
> 
> > opencascade: 7.4.0_2
> 
> Again, vtk6...
> 
> > BTW, I do not know why some apps need llvm60 still:
> 
> That shouldn't be.
> 
> > pkg delete llvm60:
> > 
> > FreeCAD: 0.18.4_4
> > llvm60: 6.0.1_7
> > py37-pyside2: 5.14.2
> > py37-pyside2-tools: 5.14.2
> > py37-shiboken2: 5.14.2
> 
> It's shiboken2 which has a dependency on the default ports llvm (see
> https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalleds
> as per usual) - but that would be llvm90 since septemper 2019.
> Looks like you're picking up random cruft during build and not
> following default version changes.
> 
> Regards,
> Christoph
> 

Thank you very much for clear explanation  and I did correct everything.
 

-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread D'Arcy Cain
On 2020-04-18 17:23, Matthias Andree wrote:
> Am 18.04.20 um 18:40 schrieb D'Arcy Cain:
>> On 2020-04-18 10:18, ajtiM via freebsd-ports wrote:
>>> BTW, I do not know why some apps need llvm60 still:
>> I really wish there was only one llvm.  It's one of those things that
>> can take days to build.  A minor upgrade can trigger multiple rebuilds.
>>  In my case only llvm80 and llvm90 but still.
> In my experience, LLVM responds rather well to ccache installed. It can
> occasionally get slow, but if it's just about a single file, ccache
> helps massively. GCC benefits less (if at all) from ccache.

One of us may be misunderstanding the other.  Compiling with llvm can be
slow but I was talking about the time it takes to build llvm itself.

-- 
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Matthias Andree
Am 18.04.20 um 18:40 schrieb D'Arcy Cain:
> On 2020-04-18 10:18, ajtiM via freebsd-ports wrote:
>> BTW, I do not know why some apps need llvm60 still:
> I really wish there was only one llvm.  It's one of those things that
> can take days to build.  A minor upgrade can trigger multiple rebuilds.
>  In my case only llvm80 and llvm90 but still.
In my experience, LLVM responds rather well to ccache installed. It can
occasionally get slow, but if it's just about a single file, ccache
helps massively. GCC benefits less (if at all) from ccache.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread D'Arcy Cain
On 2020-04-18 13:24, Christoph Moench-Tegeder wrote:
>>> asterisk16: 16.9.0
> 
> That's surprising - asterisk16 with somewhat usual OPTIONS does not
> have a direct python dependency - I'd guess you're seeing an indirect
> dependency via newt (devel/newt) which has PYTHON as a default OPTION;
> but it can use either (2 or 3) python - here it happily uses python 3.7.

As I said in a previous message, net-snmp is a dependency for asterisk16
and it has an option to include Python bindings.  That uses Python27.
If you de-configure that option it doesn't pull in python27.

-- 
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Loïc Bartoletti



Le 18/04/2020 à 22:16, Thierry Thomas a écrit :

Le sam. 18 avr. 20 à 20:24:21 +0200, Christoph Moench-Tegeder 

  écrivait :


opencascade: 7.4.0_2

Again, vtk6...

I just committed a switch to VTK-8.1.


Salut,

I'm working on a port which requires opencascade.

Maybe I'm wrong, but just repalce vtk6 to vtk8 is not enough. Vtk8 does 
not have python, and also requires qt5. According to my tests, you 
should add to opencascade


USES= qt:5 qmake
USE_QT= buildtools_build

But i'm still working on it.

Regards.

Loïc

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Christoph Moench-Tegeder
## Thierry Thomas (thie...@freebsd.org):

> > Again, vtk6...
> 
> I just committed a switch to VTK-8.1.

Cool!
Looks like vtk8 need some love... building as I write.

> But there is also inkspace (if the option DOXYGEN is selected). It
> should be upgraded to a newer version to avoid Python 2.7. See PR
> 243615.

The 0.92ers look promising. We should prod Koop and/or commit on
timeout. Let's make some progress...

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Thierry Thomas
Le sam. 18 avr. 20 à 20:24:21 +0200, Christoph Moench-Tegeder 

 écrivait :

> > opencascade: 7.4.0_2
> 
> Again, vtk6...

I just committed a switch to VTK-8.1.

But there is also inkspace (if the option DOXYGEN is selected). It
should be upgraded to a newer version to avoid Python 2.7. See PR
243615.
-- 
Th. Thomas.


signature.asc
Description: PGP signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Marcin Cieslak

On Sat, 18 Apr 2020, D'Arcy Cain wrote:


As for mailman, it looks like we only need to upgrade to a current
version.  The site says that 3.x uses Python 3.  Requires it in fact.


Mailman 3 is a completely different system compared to Mailman 2.


CKAN is not in FreeBSD ports but is an example of an application
that is not trivial to migrate due to their use of Pylons web technology:

https://github.com/ckan/ckan/issues/4681

converted into

https://github.com/ckan/ckan/projects/3

Marcin

smime.p7s
Description: S/MIME Cryptographic Signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Christoph Moench-Tegeder
## ajtiM via freebsd-ports (freebsd-ports@freebsd.org):

> > asterisk16: 16.9.0

That's surprising - asterisk16 with somewhat usual OPTIONS does not
have a direct python dependency - I'd guess you're seeing an indirect
dependency via newt (devel/newt) which has PYTHON as a default OPTION;
but it can use either (2 or 3) python - here it happily uses python 3.7.

>   FreeCAD: 0.18.4_4

Perhaps again an indirect dependency? Through vtk6, I guess (that needs
to be replaced by vtk8, working on it). Except for that I've recently
removed all python 2 support from FreeCAD and it's toolkits.

>   en-gimp-help-html: 2.10.0_1

That port doesn't even exist anymore (see MOVED,
 graphics/gimp-help||2020-03-01|Has expired: Broken )

>   gimp: 2.10.18,2

Through py-gimp? That's scheduled for removal.

>   latex-beamer: 3.57

How that? Indirect dependency via texlive-texmf? Even if our texlive
would need some love (read: update), it's fully happy with python 3.7.

>   opencascade: 7.4.0_2

Again, vtk6...

> BTW, I do not know why some apps need llvm60 still:

That shouldn't be.

> pkg delete llvm60:
> 
> FreeCAD: 0.18.4_4
>   llvm60: 6.0.1_7
>   py37-pyside2: 5.14.2
>   py37-pyside2-tools: 5.14.2
>   py37-shiboken2: 5.14.2

It's shiboken2 which has a dependency on the default ports llvm (see
https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalleds
as per usual) - but that would be llvm90 since septemper 2019.
Looks like you're picking up random cruft during build and not following
default version changes.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Ronald Klop
On Fri, 17 Apr 2020 14:11:11 +0200, Dewayne Geraghty  
 wrote:


Its very confusing building ports at the moment.  At  
https://www.python.org/

there is a release candidate for 2.7.18, while our python 2.7 has been
marked as deprecated with an expiration date.  Can the Expiration Date of
2020-12-31 be retracted?

It appears that devel/scons, at least, requires python 2.7 to run; though
it builds with 3.7.
Regards, Dewayne.


Scons is a special one.
Mongodb36 & mongodb40 use scons+python27 to build.
Mongodb42 uses scons+python37 to build. But this port can't be made  
because scons is currently build for python2 only.


I created PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241463 a  
while ago to try to flavor scons. I hope the maintainer of the port will  
take a look sometime in the future.


So this kind of a catch-22. Mongodb can't be upgraded to python3  
supporting versions because scons can't be upgraded.


I have no idea if mongodb36 and -40 will be converted to python3 upstream  
any day.


Regards,

Ronald.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread D'Arcy Cain
On 2020-04-18 10:18, ajtiM via freebsd-ports wrote:
> BTW, I do not know why some apps need llvm60 still:

I really wish there was only one llvm.  It's one of those things that
can take days to build.  A minor upgrade can trigger multiple rebuilds.
 In my case only llvm80 and llvm90 but still.

-- 
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread ajtiM via freebsd-ports
On Sat, 18 Apr 2020 04:57:32 -0500
D'Arcy Cain  wrote:

> On 2020-04-18 04:06, andrew clarke wrote:
> > Out of interest I ran "pkg del python27" on my FreeBSD machine just
> > to see what would break. Conspicuous was devel/mercurial:
> 
> I did the same thing.  Out of 19 packages to be deleted here are the
> four that matter.  I believe the rest are mainly dependencies for
> these four.
> 
> asterisk16: 16.9.0
> freeradius3: 3.0.20
> lilypond: 2.18.2_10
> mailman: 2.1.29_6
> 
On mine (just some of them)

FreeCAD: 0.18.4_4
asciidoc: 8.6.10_1
doxygen: 1.8.15_3,2
en-gimp-help-html: 2.10.0_1
gimp: 2.10.18,2
inkscape: 0.92.4_16
latex-beamer: 3.57
llvm60: 6.0.1_7
lyx: 2.3.4.2
opencascade: 7.4.0_2

BTW, I do not know why some apps need llvm60 still:
pkg delete llvm60:

FreeCAD: 0.18.4_4
llvm60: 6.0.1_7
py37-pyside2: 5.14.2
py37-pyside2-tools: 5.14.2
py37-shiboken2: 5.14.2
-- 
Ernst Lubitsch’s Ninotchka: 

“‘Waiter! A cup of coffee without cream, please!’ ‘I’m sorry, sir, we
have no cream, only milk, so can it be a coffee without milk?’” 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread D'Arcy Cain
On 2020-04-18 04:06, andrew clarke wrote:
> Out of interest I ran "pkg del python27" on my FreeBSD machine just to
> see what would break. Conspicuous was devel/mercurial:

I did the same thing.  Out of 19 packages to be deleted here are the
four that matter.  I believe the rest are mainly dependencies for these
four.

asterisk16: 16.9.0
freeradius3: 3.0.20
lilypond: 2.18.2_10
mailman: 2.1.29_6

I was surprised to find Asterisk in that list.  It appears to be due to
a dependency on net-snmp.  I am rebuilding with Python bindings removed
from the config.  If net-smtp can't be build with 3.x then the option
should probably be removed.

I rebuilt freeradius3 which pulled in Python2.7.  I then removed
python27 and it did not remove freeradius3.  I then modified the
Makefile to change PYTHON_USES to 2.7 and it built fine.  I have no way
to test if it works yet.

I tried building lilypond with python2.7 removed from USES but its
configure script failed due to Python < 3.0.  I couldn't find any
discussion about upgrading the version of Python but WikipediA says that
it has 120,000 lines Python code.  As far as I can tell there is nothing
as good as Lilypond for engraving music.  It would be quite a blow to
musicians if that was removed.

As for mailman, it looks like we only need to upgrade to a current
version.  The site says that 3.x uses Python 3.  Requires it in fact.

-- 
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 788 2246 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vybenetworks.com, VoIP: sip:da...@druid.net



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread andrew clarke
On 2020-04-18 09:34:39, Matthew Seaman (matt...@freebsd.org) wrote:

> On 18/04/2020 03:19, Robert Huff wrote:
> > a) according to the Makefile, is it possible to build this with
> > python-37?  (Or even -36?) 
> 
> If the Makefile for the port says:
> 
> USES= python:27
> 
> then the port is for python-2.7.x only.  All other python ports will
> support python-3.x (which practically speaking means python-3.7).  Note
> that ports that are python-2.7.x only are now as rare as hen's teeth as
> there has been an active program of deleting such.

Out of interest I ran "pkg del python27" on my FreeBSD machine just to
see what would break. Conspicuous was devel/mercurial:

PORTVERSION=5.1.2
USES=   cpe python:2.7

Evidently Mercurial versions 5.2 and later support Python 3. The current
stable version is 5.3.2, so the FreeBSD port is a few versions behind for
some reason.

Evidently textproc/asciidoc also still requires Python 2.7.

Though it looks like it's possible to install both Mercurial and Asciidoc
using Python 3's "pip" instead of using FreeBSD ports.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Bob Eager
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Sat, 18 Apr 2020 09:34:39 +0100
Matthew Seaman  wrote:

> There are very few things still in the ports that use python and that
> only work with python-2.7.  So, yes, everything can be upgraded to
> python-3.  Whether that works entirely smoothly is another matter.

Unfortunately, there is one that seems not to be in the process of
upgrade: www/moinmoin.

The upstream news is not good!
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEVgdI2KeVldPAhUYaKBdf2az8e6gFAl6awqQACgkQKBdf2az8
e6hWRQgAthE5Il4yaNgHb0nHL2cKJ0OQuQEAew2hI+Q9JMpyzmoU3p3XlIRM3XSt
xdwXJZ01cY7Jf4Fh4iPqt1U4ySt3cG8IBE8PbESXySfJoc4YFnWGyA4NoPuv+z4E
VLCT0GFsX/7eDitLDnF7/iMpg968HLDDa+2hk6aL7eKwJ7T2evMp45dBE2UCV05R
IIyeRsFHmZirtez/nqJmvC9RG2tXmNDfUZ5iGhAvnaHrwYgWBCaO5e6CxaxQST6B
xeovNCn+LfnPv9n89FK0h7mWOTpW52n94ko2FOp7kYNKcscSRn6NuUKJkQDGv0B+
GqI+yMe6oJh77nL2dNvh990IvIP3/g==
=Ac0r
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-18 Thread Matthew Seaman
On 18/04/2020 03:19, Robert Huff wrote:
>   a) according to the Makefile, is it possible to build this with
>   python-37?  (Or even -36?) 

If the Makefile for the port says:

USES= python:27

then the port is for python-2.7.x only.  All other python ports will
support python-3.x (which practically speaking means python-3.7).  Note
that ports that are python-2.7.x only are now as rare as hen's teeth as
there has been an active program of deleting such.

>   b) will doing so break any port for which this port is a dependency?

There are very few things still in the ports that use python and that
only work with python-2.7.  So, yes, everything can be upgraded to
python-3.  Whether that works entirely smoothly is another matter.

Personally, I just changed my default settings in make.conf to make
python-3.7 the default, and did a full rebuilt of my personal poudriere
repo.  A subsequent `pkg upgrade` replaced most of the python 2.7 bits
installed with python 3.7 equivalents.  I had to delete some python-2.7
ports that were no-longer needed, but on the whole everything pretty
much just worked.  Your milage may vary, so be sure to make use of ZFS
snapshots or even good old backups to make sure you have a way of
un-fubarring your system if it all does go a bit pear-shaped.

Cheers,

Matthew



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-17 Thread Robert Huff


George Mitchell writes:

>  >>  But basically, expect all python 2.x using ports to go away, unless
>  >>  they get fixed to use python 3.x, or no python at all.
>  > 
>  >Is there a method whereby - given a list of installed ports using
>  > python 2 - one might determine which can and which cannot be upgraded
>  > to pythin 3?
>  > [...]
>  
>  There's a heuristic method: run the python program "2to3" on the
>  file you want to asses.  It will try to replace 2.x usages with
>  their 3.x equivalents.  Success is not guaranteed.  (2to3 is part
>  of python27.)-- George

Let me be more precise.
I have a list of 110 installed ports flavored "py27-".
For each port I want to know:

a) according to the Makefile, is it possible to build this with
python-37?  (Or even -36?) 
b) will doing so break any port for which this port is a dependency?

I understand the only way to answer (b) may be by trial-and-error;
fair enough.  But if I can identify all those with no dependants
... that would be a start.


Respectfully,


Robert Huff

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-17 Thread Dima Pasechnik
On Sat, Apr 18, 2020 at 8:20 AM Robert Huff  wrote:
>
>
> Dimitry Andric writes:
>
> >  But basically, expect all python 2.x using ports to go away, unless
> >  they get fixed to use python 3.x, or no python at all.
>
> Is there a method whereby - given a list of installed ports using
> python 2 - one might determine which can and which cannot be upgraded
> to pythin 3?

typically, if a package is Python 2-only, without an upstream effort
to port it to Python 3 already complete, or almost complete,
this means it's a basically a dead project.

Several projects switched to Python 3 quite a while ago, e.g. ipython,
meaning that the Python 2 version has been
lagging behind Python 3 for long time already. (in case of ipython,
Python 2 support stopped at 6.0, and the current ipython,
Python 3 only, is 7.13)

That is, the best way it to check the upstream for updates.

HTH
Dima

>
>
> Respectfully,
>
>
> Robert "110 candidates" Huff
>
>
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-17 Thread George Mitchell
On 2020-04-17 20:19, Robert Huff wrote:
> 
> Dimitry Andric writes:
> 
>>  But basically, expect all python 2.x using ports to go away, unless
>>  they get fixed to use python 3.x, or no python at all.
> 
>   Is there a method whereby - given a list of installed ports using
> python 2 - one might determine which can and which cannot be upgraded
> to pythin 3?
> [...]

There's a heuristic method: run the python program "2to3" on the
file you want to asses.  It will try to replace 2.x usages with
their 3.x equivalents.  Success is not guaranteed.  (2to3 is part
of python27.)-- George



signature.asc
Description: OpenPGP digital signature


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-17 Thread Robert Huff


Dimitry Andric writes:

>  But basically, expect all python 2.x using ports to go away, unless
>  they get fixed to use python 3.x, or no python at all.

Is there a method whereby - given a list of installed ports using
python 2 - one might determine which can and which cannot be upgraded
to pythin 3?


Respectfully,


Robert "110 candidates" Huff


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available

2020-04-17 Thread Dimitry Andric
On 17 Apr 2020, at 14:11, Dewayne Geraghty  wrote:
> 
> Its very confusing building ports at the moment.  At https://www.python.org/
> there is a release candidate for 2.7.18, while our python 2.7 has been
> marked as deprecated with an expiration date.  Can the Expiration Date of
> 2020-12-31 be retracted?
> 
> It appears that devel/scons, at least, requires python 2.7 to run; though
> it builds with 3.7.

See https://www.python.org/dev/peps/pep-0373/; python 2.x is now really
dead, and has been since 2020-01-01.

But it is unfortunately terribly confusing for end-users that they're
apparently still planning on shipping another "really final final"
2.7.18 version. A petition against this bad idea is here:

https://discuss.python.org/t/petition-abandon-plans-to-ship-a-2-7-18-in-april/2946

But basically, expect all python 2.x using ports to go away, unless they
get fixed to use python 3.x, or no python at all.

-Dimitry



signature.asc
Description: Message signed with OpenPGP