[Bug 257131] [NEW PORT] devel/py-cadquery-pywrap: C++ binding generator for Python
Date: Fri, 20 Aug 2021 00:47:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257131
Kubilay Kocak <koobs@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback+ |maintainer-feedback?(ports@
| |nicandneal.net)
--- Comment #4 from Kubilay Kocak <koobs@FreeBSD.org> ---
Thanks for the update Neal
* Hard-coded 'usr/local/' needs to be substituted (LOCALBASE)
sys.path.append("/usr/local/llvmLLVMVER/lib/pythonPYTHONVER/site-packages")
* ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.2:devel/py-Jinja2@${PY_FLAVOR}
If the setup.py from the git hash fetched from upstream matches (uses >= as
well), thats fine. If the source setup.py still says ==, it *must* be patched.
For example the current version of jinja2 in ports is 2.11.2, which does not
satisfy the version spec, and will fail at runtime
* Add 'python' to CATEGORIES
* Remove ",run" from USES=python. The default is build/run, and given .py
files need to be built in order to produce the package, is also a build
dependency.
* The following line looks to need to be made relative, with the hard coded
prefix (/usr/local) removed and replaced with the relevent prefix variable for
other platforms in that file:
Config.set_library_file(Path("/usr") / "local" / "llvm90" / 'lib' /
'libclang.so')
--
You are receiving this mail because:
You are the assignee for the bug.