gst-plugins-base1: Update to 1.22.1
[oi-userland.git] / components / python / ansible / Makefile
blobdcd2f14a46a72d397b4545400b0da37176fe998c
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2018 Alexander Pyhalov
13 # Copyright 2021, 2022 Andreas Wacknitz
16 BUILD_STYLE= setup.py
17 BUILD_BITS= NO_ARCH
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= ansible
21 COMPONENT_VERSION= 2.9.27
22 COMPONENT_REVISION= 2
23 COMPONENT_SUMMARY= Ansible is a radically simple IT automation system
24 COMPONENT_PROJECT_URL= https://ansible.com/
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:479159e50b3bd90920d06bc59410c3a51d3f9be9b4e1029e11d1e4a2d0705736
28 COMPONENT_ARCHIVE_URL= $(call pypi_url)
29 COMPONENT_FMRI= system/management/$(COMPONENT_NAME)
30 COMPONENT_CLASSIFICATION= System/Administration and Configuration
31 COMPONENT_LICENSE= GPLv3
32 COMPONENT_LICENSE_FILE= COPYING
34 PYTHON_VERSION= 3.9
35 PYTHON_VERSIONS= 3.9
37 include $(WS_MAKE_RULES)/common.mk
39 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/test
40 COMPONENT_TEST_CMD = $(PYTHON) /usr/bin/py.test-$(PYTHON_VERSION)
41 COMPONENT_TEST_ARGS =
42 COMPONENT_TEST_TRANSFORMS += \
43 '-e "s/in [0-9]*\.[0-9]*s //"' \
44 '-n' \
45 '-e "/=========/p"' \
46 '-e "/---------/p"' \
47 '-e "/collected/p"' \
48 '-e "/ERROR /p"' \
49 '-e "/HINT/p"'
51 # Some tests still fail because of missing modules like validate_modules:
52 # Required for tests
53 REQUIRED_PACKAGES += library/python/flaky-39
54 REQUIRED_PACKAGES += library/python/hypothesis-39
55 REQUIRED_PACKAGES += library/python/mock-39
56 REQUIRED_PACKAGES += library/python/pluggy-39
57 REQUIRED_PACKAGES += library/python/py-39
58 REQUIRED_PACKAGES += library/python/pyparsing-39
59 REQUIRED_PACKAGES += library/python/pytest-39
60 REQUIRED_PACKAGES += library/python/pytest-benchmark-39
61 REQUIRED_PACKAGES += library/python/pytest-reporter-39
62 REQUIRED_PACKAGES += library/python/sortedcontainers-39
64 # Auto-generated dependencies
65 REQUIRED_PACKAGES += runtime/python-39