diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2016-04-02 19:25:09 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2016-04-19 11:17:27 -0400 |
commit | 2ff7bbe733c9837a13a0762bb8a48e04de9e296d (patch) | |
tree | 1b8be48d6c3b71fd7c0d679d3301ab10d20e6d47 /cbc_test_package | |
parent | 4b8dfd8d91499caf0df1182fd010c946f4a01773 (diff) | |
download | astroconda-dev-2ff7bbe733c9837a13a0762bb8a48e04de9e296d.tar.gz |
Incorporate jinja2 usage
Diffstat (limited to 'cbc_test_package')
-rw-r--r-- | cbc_test_package/meta.yaml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/cbc_test_package/meta.yaml b/cbc_test_package/meta.yaml index a88fbf6..ad16789 100644 --- a/cbc_test_package/meta.yaml +++ b/cbc_test_package/meta.yaml @@ -1,12 +1,16 @@ +{% set name = 'cbc_test_package' %} +{% set version = '1.0.0' %} +{% set number = '0' %} + about: home: http://example.com/cbc_test_package license: GPL summary: cbc_test_package is a test package build: - number: '0' + number: {{ number }} package: - name: cbc_test_package - version: 1.0.0 + name: {{ name }} + version: {{ version }} requirements: build: - setuptools @@ -14,9 +18,9 @@ requirements: run: - python x.x source: - fn: cbc_test_package-1.0.0.tar.gz + fn: {{ name }}-{{ version }}.tar.gz url: - - https://bitbucket.org/jhunkeler/cbc-recipes/downloads/cbc_test_package-1.0.0.tar.gz + - https://bitbucket.org/jhunkeler/cbc-recipes/downloads/{{ name }}-{{ version }}.tar.gz test: imports: - cbc_test_package |