1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
# Jinja variables help maintain the recipe as you'll update the version only here.
{% set name = "mrcz" %}
{% set version = "0.5.8" %}
{% set sha256 = "77aa30bcd81afb5382f6b76598226bee69f407415c871cbbd03eb4f63abdb658" %}
# sha256 is the prefered checksum -- you can get it for a file with:
# `openssl sha256 <file name>`.
# You may need the openssl package, available on conda-forge
# `conda install openssl -c conda-forge``
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
# If getting the source from GitHub remove the line above
# uncomment the line below and modify as needed
# url: https://github.com/simplejson/{{ name }}/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
# Uncomment the following line if the package is pure python and the recipe is exactly the same for all platforms.
# It is okay if the dependencies are not built for all platforms/versions, although selectors are still not allowed.
# See https://conda-forge.org/docs/meta.html#building-noarch-packages for more details.
noarch: python
number: 0
# If the installation is complex, or different between Unix and Windows, use separate bld.bat and build.sh files instead of this key.
# By default, the package will be built for the Python versions supported by conda-forge and for all major OSs.
# Add the line "skip: True # [py<35]" (for example) to limit to Python 3.5 and newer, or "skip: True # [not win]" to limit to Windows.
script: python -m pip install --no-deps --ignore-installed .
requirements:
build:
- python
- pip
- setuptools
- numpy
- blosc
run:
- python
- numpy
- blosc
test:
# Some package might need a `test/commands` key to check CLI.
# List all the packages/modules that `run_test.py` imports.
imports:
- mrcz
about:
home: https://github.com/em-MRCZ/python-mrcz
# Remember to specify the license variants for BSD, Apache, GPL, and LGLP.
# Prefer the short version, e.g: GPL-2.0 instead of GNU General Public License version 2.0
# See https://opensource.org/licenses/alphabetical
license: BSD-3-Clause
# The license_family, i.e. "BSD" if license is "BSD-3-Clause". (optional)
license_family: BSD
# It is strongly encouraged to include a license file in the package,
# (even if the license doesn't require it) using the license_file entry.
# See http://conda.pydata.org/docs/building/meta-yaml.html#license-file
license_file: LICENSE.txt
summary: 'Python module for compressed MRCZ-file format'
# The remaining entries in this section are optional, but recommended
description: |
mrcz is a package designed to supplement the venerable MRC image file format
with a highly efficient compressed variant, using the blosc meta-compressor
library to shrink files on disk and greatly accelerate file input/output
for the era of "Big Data" in electron and optical microscopy.
doc_url: http://python-mrcz.readthedocs.io/
dev_url: https://github.com/em-MRCZ/python-mrcz
extra:
recipe-maintainers:
# GitHub IDs for maintainers of the recipe.
# Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!)
- RobbMcleod
|