use jinja2, add tk dependency for win
+{% set name = "netgen" %}
+{% set version = "6.2" %}
+{% set commit = "a1d1df91b7912a7acb9864301cb108b2e01b4882" %}
+{% set sha256 = "6eafb950101e179945fce85ec889756b35593a4fb7fd12025b0080a0ab53135e" %}
+
+
package:
- name: netgen
- version: 6.2
+ name: {{ name }}
+ version: {{ version }}
source:
fn: netgen.tar.gz
- url: https://github.com/NGSolve/netgen/archive/a1d1df91b7912a7acb9864301cb108b2e01b4882.tar.gz
- sha256: 6eafb950101e179945fce85ec889756b35593a4fb7fd12025b0080a0ab53135e
+ url: https://github.com/NGSolve/netgen/archive/{{ commit }}.tar.gz
+ sha256: {{ sha256 }}
patches:
- python.patch
- salome.patch
@@ -29,6 +35,7 @@ requirements:
- pybind11
- xorg-libxmu # [linux]
- libglu # [linux]
+ - tk 8.5 # [win]
run:
- libgcc # [unix]
- vc 14 # [win and py>=35]
@@ -37,6 +44,7 @@ requirements:
- xorg-libxi # [linux]
- xorg-libxmu # [linux]
- libglu # [linux]
+ - tk 8.5 # [win]
test:
imports:
