openexr: make architecture independent
[oi-userland.git] / components / python / validate-pyproject / Makefile
blob8fb95a9860a18e929b9767b37bf8567430e3f835
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.
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 validate-pyproject
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = validate-pyproject
22 HUMAN_VERSION = 0.10.1
23 COMPONENT_SUMMARY = validate-pyproject - Validation library and CLI tool for checking on 'pyproject.toml' files using JSON Schema
24 COMPONENT_PROJECT_URL = https://github.com/abravalheri/validate-pyproject/
25 COMPONENT_ARCHIVE_URL = \
26 https://files.pythonhosted.org/packages/45/14/02314175f34f3f000691bc3f3cd41a34b9616dfbfa34cf5baa96cc643618/validate-pyproject-0.10.1.tar.gz
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:4621e7728bcfc42fcb54752dc3712c1f4d2e2eb99ee97c31e34f62cabea26254
29 COMPONENT_LICENSE = MIT
30 COMPONENT_LICENSE_FILE = NOTICE.txt
32 include $(WS_MAKE_RULES)/common.mk
34 # Testing fails with the checkdocs plugin installed
35 PYTEST_ADDOPTS += -p no:checkdocs
37 # There are two sets of test results (pytest is run twice by tox) so we need to
38 # sort the 2nd one too (the first one is sorted in setup.py.mk).
39 COMPONENT_TEST_TRANSFORMS += \
40 "| ( \
41 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
42 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
43 $(GSED) -u -e '/^$$/q' ; \
44 $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \
45 $(CAT) \
46 ) | $(COMPONENT_TEST_TRANSFORMER) -e ''"
48 # Auto-generated dependencies
49 PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
50 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
51 PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
52 PYTHON_REQUIRED_PACKAGES += runtime/python
53 TEST_REQUIRED_PACKAGES.python += library/python/packaging
54 TEST_REQUIRED_PACKAGES.python += library/python/pytest
55 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
56 TEST_REQUIRED_PACKAGES.python += library/python/pytest-randomly
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest-xdist
58 TEST_REQUIRED_PACKAGES.python += library/python/setuptools
59 TEST_REQUIRED_PACKAGES.python += library/python/tomli
60 TEST_REQUIRED_PACKAGES.python += library/python/trove-classifiers