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 pycmd
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pycmd
23 COMPONENT_SUMMARY
= pycmd
- pycmd
: tools for managing
/searching Python related files.
24 COMPONENT_ARCHIVE_URL
= \
25 https
://files.pythonhosted.org
/packages
/c1
/ea
/c73238007d9e57a513f39835a815c4aaaf3bdc9e1ee64fd3bdb6a616ecf9
/pycmd-1.2.
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:adc1976c0106919e9338db20102b91009256dcfec924a66928d7297026f72477
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= LICENSE
31 include $(WS_MAKE_RULES
)/common.mk
33 # Testing needs access to py.lookup and py.cleanup
34 COMPONENT_PRE_TEST_ACTION
+= $(LN
) -s py.lookup-
$(PYTHON_VERSION
) $(PROTO_DIR
)/usr
/bin
/py.lookup
;
35 COMPONENT_POST_TEST_ACTION
+= $(RM
) $(PROTO_DIR
)/usr
/bin
/py.lookup
;
36 COMPONENT_PRE_TEST_ACTION
+= $(LN
) -s py.cleanup-
$(PYTHON_VERSION
) $(PROTO_DIR
)/usr
/bin
/py.cleanup
;
37 COMPONENT_POST_TEST_ACTION
+= $(RM
) $(PROTO_DIR
)/usr
/bin
/py.cleanup
;
38 COMPONENT_TEST_ENV
+= PATH
=$(PROTO_DIR
)/usr
/bin
:$(PATH
)
40 # Auto-generated dependencies
41 PYTHON_REQUIRED_PACKAGES
+= library
/python
/importlib-metadata
42 PYTHON_REQUIRED_PACKAGES
+= library
/python
/py
43 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
44 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
45 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest