From 4fe08aedce73669d3225c8bbe8dbecc108d91133 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 29 Nov 2016 20:40:40 -0500 Subject: Improve recipe uniformity --- asdf-standard/meta.yaml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'asdf-standard') diff --git a/asdf-standard/meta.yaml b/asdf-standard/meta.yaml index d1ae506..afa00ef 100644 --- a/asdf-standard/meta.yaml +++ b/asdf-standard/meta.yaml @@ -1,12 +1,20 @@ +{% set name = 'asdf-standard' %} +{% set version = '1.0.0' %} +{% set tag = 'v' + version %} +{% set number = '0' %} + about: - home: https://github.com/spacetelescope/asdf-standard + home: https://github.com/spacetelescope/{{name}} license: BSD - summary: asdf-standard + summary: Standards reference for ASDF + build: - number: '0' + number: {{number}} + package: - name: asdf-standard - version: 1.0.0 + name: {{name}} + version: {{version}} + requirements: build: - sphinx @@ -21,6 +29,7 @@ requirements: - astropy >=1.1 - setuptools - python x.x + source: - git_tag: v1.0.0 - git_url: https://github.com/spacetelescope/asdf-standard + git_tag: {{tag}} + git_url: https://github.com/spacetelescope/{{name}}.git -- cgit From f5f2cdfa9b94ae96f2c312758cdb87dcf74b2c4d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 6 Dec 2016 13:54:28 -0500 Subject: Revert spaces around jinja2 variables --- asdf-standard/meta.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'asdf-standard') diff --git a/asdf-standard/meta.yaml b/asdf-standard/meta.yaml index afa00ef..cffd172 100644 --- a/asdf-standard/meta.yaml +++ b/asdf-standard/meta.yaml @@ -4,16 +4,16 @@ {% set number = '0' %} about: - home: https://github.com/spacetelescope/{{name}} + home: https://github.com/spacetelescope/{{ name }} license: BSD summary: Standards reference for ASDF build: - number: {{number}} + number: {{ number }} package: - name: {{name}} - version: {{version}} + name: {{ name }} + version: {{ version }} requirements: build: @@ -31,5 +31,5 @@ requirements: - python x.x source: - git_tag: {{tag}} - git_url: https://github.com/spacetelescope/{{name}}.git + git_tag: {{ tag }} + git_url: https://github.com/spacetelescope/{{ name }}.git -- cgit