diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 4561f0be5e077706e7914429c233fcf1ffb83b76..4199e4518ee7d90218a1883d6b5b39ffebc083b7 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -1,24 +1,31 @@ package: name: fixhdr - version: 2018.176 + version: 2020.212 source: - path: .. + path: ../ build: - # If the installation is complex, or different between Unix and Windows, use - # separate bld.bat and build.sh files instead of this key. 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 setup.py install --single-version-externally-managed --record=record.txt + noarch: python + number: 1 + script: {{ PYTHON }} -m pip install . --no-deps -vv requirements: build: - - python - - setuptools + - python >=3.6 + - pip run: - - python + - python >=3.6 + - pmw + +test: + source_files: + - tests + commands: + - python -m unittest about: home: https://git.passcal.nmt.edu/passoft/fixhdr + license: GPLv3 + license_file: LICENSE summary: Modifies mseed headers