Use extra args for setuptools
Also overhauled the recipe to match the example and added some more details
+{% set name = "webob" %}
+{% set version = "1.6.2" %}
+{% set sha256 = "e096c20ec672412f7d463fd5ed23f71b9176945c66b8adb8b781b8cda174de84" %}
+
package:
- name: webob
- version: "1.6.2"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: WebOb-1.6.2.tar.gz
- url: https://pypi.python.org/packages/df/40/009a807e85593db8f21ec4d27807a83b6435eed9fd7ef3764d864479b930/WebOb-1.6.2.tar.gz
- md5: cc88bf68d6bf879c2d2145c86b6f5010
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
build:
number: 0
- script: python setup.py install
+ script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
@@ -20,7 +24,6 @@ requirements:
- python
test:
- # Python imports
imports:
- webob
@@ -32,7 +35,12 @@ about:
license: MIT
license_family: MIT
summary: 'WSGI request and response object'
+ description: |
+ WebOb provides objects for HTTP requests and responses. Specifically it does this by wrapping the WSGI request environment and response status/headers/app_iter(body).
+ The request and response objects provide many conveniences for parsing HTTP request and forming HTTP responses. Both objects are read/write: as a result, WebOb is also a nice way to create HTTP requests and parse HTTP responses.
+ doc_url: http://webob.readthedocs.org/
+ dev_url: https://github.com/Pylons/webob/
extra:
recipe-maintainers:
