diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 4561f0be5e077706e7914429c233fcf1ffb83b76..bc557b01c03d16175b1a4a9e958ee9110542c022 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -1,24 +1,32 @@ 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: 0 + script: {{ PYTHON }} -m pip install . --no-deps -vv + string: py_3 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