meta.yaml.in 3.05 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
# This is a copy of the upstream conda recipe for this package
# hosted at github.com/conda-forge/lal-feedstock and licensed
# under the terms of the BSD 3-Clause license.
# This is only for CI purposes, and should not be considered
# production-ready at any time.

{% set name = "lalmetaio" %}
{% set version = "@VERSION@" %}
{% set url = "file://@TARBALL@" %}
{% set sha256 = "@SHA256@" %}

# dependencies
13
{% set lal_version = "7.0.0" %}
14
{% set swig_version = "3.0.9" %}
15
16

package:
Duncan Macleod's avatar
Duncan Macleod committed
17
18
  name: "{{ name }}"
  version: "{{ version }}"
19
20

source:
Duncan Macleod's avatar
Duncan Macleod committed
21
22
  url: "{{ url }}"
  sha256: "{{ sha256 }}"
23
24
25
26
27
28
29
30
31
32
33
34

build:
  number: 9999
  skip: true  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - make
    - pkg-config
    - swig >={{ swig_version }}
  host:
35
    - lal >={{ lal_version }}a0
36
37
    - metaio
  run:
38
    - lal >={{ lal_version }}a0
39
40
41
42
43
44
45
46
47
48
49
50
51
52
    - metaio
test:
  commands:
    - lalmetaio_version --verbose

outputs:
  - name: lalmetaio
    build:
      run_exports:
        - {{ pin_subpackage("lalmetaio", max_pin="x.x") }}

  - name: python-lalmetaio
    script: install-python.sh
    build:
53
54
55
56
57
      error_overdepending: true
      error_overlinking: true
      ignore_run_exports:
        # ignore run_exports from python's recipe
        - python
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    requirements:
      build:
        - {{ compiler('c') }}
        - make
        - pkg-config
        - swig >={{ swig_version }}
      host:
        - {{ pin_subpackage('lalmetaio', exact=True) }}
        - numpy 1.9
        - python
      run:
        - lal
        - {{ pin_subpackage('lalmetaio', exact=True) }}
        - metaio
        - {{ pin_compatible('numpy') }}
        - python
74
        - python-lal >={{ lal_version }}a0
75
    test:
76
77
78
79
80
      requires:
        - mock  # [py<33]
        - pathlib  # [py<34]
        - pytest >=4.0.0a0
      source_files:
81
        - python/Makefile
82
83
        - test/python
      commands:
Duncan Macleod's avatar
Duncan Macleod committed
84
        - python -m pytest -rs -v --junit-xml=junit.xml test/python
85
86
87
      imports:
        - lalmetaio
    about:
Duncan Macleod's avatar
Duncan Macleod committed
88
89
90
      home: "https://wiki.ligo.org/Computing/LALSuite"
      doc_url: "https://lscsoft.docs.ligo.org/lalsuite/lalmetaio/"
      dev_url: "https://git.ligo.org/lscsoft/lalsuite/"
Duncan Macleod's avatar
Duncan Macleod committed
91
      license: "GPL-2.0-or-later"
Duncan Macleod's avatar
Duncan Macleod committed
92
93
94
      license_family: "GPL"
      license_file: "COPYING"
      summary: "LSC Algorithm MetaIO Library"
95
96
97
98
99
      description: |
        The LSC Algorithm MetaIO Library for gravitational wave data analysis.
        This package contains the python bindings.

about:
Duncan Macleod's avatar
Duncan Macleod committed
100
101
102
  home: "https://wiki.ligo.org/Computing/LALSuite"
  doc_url: "https://lscsoft.docs.ligo.org/lalsuite/lalmetaio/"
  dev_url: "https://git.ligo.org/lscsoft/lalsuite/"
Duncan Macleod's avatar
Duncan Macleod committed
103
  license: "GPL-2.0-or-later"
Duncan Macleod's avatar
Duncan Macleod committed
104
105
106
  license_family: "GPL"
  license_file: "COPYING"
  summary: "LSC Algorithm MetaIO Library"
107
108
109
110
111
112
113
114
115
116
117
  description: |
    The LSC Algorithm MetaIO Library for gravitational wave data analysis.
    This package contains the shared-object libraries needed to run
    applications that use the LAL MetaIO library.  If you want to install
    the Python bindings, please install the associated python-lalmetaio
    package.

extra:
  recipe-maintainers:
    - duncanmmacleod
    - skymoo