Corrected licence, added tests to meta-package, and removed some
selectors, for the main script and for py2k for subpackages
which could be built with python 2 (as they are python agnostic).
Also some tidying up of selector spacing, to help linter.
@@ -20,7 +20,6 @@ source:
- patch_apple_target_lib.txt
build:
- skip: True # [win or py2k]
number: {{ build }}
string: "{{processor}}_h{{ PKG_HASH }}_{{ build }}"
@@ -28,13 +27,23 @@ outputs:
- name: prismatic
build:
number: {{ build }}
- skip: True # [win or py2k]
+ skip: True # [win]
string: "{{processor}}_h{{ PKG_HASH }}_{{ build }}"
requirements:
run:
- {{ pin_subpackage('prismatic_cli', exact=True) }}
- {{ pin_subpackage('prismatic_gui', exact=True) }}
- {{ pin_subpackage('pyprismatic', exact=True) }} # [not osx]
+ test:
+ source_files:
+ - SI100.XYZ
+ commands:
+ - prismatic -i SI100.XYZ
+ - command -v prismatic-gui # [linux]
+ - test -f $PREFIX/Applications/prismatic-gui.app/Contents/MacOS/prismatic-gui # [osx]
+ - python -c "import pyprismatic; pyprismatic.demo()" # [not osx]
+
+
- name: prismatic_cli
build:
@@ -98,7 +107,7 @@ outputs:
- boost
- hdf5
- fftw
- - qt 5.9.*
+ - qt
- h5py
- zlib
run:
@@ -136,7 +145,7 @@ outputs:
- boost
- hdf5
- fftw
- - qt 5.9.*
+ - qt
- h5py
- zlib
run:
@@ -151,7 +160,7 @@ outputs:
about:
home: http://prism-em.com/
- license: GNU
+ license: GPL-3.0-only
license_file: LICENSE
summary: 'CPU / GPU software for fast simulation of Scanning Transmission Electron Microscopy (STEM) experiments'
description: |
