Use grayskull
-{% set version = "0.10.0.post3" %}
{% set name = "sanic-cors" %}
+{% set version = "0.10.0.post3" %}
+
package:
- name: {{ name }}
+ name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/Sanic-Cors-{{ version }}.tar.gz
- sha256: b919d65643de810ed1ed15657b8bc75c310fa1ac8eb491d59deaa9404756b745
+ sha256: abb0f8b17d2ecb12d62ecac42ca62bfed9b07fd00ffd83219ad23b99d4df3f23
build:
number: 0
- script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
- skip: true # [py<36]
+ noarch: python
+ script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- - python
- pip
-
+ - python
run:
- python
- sanic >=18.12.0
@@ -27,10 +27,14 @@ requirements:
test:
imports:
- sanic_cors
+ commands:
+ - pip check
+ requires:
+ - pip
about:
home: https://github.com/ashleysommer/sanic-cors
- summary: A Sanic extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible
+ summary: A Sanic extension adding a decorator for CORS support. Based on flask-cors by Cory Dolphin.
license: MIT
license_file: LICENSE
