pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: url2pkg python package issues



So should url2pkg also adopt this? It's currently putting neither wheel
nor egg for pypi package. If there is a judgment involved in choosing, it
can place a TODO.

Secondly, with wheel.mk I get this:

    ===> Building for pyexpander-2.1.2
    /usr/pkg/bin/python3.12: No module named build
    *** Error code 1

-- 
Mayuresh

On Thu, Nov 02, 2023 at 06:05:05AM +0100, Benny Siegert wrote:
>    There was a recent thread from wiz@ specifying that Python modules should
>    switch to wheel builds:
> 
>    Python modules update: please
>    use wheel.mk                    favicon.ico
>    mail-index.netbsd.org
> 
>      Am 02.11.2023 um 05:25 schrieb Mayuresh <mayuresh%acm.org@localhost>:
> 
>      I am trying to update / upgrade wip/py-expander because its sourceforge
>      URL is not working:
>             => Total size: 3111490 bytes
>             Trying [2606:4700:4400::ac40:9691]:443 ...
>             ftp: Can't connect to `2606:4700:4400::ac40:9691:443': No route
>      to host
>             Trying [2606:4700:4400::6812:256f]:443 ...
>             ftp: Can't connect to `2606:4700:4400::6812:256f:443': No route
>      to host
>             Trying 172.64.150.145:443 ...
>             Requesting
>      https://sourceforge.net/projects/pyexpander/files/pyexpander-2.1.1.tar.gz
>             ftp: Receiving HTTP reply: Input line is too long
>      So I try to use pypi URL and also upgrade to the latest version.
>      On url2pkg-23.2.1 amd64 NetBSD 9.2
>         url2pkg
>      https://files.pythonhosted.org/packages/48/59/97c1d486c52c6d7de3433536ff57563c142b3cb0e6f2ea01cc7b1fd91e89/pyexpander-2.1.2.tar.gz
>      This does not create .include entry for egg.mk
>      Adding this entry manually and running make leads to error:
>         /usr/pkg/bin/python3.12: can't open file
>      '/usr/pkgsrc/work/wip/py-pyexpander/work/pyexpander-2.1.2/setup.py':
>      [Errno 2] No such file or directory
>      Note: I have set default python version to 312.
>      Please advise.
>      --
>      Mayuresh
> ELinks: No running ELinks found.




Home | Main Index | Thread Index | Old Index