21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
|
26 BUILD_BITS= NO_ARCH |
26 include ../../../make-rules/shared-macros.mk |
27 include ../../../make-rules/shared-macros.mk |
27 |
28 |
28 COMPONENT_NAME= cloudbase-init |
29 COMPONENT_NAME= cloudbase-init |
29 COMPONENT_VERSION= 0.9.9 |
30 COMPONENT_VERSION= 0.9.9 |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
37 COMPONENT_PROJECT_URL= https://github.com/stackforge/cloudbase-init |
38 COMPONENT_PROJECT_URL= https://github.com/stackforge/cloudbase-init |
38 COMPONENT_BUGDB= service/cloudbase-init |
39 COMPONENT_BUGDB= service/cloudbase-init |
39 |
40 |
40 TPNO= 26420 |
41 TPNO= 26420 |
41 |
42 |
42 include $(WS_MAKE_RULES)/prep.mk |
43 ifneq ($(BUILD_TYPE), evaluation) |
43 include $(WS_MAKE_RULES)/setup.py.mk |
44 BUILD_STYLE= setup.py |
44 include $(WS_MAKE_RULES)/ips.mk |
45 endif |
45 |
46 |
46 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 # FOSS eval upgrade instructions lead to maintenance state; just skip. |
|
48 # On S12, the same problem if the pkg is installed, but it's not on the |
|
49 # default install list for S12. If the S12 issue gets fixed, we can drop |
|
50 # the following line and thus remove this from the do-not-publish list. |
|
51 include $(WS_MAKE_RULES)/no-evaluation.mk |
47 |
52 |
48 # Upstream only supports 3.3 from the Python 3 series |
53 # Upstream only supports 3.3 from the Python 3 series |
49 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
54 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
|
55 |
|
56 include $(WS_MAKE_RULES)/common.mk |
|
57 |
|
58 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
50 |
59 |
51 PKG_MACROS += PYVER=$(PYTHON_VERSIONS) |
60 PKG_MACROS += PYVER=$(PYTHON_VERSIONS) |
52 PKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .) |
61 PKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .) |
53 |
62 |
54 # Copy the PKG-INFO file to the build root |
63 # Copy the PKG-INFO file to the build root |