python version issue
Gary Aitken
freebsd at dreamchaser.org
Sun May 24 16:35:14 UTC 2020
I'm trying to build a development version of a port (FreeCAD). All
of my current ports were installed using packages, and the installed
versions of python are 2.7 and 3.7.
The Makefile for the standard freecad port (cad/freecad) specifies:
USES= ... python:3.6 ...
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyside2-tools>0:devel/pyside2-tools@${PY_FLAVOR}
It's my understanding that a 3.6 usage should be upward compatible
with a 3.7 version, so I changed the USES statement to python:3.7.
Unfortunately, the BUILD_DEPENDS causes problems:
make DISABLE_VULNERABILITIES=yes build
===> FreeCAD-8.d821.f5.f depends on package: py37-pyside2-tools>0 - not found
===> py37-pyside2-tools-5.12.1 Unknown flavor 'py37', possible flavors: py27
py36..
I see there is a devel/pyside2-tools, so I suspect I somehow need to
set some environment variables to get it to generate a
py37-pyside2-tools? Why is py37 not an available flavor, with version
3.7 already installed?
Gary
More information about the freebsd-questions
mailing list