Skip to content
Snippets Groups Projects
Commit 6bffea71 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[black] Add recipe

Based on conda forge
parent 669936e8
Branches
No related tags found
1 merge request!392Add recipe for black for python
Pipeline #25716 passed
{% 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment