Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2020 19:06:15 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available
Message-ID:  <20200418090615.jl25cg3jhzcdrkcb@ozzmosis.com>
In-Reply-To: <bb862ff4-33f2-f5af-450a-72a33105759e@FreeBSD.org>
References:  <CAGnMC6rNeUT2wQ=DsrvkNtVz_SGqfKA8Yh=1rbeMS8XtxB3naw@mail.gmail.com> <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org> <b16f5e5c-5283-9a14-b738-eff635c14109@m5p.com> <24218.25496.502886.46431@jerusalem.litteratus.org> <bb862ff4-33f2-f5af-450a-72a33105759e@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-18 09:34:39, Matthew Seaman (matthew@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200418090615.jl25cg3jhzcdrkcb>