diff --git a/conda/pytest-qt/meta.yaml b/conda/pytest-qt/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e5d1bb4ebd96f62972aa0e1301e7377e2399fe24 --- /dev/null +++ b/conda/pytest-qt/meta.yaml @@ -0,0 +1,48 @@ +{% set name = "pytest-qt" %} +{% set version = "3.2.2" %} +{% set file_ext = "tar.gz" %} +{% set hash_type = "sha256" %} +{% set hash_value = "f6ecf4b38088ae1092cbd5beeaf714516d1f81f8938626a2eac546206cdfe7fa" %} + +package: + name: '{{ name|lower }}' + version: '{{ version }}' + +source: + fn: '{{ name }}-{{ version }}.{{ file_ext }}' + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }} + '{{ hash_type }}': '{{ hash_value }}' + +build: + number: 0 + script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" + +requirements: + host: + - pip + - python + - setuptools + - setuptools_scm + run: + - python + - pytest >=2.7.0 + +test: + requires: + - pyqt 5.* + - pytest + imports: + - pytestqt + commands: + - py.test --help + +about: + home: http://github.com/pytest-dev/pytest-qt + license: MIT + license_family: MIT + summary: pytest support for PyQt and PySide applications + doc_url: http://pytest-qt.readthedocs.io/en/latest/ + dev_url: https://github.com/pytest-dev/pytest-qt + +extra: + recipe-maintainers: sgaist diff --git a/scripts/build.sh b/scripts/build.sh index 5f9afadcc457aa98e1ebb44d12c9992e8521d1ae..2b93cb28d23d7d20c04e12b04aeddf9ece6dcf3b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -54,6 +54,7 @@ PACKAGES+=('conda/importlib-metadata') PACKAGES+=('conda/importlib-resources') PACKAGES+=('conda/nodeenv') PACKAGES+=('conda/pre-commit') +PACKAGES+=('conda/pytest-qt') current=0