From e6e3763c9e9844cd2135b2ffb3b9088b8ae0091e Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 13 Oct 2024 11:31:47 +0400 Subject: [PATCH 1/2] Add flake8-deprecated recipe --- recipes/flake8-deprecated/meta.yaml | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes/flake8-deprecated/meta.yaml diff --git a/recipes/flake8-deprecated/meta.yaml b/recipes/flake8-deprecated/meta.yaml new file mode 100644 index 0000000000000..32e3af61d3a18 --- /dev/null +++ b/recipes/flake8-deprecated/meta.yaml @@ -0,0 +1,41 @@ +{% set name = "flake8-deprecated" %} +{% set version = "2.2.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/flake8_deprecated-{{ version }}.tar.gz + sha256: ee96ca001d1ca0561fa8e46f23e2d2460b18a86696373cab644e102ae0ff2aa2 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.8 + - hatchling + - pip + run: + - python >=3.8 + - flake8 + +test: + imports: + - flake8_deprecated + commands: + - pip check + requires: + - pip + +about: + summary: Warns about deprecated method calls + license: GPL-2.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - traversaro From fdee0d8a9560bb140843adee3a34a7e08dd8eb65 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 13 Oct 2024 11:50:00 +0400 Subject: [PATCH 2/2] Fix home and use non-deprecated SPDX tag GPL-2.0-only --- recipes/flake8-deprecated/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/flake8-deprecated/meta.yaml b/recipes/flake8-deprecated/meta.yaml index 32e3af61d3a18..7fbb22fdb7a28 100644 --- a/recipes/flake8-deprecated/meta.yaml +++ b/recipes/flake8-deprecated/meta.yaml @@ -33,7 +33,8 @@ test: about: summary: Warns about deprecated method calls - license: GPL-2.0 + home: https://github.com/gforcada/flake8-deprecated + license: GPL-2.0-only license_file: LICENSE extra: