-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
meta.yaml
59 lines (52 loc) · 1.39 KB
/
meta.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% set name = "hkl" %}
{% set version = "5.0.0.3501" %}
{% set repo_tag = "v1.2.2" %}
{% set tarball = "libhkl-v5.0.0.3501-x86_64.tar.gz" %}
{% set tarball_sha256 = "8eb63eaf91d7551405876c6938ec94282f9945b763b327f393176692bc6df5da" %}
{% set license = "COPYING" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/bluesky/libhkl/releases/download/{{ repo_tag }}/{{ tarball }}
sha256: {{ tarball_sha256 }}
build:
number: 0
skip: True # [py<36 or win or osx]
requirements:
host:
- gobject-introspection
- gsl =2.6
- libcblas
- pygobject
- python
run:
- python
- gobject-introspection
- gsl =2.6
- libcblas
- numpy
- pygobject
test:
commands:
- ls -lAFgh ${PREFIX}/lib/libhkl.*
- test -f ${PREFIX}/lib/libhkl.so
- echo "references these dynamic libraries"
- ldd ${PREFIX}/lib/libhkl.so
- test ! -f ${PREFIX}/lib/libhkl.a
- echo "libhkl test starting"
- ls -lAFgh ${SRC_DIR}
- test -f ${RECIPE_DIR}/try_libhkl.py
- python ${RECIPE_DIR}/try_libhkl.py
- echo "libhkl test finished"
about:
home: http://repo.or.cz/w/hkl.git
license: GPL-3.0-or-later
license_file: COPYING
summary: Diffractometer computation library
doc_url: https://people.debian.org/~picca/hkl/hkl.html
dev_url: http://repo.or.cz/w/hkl.git
extra:
recipe-maintainers:
- mrakitin
- prjemian