Makefile revision 5680
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER START
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The contents of this file are subject to the terms of the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Common Development and Distribution License (the "License").
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You may not use this file except in compliance with the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
d63de4508a08b11f57c307a15eda3cd95485bf2cvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d63de4508a08b11f57c307a15eda3cd95485bf2cvboxsync# or http://www.opensolaris.org/os/licensing.
d63de4508a08b11f57c307a15eda3cd95485bf2cvboxsync# See the License for the specific language governing permissions
d63de4508a08b11f57c307a15eda3cd95485bf2cvboxsync# and limitations under the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# If applicable, add the following below this CDDL HEADER, with the
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# CDDL HEADER END
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncinclude ../../../make-rules/shared-macros.mk
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_NAME= lesscpy
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_VERSION= 0.9j
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_ARCHIVE_HASH= \
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync sha256:fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_ARCHIVE_URL= $(call pypi_url)
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCOMPONENT_PROJECT_URL= https://github.com/robotis/Lesscpy
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_BUGDB= python-mod/lesscpy
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncTPNO= 16108
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Depends on ply, which is now Python 3 ready, but further testing is needed
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# to determine if lesscpy can deliver 3.x package.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncPYTHON_VERSIONS= $(PYTHON2_VERSIONS)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# convert the 'j' in COMPONENT_VERSION to 10
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncIPS_COMPONENT_VERSION = 0.9.10
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/prep.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/setup.py.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/ips.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
cb172d105a87f41489b1553fbd99ec97932609ffvboxsync
cb172d105a87f41489b1553fbd99ec97932609ffvboxsync# Author's name has non-ASCII characters.
cb172d105a87f41489b1553fbd99ec97932609ffvboxsyncCOMPONENT_BUILD_ENV += LC_ALL=en_US.UTF-8
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_INSTALL_ENV += LC_ALL=en_US.UTF-8
6f6afebdc0972ac696b1199829d8a4c721a7218avboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_POST_INSTALL_ACTION = \
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync (cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION))
2c691730ab202620fe427110841aa4e0075b7ccavboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# common targets
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncbuild: $(BUILD_NO_ARCH)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinstall: $(INSTALL_NO_ARCH)
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsynctest: $(NO_TESTS)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncsystem-test: $(NO_TESTS)
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync