change requirements to grafana_api recipe
+{% set name = "grafana_api" %}
+{% set version = "1.0.3" %}
+
package:
- name: grafana_api
- version: 1.0.3
+ name: {{ name|lower }}
+ version: {{ version }}
+
source:
- git_url: https://github.com/m0nhawk/grafana_api.git
- git_rev: 1.0.3
- git_depth: 1 # (Defaults to -1/not shallow)
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: d541ea1a5b7efafa56c5f04053ed42b2d972a6aa313bc4881dd192aeb0706e2e
+
build:
- noarch: python
- number: '0'
+ number: 0
script: "{{ PYTHON }} -m pip install . -vv"
+
requirements:
host:
+ - python >=3.6
- pip
- - python >=3.8
run:
- - python
+ - python >=3.6
- requests
+
test:
+ # Some packages might need a `test/commands` key to check CLI.
+ # List all the packages/modules that `run_test.py` imports.
imports:
- grafana_api
- grafana_api.api
+ requires:
+ - pip
+ commands:
+ - pip check
+
about:
- dev_url: https://m0nhawk.github.io/grafana_api/
- doc_url: https://m0nhawk.github.io/grafana_api/
- home: https://m0nhawk.github.io/grafana_api/
+ home: https://pypi.org/project/grafana-api/
license: MIT
license_family: MIT
- license_file: LICENSE
- summary: Yet another Python library for Grafana API
+ summary: 'Yet another Grafana API library for Python. Support Python 3 only.'
+ doc_url: https://pypi.org/project/grafana-api/#description
+ dev_url: https://m0nhawk.github.io/grafana_api/
+
extra:
- copy_test_source_files: true
- final: true
recipe-maintainers:
-m0nhawk
\ No newline at end of file
