Bringing up to speed with conda-forge compliance.
Added jinja templating for name and version.
Used pypi.io form of url.
Added compilers.
Properly build against numpy.
Updated license and license_family.
+{% set name = "pdspy" %}
+{% set version = "1.5.0" %}
+
package:
- name: pdspy
- version: "1.5.0"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- url: https://files.pythonhosted.org/packages/ee/b0/3e834fb25a597ef12a9764b92ee1c5cf6e1d4897805c9c1346ac0f70dfbf/pdspy-1.5.0.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 94d68282132f0272ef41fa4da84eebbf859ead2f3cb407223feeb9f2d1a7a247
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv --no-deps"
+ skip: True # [win]
requirements:
+ build:
+ - {{ compiler('c') }}
+ - {{ compiler('fortran') }}
host:
- python
- setuptools
- numpy
- - Cython
+ - cython
- pip
run:
- python
- - numpy
+ - {{ pin_compatible('numpy') }}
- scipy
- matplotlib
- astropy
@@ -37,8 +44,8 @@ test:
about:
home: https://github.com/psheehan/pdspy
- license: GPL-2.0-or-later
- license_family: GPL3
+ license: GPL-3.0
+ license_family: GPL
license_file: LICENSE
summary: 'Radiative transfer modeling of protoplanetary disks'
