Bug 248202 - New port: cad/py-ocp - Python wrapping for OCCT library.
Summary: New port: cad/py-ocp - Python wrapping for OCCT library.
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Loïc Bartoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 13:14 UTC by Neal Nelson
Modified: 2020-07-30 07:07 UTC (History)
1 user (show)

See Also:


Attachments
The new port (7.42 KB, patch)
2020-07-23 13:14 UTC, Neal Nelson
no flags Details | Diff
New port Mk2 (7.41 KB, patch)
2020-07-30 07:07 UTC, Neal Nelson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Nelson 2020-07-23 13:14:15 UTC
Created attachment 216699 [details]
The new port

This port is a Python library wrapping OpenCascade (OCCT), primarily for use by CadQuery (port to follow).

It is generated from files generated by the release. As such they are not strictly part of the release itself, which is why it was necessary not to use the GH_ functionality, as that only seems to be able to fetch the release file of the expected name, not any other files associated with the release.

I am working on another version of the port that will generate these files itself simply from the release, but this is proving difficult so may take some time, or even be beyond my abilities, so it makes sense to add this port now so that CadQuery can be used.
Comment 1 Loïc Bartoletti freebsd_committer 2020-07-30 05:56:54 UTC
Hello,

Thanks for your submission, some comments about this port:

- it doens't build on i386 (12 and 13 logs: https://people.freebsd.org/~lbartoletti/logs/py-ocp/) are you able to take a look?
- There are lint errors and warnings (`portlint -Nabt`), can you fix it please?

> as that only seems to be able to fetch the release file of the expected name
Can you open an issue upstream?

Thank you.
Comment 2 Neal Nelson 2020-07-30 07:07:49 UTC
Created attachment 216876 [details]
New port Mk2

I failed initially to fix the portlint problems as everything I did based on it's errors just made it worse. What it was really saying is that it doesn't want blank lines between the DEPENDS sections, which I put there for clarity.