On Sun, Sep 20, 2020 at 07:09:43PM +0200, Klemens Nanni wrote:
> I looked at x11/py-qt5 as user of the Python 2 flavour and came up with
> editors/py-qscintilla as user of py-qt5's Python 2 flavour.
>
> `show-reverse-deps editors/py-qscintilla' lists geo/qgis as only user
> and qgis is Python 3 only, so we can make py-qscintilla Python 3 only
> as well - first step towards py-qt5 becoming Python 3 only.
>
> I tested the following diff with
>
> $ cd /usr/ports
> $ make -C devel/quirks package
> ...
> $ make -C editors/py-qscintilla package
> ...
> $ doas pkg_add py-qscintilla
> py-qscintilla-2.11.4p2: ok
> $ doas pkg_add -Dunsigned ./packages/`arch -s`/all/quirks-3.437.tgz
> quirks-3.435->3.437: ok
> $ doas pkg_add -Dunsigned ./packages/`arch
> -s`/all/py3-qscintilla-2.11.4p3.tgz
> py-qscintilla-2.11.4p2->py3-qscintilla-2.11.4p3: ok
> Read shared items: ok
I now see that the -common subpackage hardcodes the "py-" prefix even
though it uses Python 3; I can fix this in a separate diff.