diff --git a/ska_conda/pkg_defs/pytest-arraydiff/meta.yaml b/ska_conda/pkg_defs/pytest-arraydiff/meta.yaml new file mode 100644 index 00000000..34886e99 --- /dev/null +++ b/ska_conda/pkg_defs/pytest-arraydiff/meta.yaml @@ -0,0 +1,51 @@ +{% set name = "pytest-arraydiff" %} +{% set version = "0.2" %} +{% set git_url = "https://github.com/astrofrog/pytest-arraydiff" %} +{% set sha256 = "0145edfa8830aba07150fc09443da74d0ec4074e3de702445453415a744d3ad9" %} + +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 + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + build: + - python + - pip + - pytest + - numpy + - six + run: + - python + - pytest + - numpy + - six + +test: + imports: + - pytest_arraydiff + +about: + home: {{ git_url }} + license: BSD + summary: 'pytest plugin to help with comparing array output from tests' + description: | + This is a py.test plugin to facilitate the generation and comparison of + data arrays produced during tests. + doc_url: {{ git_url }} + dev_url: {{ git_url }} + +extra: + recipe-maintainers: + - astrofrog-conda-forge + - drdavella + - mwcraig diff --git a/ska_conda/pkg_defs/pytest-astropy/meta.yaml b/ska_conda/pkg_defs/pytest-astropy/meta.yaml new file mode 100644 index 00000000..82f5c7b7 --- /dev/null +++ b/ska_conda/pkg_defs/pytest-astropy/meta.yaml @@ -0,0 +1,59 @@ +{% set name = "pytest-astropy" %} +{% set version = "0.4.0" %} +{% set git_url = "https://github.com/astropy/pytest-astropy" %} +{% set sha256 = "8eacabc025b22459bd1db7313ba8e4236918b46cba241e49b2245c8ec69a267b" %} + +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 + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + build: + - python + - pip + - pytest >=3.1 + - pytest-openfiles >=0.3 + - pytest-remotedata >=0.3.0 + - pytest-doctestplus >=0.1.3 + - pytest-arraydiff >=0.1 + run: + - python + - pytest >=3.1 + - pytest-openfiles >=0.3 + - pytest-remotedata >=0.3.0 + - pytest-doctestplus >=0.1.3 + - pytest-arraydiff >=0.1 + +test: + imports: + - pytest_remotedata + - pytest_doctestplus + - pytest_openfiles + - pytest_arraydiff + +about: + home: {{ git_url }} + license: BSD + summary: 'Meta-package containing dependencies for testing Astropy' + description: | + This is a meta-package that pulls in the dependencies that are used by + astropy and some affiliated packages for testing. It can also be used for + testing packages that are not affiliated with the Astropy project. + doc_url: {{ git_url }} + dev_url: {{ git_url }} + +extra: + recipe-maintainers: + - astrofrog-conda-forge + - drdavella + - mwcraig diff --git a/ska_conda/pkg_defs/pytest-doctestplus/meta.yaml b/ska_conda/pkg_defs/pytest-doctestplus/meta.yaml new file mode 100644 index 00000000..83a901f8 --- /dev/null +++ b/ska_conda/pkg_defs/pytest-doctestplus/meta.yaml @@ -0,0 +1,49 @@ +{% set name = "pytest-doctestplus" %} +{% set version = "0.1.3" %} +{% set git_url = "https://github.com/astropy/pytest-doctestplus" %} +{% set sha256 = "91a5f81ff9e2038d363f6d49f4ec3c1b9726cc989ae8e3f227689a3793aa51fc" %} + +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 + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + build: + - python + - pip + - pytest >=2.8 + - six + run: + - python + - pytest >=2.8 + - six + +test: + imports: + - pytest_doctestplus + +about: + home: {{ git_url }} + license: BSD + summary: 'Pytest plugin with advanced doctest features' + description: | + This package contains a plugin for the pytest framework that provides + advanced doctest support and enables the testing of reStructuredText files. + doc_url: {{ git_url }} + dev_url: {{ git_url }} + +extra: + recipe-maintainers: + - astrofrog-conda-forge + - drdavella + - mwcraig diff --git a/ska_conda/pkg_defs/pytest-openfiles/meta.yaml b/ska_conda/pkg_defs/pytest-openfiles/meta.yaml new file mode 100644 index 00000000..fa04c4ae --- /dev/null +++ b/ska_conda/pkg_defs/pytest-openfiles/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "pytest-openfiles" %} +{% set version = "0.3.0" %} +{% set git_url = "https://github.com/astropy/pytest-openfiles" %} +{% set sha256 = "be5e6a0e7c6a64e58a27bdcdd9ab2aa09a9a9c9a525499ee08d2e77e2c19f535" %} + +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 + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + build: + - python + - pip + - pytest >=3.1 + - psutil + run: + - python + - pytest >=3.1 + - psutil + +test: + imports: + - pytest_openfiles + +about: + home: {{ git_url }} + license: BSD + summary: 'Pytest plugin for detecting inadvertent open file handles' + description: | + This package provides a plugin for the pytest framework that allows + developers to detect whether any file handles or other file-like objects + were inadvertently left open at the end of a unit test. + doc_url: {{ git_url }} + dev_url: {{ git_url }} + +extra: + recipe-maintainers: + - astrofrog-conda-forge + - drdavella + - mwcraig diff --git a/ska_conda/pkg_defs/pytest-remotedata/meta.yaml b/ska_conda/pkg_defs/pytest-remotedata/meta.yaml new file mode 100644 index 00000000..ae876dc8 --- /dev/null +++ b/ska_conda/pkg_defs/pytest-remotedata/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "pytest-remotedata" %} +{% set version = "0.3.0" %} +{% set git_url = "https://github.com/astropy/pytest-remotedata" %} +{% set sha256 = "cb0a6e22ba07ff870edeb17d5d38c495e8f37e2db741cd15e723fb8e609909eb" %} + +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 + sha256: {{ sha256 }} + +build: + noarch: python + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + build: + - python + - pip + - pytest >=3.1 + - six + run: + - python + - pytest >=3.1 + - six + +test: + imports: + - pytest_remotedata + +about: + home: {{ git_url }} + license: BSD + summary: 'Pytest plugin for controlling remote data access' + description: | + This package provides a plugin for the pytest framework that allows + developers to control unit tests that require access to data from the + internet. + doc_url: {{ git_url }} + dev_url: {{ git_url }} + +extra: + recipe-maintainers: + - astrofrog-conda-forge + - drdavella + - mwcraig