components/python/trollius/Makefile
branchs11u3-sru
changeset 6035 c9748fcc32de
child 6842 57457f4223c7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/trollius/Makefile	Fri May 20 17:42:29 2016 -0400
@@ -0,0 +1,58 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		trollius
+COMPONENT_VERSION=	2.0
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH=	\
+    sha256:a8e0e2d3a3193be3e0f113253f41675d2679d23c491f32b37f4e0a736f32a28f
+COMPONENT_ARCHIVE_URL=	$(call pypi_url)
+COMPONENT_PROJECT_URL=	http://pypi.python.org/pypi/trollius/
+COMPONENT_BUGDB=	python-mod/trollius
+
+TPNO=			26097
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+ASLR_MODE = $(ASLR_NOT_APPLICABLE)
+
+#
+# The 2.7 tests pass but exit with an AttributeError: 'Nonetype" object has
+# no attribute 'items' message due to a known issue (#33) in python futures.
+#
+COMPONENT_TEST_DIR=             $(SOURCE_DIR)
+COMPONENT_TEST_ARGS=            setup.py test
+
+# common targets
+build:		$(BUILD_NO_ARCH)
+
+install:	$(INSTALL_NO_ARCH)
+
+test:		$(TEST_NO_ARCH)