From 1226810837f396110f2a1bc09190d3e03c0758ef Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Wed, 25 Aug 2021 23:54:14 +0200 Subject: [PATCH 1/2] Recipe for v1.0.1 --- recipe/meta.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1ca2275..d6634d4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "portalocker" %} -{% set version = "2.3.0" %} +{% set version = "1.0.1" %} package: name: {{ name|lower }} @@ -8,7 +8,7 @@ package: source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: 4e913d807aa6598c320e8a50c50e2ee0602bc45240b485e3f8bc06f13060084c + sha256: 455074565f7da80a9206b821fab72156e456a7e2a4d4cf1650f6bb6a584c396f build: number: 0 @@ -24,22 +24,22 @@ requirements: - pytest-runner run: - python - - pywin32 # [win] test: imports: - portalocker source_files: - - portalocker_tests + - tests requires: - pytest >=3.4.0 - pytest-cache >=1.0 - pytest-cov >=2.5.1 - pytest-flakes >=2.0.0 - pytest-pep8 >=1.0.6 - # TODO: how to skip just test_combined ? - # commands: - # - pytest -k "not test_combined" portalocker_tests + commands: + - pip check + - pytest tests/temporary_file_lock.py + - pytest tests/tests.py about: home: https://github.com/WoLpH/portalocker From f379b20dd24abad4542e7e76b234720ed7b7601d Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 26 Aug 2021 00:11:09 +0200 Subject: [PATCH 2/2] Add pip as test requirement --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d6634d4..95b548a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -36,6 +36,7 @@ test: - pytest-cov >=2.5.1 - pytest-flakes >=2.0.0 - pytest-pep8 >=1.0.6 + - pip commands: - pip check - pytest tests/temporary_file_lock.py