diff --git a/conda/black/meta.yaml b/conda/black/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a47da8e4cc2c7d0911a1baa1a1a3de1fc8edeb96 --- /dev/null +++ b/conda/black/meta.yaml @@ -0,0 +1,53 @@ +{% set name = "black" %} +{% set version = "18.9b0" %} +{% set sha256 = "e030a9a28f542debc08acceb273f228ac422798e5215ba2a791a6ddeaaca22a5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + fn: {{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" + entry_points: + - black = black:main + +requirements: + host: + - python >=3.6 + - pip + run: + - python >=3.6 + - click >=6.5 + - attrs >=18.1.0 + - appdirs + - toml >=0.9.4 + +test: + commands: + - black --help + +about: + home: https://github.com/ambv/black + license: MIT + license_family: MIT + license_file: LICENSE + summary: 'The Uncompromising Code Formatter' + + description: | + Black is the uncompromising Python code formatter. By using it, you agree + to cease control over minutiae of hand-formatting. In return, Black gives + you speed, determinism, and freedom from pycodestyle nagging about + formatting. You will save time and mental energy for more important matters. + doc_url: https://github.com/ambv/black + dev_url: https://github.com/ambv/black + +extra: + recipe-maintainers: + - sgaist