Summary: | dev-python/pybind11-2.4.3 should install cmake config files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zerochaos |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/15191 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 622726 | ||
Attachments: |
emerge-info-pybind11-2.4.3.txt
pybind11-2.4.3.ebuild pybind11-2.4.3-r1.ebuild |
Description
Bernd
2020-01-22 07:47:53 UTC
Created attachment 603934 [details]
emerge-info-pybind11-2.4.3.txt
output of emerge --info =pybind11-2.4.3
Created attachment 605898 [details]
pybind11-2.4.3.ebuild
I've tried to set up an ebuild using distutils-r1 and cmake for the task. The test USE flag doesn't work for now with this version, because it needs scipy with python 3.{7,8} support, which I didn't get to build successfully, so I kept it commented for now.
Also, I found the headers are not needed to be installed for every python installation seperately, but only once directly into /usr/include. The setup.py file has an option for this and the cmake file will take care of installing the headers appropriately.
I've tested it against my freecad-0.18.4.ebuild, which needs pybind11 and it seems to work. Feel free to comment on it, use it or parts of it like you wish, or ping me back, if it's ok for you, if I open a PR with this ebuild.
Thank you!
Also please note, the attached ebuild uses the download from upstream github download area, instead of the file downloaded from pypi. The two tar balls differ, but the tar ball from the current version is still cached in the mirrors... Created attachment 627672 [details]
pybind11-2.4.3-r1.ebuild
Clean up code, remove test completely for now.
Needs USE masking on doc USE flag for powerpc/ppc32 and arm64.
(In reply to Bernd from comment #3) > Also please note, the attached ebuild uses the download from upstream github > download area, instead of the file downloaded from pypi. The two tar balls > differ, but the tar ball from the current version is still cached in the > mirrors... Thx for the hint. Finally I got all the dependencies solved to successfully build FreeCAD. Great work. @pi the ebuild is also in my overlay ::waebbl, together with a working FreeCAD ebuild fixed in 2.5.0, thanks! |