File: meta.yaml

package info (click to toggle)
python-ocp 7.8.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64,724 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% set OCCT_VER = "7.8.1" %}
{% set OCP_TWEAK = "0" %}

package:
  name: ocp
  version: {{OCCT_VER}}.{{OCP_TWEAK}}

source:
  path: ..

build:
  number: 0
  script:
    {% if not os.path.exists('build') %}
    - cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
    - cmake --build build
    {% endif %}
    - cmake --install build --prefix {{ environ.get('STDLIB_DIR') }}
    - cmake -E copy_directory build/OCP-stubs {{ environ.get('SP_DIR') }}/OCP-stubs

requirements:
  build:
    - python {{ environ.get('PYTHON_VERSION') }}
    - occt={{ OCCT_VER }}=all*
  run:
    - python {{ environ.get('PYTHON_VERSION') }}
    - occt={{ OCCT_VER }}=all*

test:
  imports:
    - OCP
    - OCP.WNT # [win]
    - OCP.Xw # [linux]
    - OCP.Cocoa # [osx]

about:
  summary: Python wrapper for OCCT