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 # Copyright 2015 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= PyYAML
19 COMPONENT_VERSION
= 3.11
21 COMPONENT_SUMMARY
= A YAML parser and emitter for the Python language
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8
26 COMPONENT_ARCHIVE_URL
= \
27 http
://pyyaml.org
/download
/pyyaml
/PyYAML-3.11.
tar.gz
28 COMPONENT_PROJECT_URL
= http
://pyyaml.org
/
32 include $(WS_TOP
)/make-rules
/prep.mk
33 include $(WS_TOP
)/make-rules
/setup.py.mk
34 include $(WS_TOP
)/make-rules
/ips.mk
36 COMPONENT_BUILD_ENV
+= LDFLAGS
=$(LDFLAGS
)
40 install: $(INSTALL_32
)
42 REQUIRED_PACKAGES
+= library
/libyaml
43 REQUIRED_PACKAGES
+= runtime
/python-27
44 REQUIRED_PACKAGES
+= system
/library