Marcel Telka
2024-04-03 72d66ff28ec33bc2c05b355c6218d98d13b79450
commit | author | age
2de4c6 1 #
MT 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # This file was automatically generated using the following command:
14 #   $WS_TOOLS/python-integrate-project flake8_2020
15 #
16
17 BUILD_STYLE = setup.py
18
19 include ../../../make-rules/shared-macros.mk
20
21 COMPONENT_NAME =        flake8_2020
4bf447 22 HUMAN_VERSION =            1.8.1
2de4c6 23 COMPONENT_SUMMARY =        flake8_2020 - flake8 plugin which checks for misuse of \`sys.version\` or \`sys.version_info\`
MT 24 COMPONENT_PROJECT_URL =        https://github.com/asottile/flake8-2020
25 COMPONENT_ARCHIVE_URL =        \
e4df9e 26     https://github.com/asottile/flake8-2020/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
2de4c6 27 COMPONENT_ARCHIVE_HASH =    \
4bf447 28     sha256:7afa9955e6023fa331c239301620f6d88878b5fe1edc1b5e3a90e018f3536018
2de4c6 29 COMPONENT_LICENSE =        MIT
MT 30 COMPONENT_LICENSE_FILE =    LICENSE
31
e4df9e 32 # Github tarball use different source directory than sdist
MT 33 COMPONENT_SRC=flake8-2020-$(HUMAN_VERSION)
34
35 # flake8_2020 >= 1.8.0 requires Python >= 3.8
36 PYTHON_VERSIONS := $(filter-out 3.7, $(PYTHON_VERSIONS))
2de4c6 37
MT 38 include $(WS_MAKE_RULES)/common.mk
39
40 # Auto-generated dependencies
41 PYTHON_REQUIRED_PACKAGES += library/python/flake8
42 PYTHON_REQUIRED_PACKAGES += runtime/python
e4df9e 43 TEST_REQUIRED_PACKAGES.python += library/python/covdefaults
MT 44 TEST_REQUIRED_PACKAGES.python += library/python/coverage
45 TEST_REQUIRED_PACKAGES.python += library/python/pytest