tech-pkg archive

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

Re: Python versions



On Fri, Feb 28, 2025 at 01:11:14PM +0000, Robert Swindells wrote:
> How should Python version requirements get pushed down to package
> dependencies?
> 
> I am trying to build wip/freecad with Python 3.11, it requires
> the devel/py-boost package, the packages required by py-boost are
> getting built against the default Python 3.12.

Set PYTHON_VERSIONS_ACCEPTED and/or PYTHON_VERSIONS_INCOMPATIBLE
_before_ including lang/python/*.mk, and add the dependencies like
this:

DEPENDS+=	 ${PYPKGPREFIX}-boost-[0-9]*:../../devel/py-boost

 Thomas


Home | Main Index | Thread Index | Old Index