-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
meta.yaml
114 lines (104 loc) · 3.06 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{% set name = "black" %}
{% set version = "24.10.0" %}
package:
name: {{ name|lower }}-recipe
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875
build:
number: 0
outputs:
- name: {{ name }}
script: build_base.sh
build:
skip: true # [py<36]
entry_points:
- black = black:patched_main
- blackd = blackd:patched_main
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
host:
- python
- pip
- hatchling >=1.8.0
- hatch-vcs
- hatch-fancy-pypi-readme
run:
- python
- click >=8.0.0
- platformdirs >=2
- packaging >=22.0
- tomli >=1.1.0 # [py<311]
- pathspec >=0.9
- typing_extensions >=4.0.1 # [py<311]
- mypy_extensions >=0.4.3
test:
requires:
- pip
commands:
- black --help
- pip check
- which blackd || where blackd
- name: {{ name }}d
build:
noarch: python
# Skip this package for cross-builds. We will only need a single upload anyways
skip: true # [not linux64]
requirements:
run:
- {{ pin_subpackage('black', max_pin='x.x.x') }}
- aiohttp >=3.10
test:
commands:
- black --help
- blackd --help
- name: {{ name }}-colorama
build:
noarch: python
# Skip this package for cross-builds. We will only need a single upload anyways
skip: true # [not linux64]
requirements:
run:
- {{ pin_subpackage('black', max_pin='x.x.x') }}
- colorama >=0.4.3
test:
commands:
- black --help
- name: {{ name }}-jupyter
build:
noarch: python
# Skip this package for cross-builds. We will only need a single upload anyways
skip: true # [not linux64]
requirements:
run:
- {{ pin_subpackage('black', max_pin='x.x.x') }}
- ipython >=7.8.0
- tokenize-rt >=3.2.0
test:
commands:
- black --help
- python -c "import black.handle_ipynb_magics; assert black.handle_ipynb_magics.jupyter_dependencies_are_installed(warn=True) == True"
about:
home: https://github.com/psf/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://black.readthedocs.io/
dev_url: https://github.com/psf/black
extra:
recipe-maintainers:
- raybellwaves
- seanlaw
- carlodri
- ambv
- mariusvniekerk
- xhochy