-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add borrowed pytest-* recipes for astropy
- Loading branch information
Showing
5 changed files
with
259 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |