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 --- python-daemon/meta.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'python-daemon') diff --git a/python-daemon/meta.yaml b/python-daemon/meta.yaml index a508a74..884191f 100644 --- a/python-daemon/meta.yaml +++ b/python-daemon/meta.yaml @@ -1,12 +1,19 @@ +{% set name = 'python-daemon' %} +{% set version = '2.0.5' %} +{% set number = '0' %} + about: - home: http://bitbucket.org/jhunkeler/python-daemon + home: https://pagure.io/{{name}} license: Apache-2 summary: Library to implement a well-behaved Unix daemon process. + build: - number: '0' + number: {{number}} + package: - name: python-daemon - version: 2.0.5 + name: {{name}} + version: {{version}} + requirements: build: - docutils @@ -15,8 +22,8 @@ requirements: run: - lockfile - python x.x + source: - fn: python-daemon-2.0.5.tar.gz + fn: {{name}}-{{version}}.tar.gz md5: 73e7f49f525c51fa4a995aea4d80de41 - url: - - https://pypi.python.org/packages/source/p/python-daemon/python-daemon-2.0.5.tar.gz + url: https://pypi.python.org/packages/source/p/{{name}}/{{name}}-{{version}}.tar.gz -- 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 --- python-daemon/meta.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'python-daemon') diff --git a/python-daemon/meta.yaml b/python-daemon/meta.yaml index 884191f..ce24ebb 100644 --- a/python-daemon/meta.yaml +++ b/python-daemon/meta.yaml @@ -3,16 +3,16 @@ {% set number = '0' %} about: - home: https://pagure.io/{{name}} + home: https://pagure.io/{{ name }} license: Apache-2 summary: Library to implement a well-behaved Unix daemon process. build: - number: {{number}} + number: {{ number }} package: - name: {{name}} - version: {{version}} + name: {{ name }} + version: {{ version }} requirements: build: @@ -24,6 +24,6 @@ requirements: - python x.x source: - fn: {{name}}-{{version}}.tar.gz + fn: {{ name }}-{{ version }}.tar.gz md5: 73e7f49f525c51fa4a995aea4d80de41 - url: https://pypi.python.org/packages/source/p/{{name}}/{{name}}-{{version}}.tar.gz + url: https://pypi.python.org/packages/source/p/{{ name }}/{{ name }}-{{ version }}.tar.gz -- cgit