Thursday, July 04, 2024

Re: 回复: shall we create new port lang/cython3 ?

On Thu 04/07/2024 15:54, Stuart Henderson wrote:
> On 2024/06/30 14:53, Stuart Henderson wrote:
> > On 2024/06/28 18:44, Daniel Dickman wrote:
> > > > These use python 2 and fail with cython 3:
> > > >
> > > > games/pygame_sdl2
> > > > games/renpy
> > >
> > > please mark these as BROKEN
> > >
> > > > The following ports didn't build and I don't have diffs to fix/update
> > > > them. If anyone wants to push this forward then figuring out how to patch
> > > > or update these would be helpful:
> > > >
> > > > math/mlpack ?
> > > > math/py-h5py,python3 3.11.0 supports newer cython, but needs newer numpy
> > > > math/py-pandas,python3 ?
> > > > math/py-scikit-image,python3 0.22.0/newer, need newer numpy (0.22.0: 1.23.3, 0.23.x: 2.x)
> > > > math/py-scipy,python3 ?
> > >
> > > please mark the above as BROKEN for now.
> > >
> > > I use scipy and pandas so will be motivated to fix once we have Cython
> > > 3 in the tree.
>
> Here's the diff that I have doing the above, maintainers of touched ports CC'd.
> Alternatively for mlpack, there's an update which works with new cython at
> https://junkpile.org/mlpack-4.4.0.diff but I have no idea how to test it.
>
> games/pygame_sdl2/Makefile | 7 ++
> games/renpy/Makefile | 2
> geo/py-fiona/Makefile | 8 +--
> geo/py-fiona/distinfo | 4 -
> geo/py-fiona/pkg/PLIST | 20 ++-----
> geo/py-proj/Makefile | 3 -
> geo/py-proj/distinfo | 4 -
> geo/py-rasterio/Makefile | 3 -
> geo/py-rasterio/distinfo | 4 -
> geo/py-rasterio/pkg/PLIST | 3 -
> lang/cython/Makefile | 3 -
> lang/cython/distinfo | 4 -
> lang/cython/pkg/PLIST | 111 +++++++++++++++++++++++++-----------------
> math/mlpack/Makefile | 2
> math/py-h5py/Makefile | 2
> math/py-pandas/Makefile | 2
> math/py-scikit-image/Makefile | 2
> math/py-scipy/Makefile | 2
> net/py-msgpack/Makefile | 3 -
> net/py-msgpack/distinfo | 4 -
> textproc/py-yaml/Makefile | 16 ++----
> textproc/py-yaml/distinfo | 4 -
> 22 files changed, 119 insertions(+), 94 deletions(-)

OK for net/py-msgpack

No comments:

Post a Comment