setup.py.mk: update pypi url
[unleashed-userland.git] / components / python / pyyaml / Makefile
blob9c7c703e5c021e9ee4731734f4299fc060c3b54f
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 # Copyright 2015 Alexander Pyhalov
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= PyYAML
19 COMPONENT_VERSION= 3.11
20 COMPONENT_REVISION= 1
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/
30 PYTHON_VERSIONS= 2.7
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)
38 build: $(BUILD_32)
40 install: $(INSTALL_32)
42 REQUIRED_PACKAGES += library/libyaml
43 REQUIRED_PACKAGES += runtime/python-27
44 REQUIRED_PACKAGES += system/library