From 6bffea710df64bbfe07280b38c292dc5d3af47b5 Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Tue, 8 Jan 2019 09:32:58 +0100
Subject: [PATCH] [black] Add recipe

Based on conda forge
---
 conda/black/meta.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 conda/black/meta.yaml

diff --git a/conda/black/meta.yaml b/conda/black/meta.yaml
new file mode 100644
index 00000000..a47da8e4
--- /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
-- 
GitLab