tech-pkg archive

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

Re: url2pkg and pypi



30.12.2021 17:17:14 Benny Siegert <bsiegert%gmail.com@localhost>:
> On Tue, 28 Dec 2021, Greg Troxel wrote:
>
>> It would be really nice if url2pkg, when given a pypi download url, or a
>> pypi page, or something, would
>>
>> - set up the package as a python package
>> - add dependencies automatically from setup.py
>
> In my admittedly limited experience, it does that? It does not do the PYPKGPREFIX dance, but it does pull in dependencies from setup.py, and it does add a lang/python/egg.mk include.

It doesn't do PYPKGPREFIX? It should, at least the function adjust_python_module in url2pkg.py refers to that pkgsrc variable.

Could you give an example of a package that is not handled as expected, and describe how the generated package should look instead?


Home | Main Index | Thread Index | Old Index