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-mirror #2526

Merged
merged 1 commit into from
Mar 4, 2017
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
53 changes: 53 additions & 0 deletions recipes/conda-mirror/meta.yaml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have added you as the maintainer, @ericdill. Please let me know if that is ok. If there are others that should be added, please let me know.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me. Thanks. Add @parente too please

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

- parente
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just double checking that this is ok, @parente.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Fine by me.