Sunday, December 27, 2020

Re: convert 70 ports to python3-only

On Sun, 27 Dec 2020, Bjorn Ketelaars wrote:

> On Sun 27/12/2020 08:42, Bjorn Ketelaars wrote:
> > On Sat 26/12/2020 17:39, Daniel Dickman wrote:
> > > The attached diff does a mechanical conversion of 70 ports to make them
> > > python3-only.
> > >
> > > The ports selected were ones where:
> > > - nothing depends on them (although it's possible there are some TDEPs)
> > > - they already have python2 and python3 FLAVORs
> > >
> > > ok? (quirks and top-level Makefile diff not shown here)
> >
> > I checked the ports with 'show-reverse-deps'. One hit: www/py-bottle is
> > a RDEP for sysutils/glances, which is already py3-only. So no harm here.
>

Thanks! My tree was a bit old and sysutils/glances looks like a recent
import so I missed that one.

> Correction: I thought that show-reverse-deps also included test
> dependencies...which it does but only after applying the '-t' option. Of
> course I forgot about this options: The list of ports that require
> attention:
>
> textproc/py-demjson

I don't think this one is true. Is it showing up because py-demjson
depends on itself as a TDEP?

In any case, here's a new iteration of the diff for 16 of the original 70
ports instead. The new diff is for ports:
- with no MAINTAINER
- no TDEPs

I've also hand-edited demjson to get rid of the check for matching on the
python3 FLAVOR (although to be honest I was planning to do a sweep of
those separately, but I guess it's fine to include here)

databases/py-flask-sqlalchemy
databases/py-ldap3
databases/py-odbc
databases/py-peewee
databases/py-sqlobject
devel/py-mox3
devel/py-simplegeneric
devel/py-uncompyle6
net/py-paho-mqtt
sysutils/py-parallel-ssh
sysutils/py-statgrab
textproc/py-demjson
textproc/py-sphinx-intl
www/py-meld3
www/py-uritemplate
x11/py-virtualdisplay

No comments:

Post a Comment