Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add conda-oci-mirror #22555

Merged
merged 2 commits into from
Apr 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions recipes/conda-oci-mirror/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

{% set name = "conda-oci-mirror" %}
{% set version = "0.1.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/channel-mirrors/conda-oci-mirror/archive/v{{ version }}.tar.gz
sha256: 64a5040227a8cef887ee6add3f634149de8322e9d890ba41fe13ac46c4b83795


build:
script: {{ PYTHON }} -m pip install . -vv
number: 0
noarch: python

requirements:
host:
- python >=3.7
- pip
run:
- python >=3.7
- click
- requests
- oras-py 0.1.14
- conda-package-handling

test:
imports:
- conda_oci_mirror
- conda_oci_mirror.mirror
- conda_oci_mirror.repo
requires:
- pip
commands:
- pip check
- conda-oci --help

about:
home: https://github.com/channel-mirrors/conda-oci-mirror
summary: 'Tools to mirror conda packages to an OCI registry'
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- jaimergp
- wolfv