Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New conda-forge recipe for climlab #2708

Merged
merged 19 commits into from
Apr 7, 2017
Merged
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
12769c2
Add initial climlab recipe
brian-rose Mar 29, 2017
0d78f3c
build from github branch devel
brian-rose Mar 29, 2017
589ec7f
Use numpy x.x so we build against specific versions of numpy.
brian-rose Mar 29, 2017
1c2b936
Add gcc and libgfortran to recipe. Set build number to 1
brian-rose Mar 30, 2017
f93d7bf
Make meta.yaml conform to conda-forge standards. Add toolchain to bui…
brian-rose Mar 30, 2017
638f736
Update meta.yaml for climlab v0.5.2
brian-rose Mar 30, 2017
74f4901
Add gcc and libgfortran to build, libfortran to run. Following scipy …
brian-rose Mar 30, 2017
a41512c
gcc is build requirement only for osx
brian-rose Mar 30, 2017
f8db405
Skip build on Windows. Require gcc, toolchain, libgfortran for osx only
brian-rose Mar 31, 2017
349b2ce
De-lint the selectors to please conda-forge-linter
brian-rose Mar 31, 2017
286b581
Update recipe for climlab v0.5.3
brian-rose Mar 31, 2017
41b1185
Specify Python version 2.7 for build and run
brian-rose Mar 31, 2017
6f543e5
skip build if python is not py2k. Remove redundant libgfortran from b…
brian-rose Apr 1, 2017
5522dff
Update meta.yaml for climlab v0.5.4.dev0 source
brian-rose Apr 4, 2017
2cf647b
Skip build on linux for now
brian-rose Apr 4, 2017
eff24f5
Update recipe for climlab 0.5.4
brian-rose Apr 4, 2017
bd1b4b3
Add yum_requirements.txt following scipy recipe. Might help get linux…
brian-rose Apr 5, 2017
d34d267
New recipe for climlab v0.5.5
brian-rose Apr 5, 2017
82cde3a
Use shorter test suite to avoid timing out on CircleCI
brian-rose Apr 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions recipes/climlab/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "climlab" %}
{% set version = "0.5.3" %}
{% set sha256 = "ecd81c84af291e83cebfacd096cb13e7c6d1fa45401e969900f5934c2dd2fb9f" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
skip: true # [win]
script:
- export LDFLAGS="-undefined dynamic_lookup -bundle" # [osx]
- python setup.py install

requirements:
build:
- python 2.7*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another skip statement above like: # [win or not py2k] instead of pinning the python version here.

- numpy x.x
- toolchain
- gcc
- libgfortran
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc brings libgfortran so there is no need to specify it here. (It is a run time dependency only.)


run:
- python 2.7*
- numpy x.x
- scipy
- netcdf4
- pytest
- libgfortran

test:
requires:
- pytest
imports:
- climlab
commands:
- pytest -v --pyargs climlab

about:
home: https://github.com/brian-rose/climlab
license: MIT
license_family: MIT
license_file: LICENSE
summary: Python package for process-oriented climate modeling
doc_url: http://climlab.readthedocs.io/
dev_url: https://github.com/brian-rose/climlab

extra:
recipe-maintainers:
- brian-rose