Debian Codegraph @

conda.recipe/meta.yaml

raw
1 {% set name = "conda-package-handling" %}
2 {% set version_match = load_file_regex(
3 load_file="src/conda_package_handling/__init__.py",
4 regex_pattern='^__version__ = "(.+)"') %}
5 {% set version = version_match[1] %}
6
7 package:
8 name: {{ name }}
9 version: {{ version }}
10
11 source:
12 - path: ..
13
14 build:
15 number: 0
16 script: {{ PYTHON }} -m pip install . --no-deps -vv
17 entry_points:
18 - cph = conda_package_handling.cli:main
19 # by skipping nooarch: python, tests run under build python
20
21 requirements:
22 host:
23 - python
24 - pip
25 - wheel
26 - flit
27 run:
28 - python
29 - backports.zstd >=1.1.0
30 - conda-package-streaming >=0.13.0
31 - requests
32
33 test:
34 source_files:
35 - tests
36 requires:
37 - mock
38 - bottle
39 - pytest
40 - pytest-cov
41 - pytest-mock
42 imports:
43 - conda_package_handling
44 - conda_package_handling.api
45 commands:
46 - pytest -v --cov=conda_package_handling --color=yes tests/
47
48 about:
49 home: https://github.com/conda/conda-package-handling
50 dev_url: https://github.com/conda/conda-package-handling
51 doc_url: https://conda.github.io/conda-package-handling/
52 license: BSD-3-Clause
53 license_family: BSD
54 license_file: LICENSE
55 summary: Create and extract conda packages of various formats.
56 description: |
57 `conda` and `conda-build` use `conda_package_handling.api` to create and extract
58 conda packages. This package also provides the `cph` command line tool to
59 extract, create, and convert between formats.
60
61 extra:
62 recipe-maintainers:
63 - dholth
64 - jezdez