Bug 248202 - New port: cad/py-ocp - Python wrapping for OCCT library.
Summary: New port: cad/py-ocp - Python wrapping for OCCT library.
Status: Closed FIXED
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-08-16 12:56 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 freebsd_triage 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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-08-16 12:54:00 UTC
A commit references this bug:

Author: swills
Date: Sun Aug 16 12:53:48 UTC 2020
New revision: 545103
URL: https://svnweb.freebsd.org/changeset/ports/545103

Log:
  cad/py-ocp: create port

  OCP is a Python wrapper for OCCT (OpenCascade) generated using pywrap
  primarily used by CadQuery.

  WWW: https://github.com/CadQuery/OCP

  PR:		248202
  Submitted by:	Neal Nelson <ports@nicandneal.net>

Changes:
  head/cad/py-ocp/
  head/cad/py-ocp/Makefile
  head/cad/py-ocp/distinfo
  head/cad/py-ocp/files/
  head/cad/py-ocp/files/patch-FindOpenCascade.cmake
  head/cad/py-ocp/files/patch-OCCT_OpenGl__HaltonSampler.hxx
  head/cad/py-ocp/files/patch-Standard.cpp
  head/cad/py-ocp/pkg-descr
Comment 4 Steve Wills freebsd_committer freebsd_triage 2020-08-16 12:56:14 UTC
Committed, thanks!