regenerate recipe and use GH tarball
{% set name = "pyqg" %}
{% set version = "0.3.0" %}
+
package:
name: {{ name|lower }}
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: 719d7634da033b675431983dde1615f2af702ecf62f61e118584692cfd70210d
+ url: https://github.com/pyqg/pyqg/archive/v{{ version }}.tar.gz
+ sha256: c8b4a138ead7ad3b4966e91926ccaee3623dc078e697866cbe0b72116e3d687c
build:
number: 0
- script: "{{ PYTHON }} -m pip install . -vv"
+ script: {{ PYTHON }} -m pip install . -vv
requirements:
build:
- - pyfftw
- - cython
- {{ compiler('c') }}
host:
- - pyfftw
- python
- pip
+ - cython
+ - numpy
+ - pyfftw
run:
- python
+ - pyfftw
+ - {{ pin_compatible('numpy') }}
test:
imports:
- pyqg
- pyqg.kernel
+ # Cannot run pip check there is a bogus dependency on cython at runtime.s
+ # commands:
+ # - pip check
+ # requires:
+ # - pip
about:
home: https://github.com/pyqg/pyqg
+ summary: python quasigeostrophic model
license: MIT
license_family: MIT
license_file: LICENSE
- summary: 'Python quasigeostrophic model'
- # The remaining entries in this section are optional, but recommended.
description: |
Pyqg is a python solver for quasigeostrophic systems. Quasigeostophic
equations are an approximation to the full fluid equations of motion in
@@ -47,7 +54,5 @@ about:
extra:
recipe-maintainers:
- # GitHub IDs for maintainers of the recipe.
- # Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!)
- rabernat
- mfjansen
