python/coverage: update to 7.6.5
[oi-userland.git] / components / python / PyNUTClient / Makefile
blob5d0338ab3f248912a8bafe3f2ad86e439e674e99
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 PyNUTClient
17 BUILD_STYLE = setup.py
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = PyNUTClient
22 HUMAN_VERSION = 2.8.2
23 COMPONENT_SUMMARY = PyNUTClient - Python client bindings for NUT
24 COMPONENT_PROJECT_URL = https://github.com/networkupstools/nut/tree/master/scripts/python/module
25 COMPONENT_ARCHIVE_HASH = \
26 sha256:b32af28ac141bb1d05a97814ab22b1dc90f2e55a73657f99c5126384ca2df85a
27 COMPONENT_LICENSE = GPL-3.0-only
28 COMPONENT_LICENSE_FILE = LICENSE-GPL3
30 include $(WS_MAKE_RULES)/common.mk
33 # To run tests you need:
35 # 1) to have this in /etc/nut/ups.conf (see PyNUTClient/test_nutclient.py):
37 # [dummy]
38 # driver = dummy-ups
39 # desc = "Test device"
40 # port = /usr/share/nut/etc-samples/evolution500.seq.dummy-ups.sample
42 # 2) the svc:/system/power/nut-server:default service running:
44 # svcadm enable svc:/system/power/nut-server:default
46 # 3) start dummy-ups:
48 # /usr/lib/nut/bin/dummy-ups -a dummy
50 # Remove colors from test output
51 COMPONENT_TEST_TRANSFORMS += "-e 's/\x1b\[[0-9;]*m//g'"
53 # Needed for:
54 # /etc/nut/ups.conf
55 # svc:/system/power/nut-server:default
56 TEST_REQUIRED_PACKAGES += system/management/nut/server
58 # Needed for:
59 # /usr/lib/nut/bin/dummy-ups
60 # /usr/share/nut/etc-samples/evolution500.seq.dummy-ups.sample
61 TEST_REQUIRED_PACKAGES += system/management/nut/drivers/software
63 # Auto-generated dependencies
64 PYTHON_REQUIRED_PACKAGES += runtime/python