using jinja variables
+{% set name = "pysolr" %}
+{% set version = "3.6.0" %}
+
package:
- name: pysolr
- version: "3.6.0"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: pysolr-3.6.0.tar.gz
- url: https://pypi.python.org/packages/47/d6/91dd269b4443c77905ac5f347318435bfeaa2825ce2763d936e0945f29e4/pysolr-3.6.0.tar.gz
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: 9ccd0f8450d84a32fee9301aa97de506
build:
@@ -15,9 +18,6 @@ requirements:
build:
- python
- setuptools
- - requests >=2.9.1
- - simplejson
-
run:
- python
- requests >=2.9.1
