Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 00:47:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257131] [NEW PORT] devel/py-cadquery-pywrap: C++ binding generator for Python
Message-ID:  <bug-257131-7788-M2WoG6KBvh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257131-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257131-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257131

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)=20

sys.path.append("/usr/local/llvmLLVMVER/lib/pythonPYTHONVER/site-packages")

 * ${PYTHON_PKGNAMEPREFIX}Jinja2>=3D2.11.2:devel/py-Jinja2@${PY_FLAVOR}

If the setup.py from the git hash fetched from upstream matches (uses >=3D =
as
well), thats fine. If the source setup.py still says =3D=3D, it *must* be p=
atched.
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=3Dpython. 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')

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257131-7788-M2WoG6KBvh>