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 2013 Aurelien Larcher. All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 3.9.1
21 COMPONENT_IPS_NAME
= pyro
22 COMPONENT_FMRI
= library
/python
/$(COMPONENT_IPS_NAME
)
23 COMPONENT_SUMMARY
= Distributed object middleware for Python
(RPC
)
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:8396a61f2b47ca03685484fc400f573cac17a442652ed56fd86966488727bca4
28 COMPONENT_ARCHIVE_URL
= \
29 https
://pypi.python.org
/packages
/source
/P
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= https
://pypi.python.org
/pypi
/Pyro
31 COMPONENT_LICENSE_FILE
= $(COMPONENT_IPS_NAME
).license
35 include $(WS_MAKE_RULES
)/prep.mk
36 include $(WS_MAKE_RULES
)/setup.py.mk
37 include $(WS_MAKE_RULES
)/ips.mk
39 PYRO_CMDS
=es esd genguid ns nsc nsd rns wxnsc xnsc
41 COMPONENT_POST_INSTALL_ACTION
= \
42 (for cmd in
$(PYRO_CMDS
) ; \
43 do
$(MV
) -f
$(PROTO_DIR
)/usr
/bin
/pyro-
$${cmd} \
44 $(PROTO_DIR
)/usr
/bin
/pyro-
$${cmd}$(PYTHON_VERSION
); \
47 build
: $(BUILD_NO_ARCH
)
49 install: $(INSTALL_NO_ARCH
)
53 REQUIRED_PACKAGES
+= runtime
/python-27