| 1 |
{% set name = "conda-package-streaming" %} |
| 2 |
{% set version_match = load_file_regex( |
| 3 |
load_file="conda_package_streaming/__init__.py", |
| 4 |
regex_pattern='^__version__ = "(.+)"') %} |
| 5 |
{% set version = version_match[1] %} |
| 6 |
|
| 7 |
package: |
| 8 |
name: {{ name|lower }} |
| 9 |
version: {{ version }} |
| 10 |
|
| 11 |
source: |
| 12 |
git_url: ../ |
| 13 |
# url: https://github.com/conda/conda-package-streaming/archive/refs/tags/v{{ version }}.tar.gz |
| 14 |
# sha256: 60a064dcb6adf775362339ffc8728320d89115c0f3870f2bb43fd368240a3205 |
| 15 |
|
| 16 |
build: |
| 17 |
script: {{ PYTHON }} -m pip install --no-build-isolation . -vv |
| 18 |
number: 0 |
| 19 |
noarch: python |
| 20 |
|
| 21 |
requirements: |
| 22 |
host: |
| 23 |
- flit-core |
| 24 |
- python >=3.10 |
| 25 |
- pip |
| 26 |
run: |
| 27 |
- backports.zstd |
| 28 |
- python >=3.10 |
| 29 |
# allow optional 'requests' |
| 30 |
|
| 31 |
test: |
| 32 |
imports: |
| 33 |
- conda_package_streaming.url |
| 34 |
commands: |
| 35 |
- pip check |
| 36 |
requires: |
| 37 |
- pip |
| 38 |
- requests |
| 39 |
|
| 40 |
about: |
| 41 |
home: https://github.com/conda/conda-package-streaming |
| 42 |
summary: An efficient library to read from new and old format .conda and .tar.bz2 conda packages. |
| 43 |
license: BSD-3-Clause |
| 44 |
license_family: BSD |
| 45 |
license_file: LICENSE |
| 46 |
doc_url: https://conda.github.io/conda-package-streaming/ |
| 47 |
dev_url: https://github.com/conda/conda-package-streaming |
| 48 |
|
| 49 |
extra: |
| 50 |
recipe-maintainers: |
| 51 |
- dholth |