Makefile revision 5107
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen#
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen# CDDL HEADER START
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen#
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen# The contents of this file are subject to the terms of the
c0a05ba822189ff4f2c86645c38a5a904943192aTimo Sirainen# Common Development and Distribution License (the "License").
c0a05ba822189ff4f2c86645c38a5a904943192aTimo Sirainen# You may not use this file except in compliance with the License.
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen#
5666a3d6a7ea89362b8d9e8b39b15424cd9d6388Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen# or http://www.opensolaris.org/os/licensing.
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen# See the License for the specific language governing permissions
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen# and limitations under the License.
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen#
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
457cafc9e72edb81eacfe88b35f14a75a96cf00aTimo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
41590df9f518459d66a9f7b9be2126f2e31fb221Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
41590df9f518459d66a9f7b9be2126f2e31fb221Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
457cafc9e72edb81eacfe88b35f14a75a96cf00aTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
41590df9f518459d66a9f7b9be2126f2e31fb221Timo Sirainen#
4449ad85fcbd4f6fedbaa9a5bdfe58a9ae60f8aeTimo Sirainen# CDDL HEADER END
4449ad85fcbd4f6fedbaa9a5bdfe58a9ae60f8aeTimo Sirainen#
2d4ea3631451f01c6c6afae741584d0972d59cb2Timo Sirainen# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2d4ea3631451f01c6c6afae741584d0972d59cb2Timo Sirainen#
2d4ea3631451f01c6c6afae741584d0972d59cb2Timo Siraineninclude ../../../make-rules/shared-macros.mk
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5dTimo SirainenPATH=/usr/bin:/usr/gnu/bin:/usr/sbin
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo Sirainen
c0a05ba822189ff4f2c86645c38a5a904943192aTimo SirainenCOMPONENT_NAME= ply
fab2d704b37f7517a0e1375f70c70259953afba6Timo SirainenCOMPONENT_VERSION= 3.7
c0a05ba822189ff4f2c86645c38a5a904943192aTimo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8e56d284c950a645cac5c4cb2a984b6e65b0cc6aTimo SirainenCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8e56d284c950a645cac5c4cb2a984b6e65b0cc6aTimo SirainenCOMPONENT_ARCHIVE_HASH= \
8e56d284c950a645cac5c4cb2a984b6e65b0cc6aTimo Sirainen sha256:f85fb7b44c1c9a04873e6d76fa2c2eef43f2cfd81468aa714a9c63af7ae0af80
615f6231e6f3b30ae6eb038883ea6e8070224cd7Timo SirainenCOMPONENT_ARCHIVE_URL= http://www.dabeaz.com/ply/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL= http://www.dabeaz.com/ply/
COMPONENT_BUGDB= python-mod/ply
TPNO= 24766
# not Python 3.5 ready; test fail
PYTHON_VERSIONS= $(PYTHON2_VERSIONS) 3.4
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_TEST_ENV = PYTHONPATH=$(PROTO_DIR)/$(PYTHON_LIB)
COMPONENT_TEST_CMD = $(PYTHON) testlex.py; \
$(PYTHON) testyacc.py
COMPONENT_TEST_ARGS=
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
COMPONENT_TEST_TRANSFORMS += \
'-e "s|\(^Ran 42 tests\).*|\1|" '
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
# Run 42 tests, OK.
test: $(TEST_NO_ARCH)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)