Use same vars as upstream
{% set name = "ocp" %}
{% set version = "7.5.3" %}
-{% set release_version = "7.5.3.0" %}
+{% set occt_ver = "7.5.3" %}
+{% set ocp_tweak = "0" %}
package:
name: {{ name }}
@@ -8,17 +9,20 @@ package:
source:
# currently only used for the license file
- - url: https://github.com/CadQuery/OCP/archive/refs/tags/{{ release_version }}.tar.gz
+ - url: https://github.com/CadQuery/OCP/archive/refs/tags/{{ occt_ver }}.{{ ocp_tweak }}.tar.gz
folder: ocp
md5: 15c6c85c616462d5b70356549a6446f1
- # temporarily use personal fork until CadQuery/OCP includes source releases
- - url: "https://github.com/CadQuery/OCP/releases/download/{{ release_version }}/OCP_src_windows-2019.zip" # [win]
+ # binding sources
+ - url: "https://github.com/CadQuery/OCP/releases/download/{{ occt_ver }}.{{ ocp_tweak }}/OCP_src_windows-2019.zip" # [win]
md5: ffc3f7da4f9369abc53dc6c744f03a1c # [win]
- - url: "https://github.com/CadQuery/OCP/releases/download/{{ release_version }}/OCP_src_macOS-10.15.zip" # [osx]
+ folder : src # [win]
+ - url: "https://github.com/CadQuery/OCP/releases/download/{{ occt_ver }}.{{ ocp_tweak }}/OCP_src_macOS-10.15.zip" # [osx]
md5: 603735efa2341256a9e5c17e45cecf03 # [osx]
- - url: "https://github.com/CadQuery/OCP/releases/download/{{ release_version }}/OCP_src_Ubuntu-18.04.zip" # [linux]
+ folder : src # [osx]
+ - url: "https://github.com/CadQuery/OCP/releases/download/{{ occt_ver }}.{{ ocp_tweak }}/OCP_src_Ubuntu-18.04.zip" # [linux]
md5: 4cd6a03a5c4f52fff7369829d62c53fe # [linux]
+ folder : src # [linux]
build:
number: 0
@@ -37,7 +41,7 @@ requirements:
- python
- pybind11
- pybind11-abi
- - occt 7.5.3
+ - occt {{ occt_ver }}
- vtk
run:
- python
