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
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.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project flake8_2020
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= flake8_2020
23 COMPONENT_SUMMARY
= flake8_2020
- flake8 plugin which checks for misuse of \
`sys.version\` or \
`sys.version_info\`
24 COMPONENT_PROJECT_URL
= https
://github.com
/asottile
/flake8-2020
25 COMPONENT_ARCHIVE_URL
= \
26 https
://github.com
/asottile
/flake8-2020
/archive
/refs
/tags/v
$(HUMAN_VERSION
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:7afa9955e6023fa331c239301620f6d88878b5fe1edc1b5e3a90e018f3536018
29 COMPONENT_LICENSE
= MIT
30 COMPONENT_LICENSE_FILE
= LICENSE
32 # Github tarball use different source directory than sdist
33 COMPONENT_SRC
=flake8-2020-
$(HUMAN_VERSION
)
35 # flake8_2020 >= 1.8.0 requires Python >= 3.8
36 PYTHON_VERSIONS
:= $(filter-out 3.7, $(PYTHON_VERSIONS
))
38 include $(WS_MAKE_RULES
)/common.mk
40 # Auto-generated dependencies
41 PYTHON_REQUIRED_PACKAGES
+= library
/python
/flake8
42 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
43 TEST_REQUIRED_PACKAGES.python
+= library
/python
/covdefaults
44 TEST_REQUIRED_PACKAGES.python
+= library
/python
/coverage
45 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest