From 2125c6c5303d6b51154ab14d3dee83783ce151a1 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Tue, 28 Feb 2017 15:08:12 -0500 Subject: [PATCH] recipes: Add conda-mirror. --- recipes/conda-mirror/meta.yaml | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 recipes/conda-mirror/meta.yaml diff --git a/recipes/conda-mirror/meta.yaml b/recipes/conda-mirror/meta.yaml new file mode 100644 index 0000000000000..d0a1867771e57 --- /dev/null +++ b/recipes/conda-mirror/meta.yaml @@ -0,0 +1,53 @@ +{% set name = "conda-mirror" %} +{% set version = "0.6.5" %} +{% set sha256 = "b609751148ffb5a1d36011d558673cb5eedf71327def05ea667c536004c1b0ca" %} + +{% set url_name = name.replace("-", "_") %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + fn: {{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/{{ url_name[0] }}/{{ url_name }}/{{ url_name }}-{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + script: python setup.py install --single-version-externally-managed --record record.txt + entry_points: + - conda-mirror = conda_mirror.conda_mirror:cli + +requirements: + build: + - python + - setuptools + + run: + - python + - requests + - pyyaml + +test: + imports: + - conda_mirror + + commands: + - conda-mirror --help + +about: + home: https://github.com/maxpoint/conda-mirror + license: BSD 3-Clause + license_family: BSD + # Can be uncommented on the next release. + # + # https://github.com/maxpoint/conda-mirror/issues/36 + # + # license_file: LICENSE + summary: 'mirror an upstream conda channel to a local directory' + +extra: + recipe-maintainers: + - ericdill + - parente