Re: USES=python3.10+ and RUN_DEPENDS
- Reply: Lexi Winter : "Re: USES=python3.10+ and RUN_DEPENDS"
- In reply to: Lexi Winter : "Re: USES=python3.10+ and RUN_DEPENDS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 20:04:20 UTC
> On Jan 21, 2024, at 8:55 PM, Lexi Winter <lexi@le-fay.org> wrote:
>
> Moin Rahman:
>> On Jan 21, 2024, at 8:26 PM, Lexi Winter <lexi@le-fay.org> wrote:
>>> i'm trying to port an application that requires Python 3.10+ or later,
>>> while the default Python is still 3.9.
>>
>> .if ${PYTHON_REL} < 31000
>> IGNORE= Does not support python 3.9 or earler
>> .endif
>
> thanks Moin,
>
> if i could ask a couple more questions:
>
> - does this mean this port won't be built by the pkg.freebsd.org
> builder?
By default this will not be built in that case. If you want to build
for python 3.10 you have to add USE_PYTHON=allflavors
> - what is the correct way to testport the port before committing it?
> DEFAULT_VERSIONS+=python=3.10?
If you have USE_PYTHON=allflavors in the port then you can test with
poudriere bulk -t and it will test all available flavors. In case you
want to test with only py310 you should test like following:
poudriere testport -j <JAIL> -p <PORT? -z <SET> -o <CATEGORY>/<PORT>@py310
> thanks, lw.