author | John Beck <John.Beck@Oracle.COM> |
Mon, 19 May 2014 19:03:30 -0700 | |
changeset 1909 | 0f03fb0ff75c |
parent 1907 | 446472de62e9 |
child 1948 | 2d1537e7942d |
permissions | -rw-r--r-- |
1691 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
21 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
1691 | 22 |
# |
23 |
include ../../../make-rules/shared-macros.mk |
|
24 |
||
25 |
COMPONENT_NAME= lesscpy |
|
26 |
COMPONENT_VERSION= 0.9j |
|
27 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
28 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
29 |
COMPONENT_ARCHIVE_HASH= \ |
|
30 |
sha256:fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d |
|
31 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
|
32 |
COMPONENT_PROJECT_URL= https://github.com/robotis/Lesscpy |
|
33 |
COMPONENT_BUGDB= python-mod/lesscpy |
|
34 |
||
1909
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
35 |
# Depends on ply which is not Python 3 ready. |
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
36 |
PYTHON_VERSIONS= 2.7 2.6 |
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
37 |
|
1691 | 38 |
# convert the 'j' in COMPONENT_VERSION to 10 |
39 |
IPS_COMPONENT_VERSION = 0.9.10 |
|
40 |
||
41 |
include $(WS_TOP)/make-rules/prep.mk |
|
42 |
include $(WS_TOP)/make-rules/setup.py.mk |
|
43 |
include $(WS_TOP)/make-rules/ips.mk |
|
44 |
||
45 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
|
46 |
||
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
47 |
# Author's name has non-ASCII characters. |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
48 |
COMPONENT_BUILD_ENV += LC_ALL=en_US.UTF-8 |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
49 |
COMPONENT_INSTALL_ENV += LC_ALL=en_US.UTF-8 |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
50 |
|
1691 | 51 |
COMPONENT_POST_INSTALL_ACTION = \ |
52 |
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION)) |
|
53 |
||
54 |
# common targets |
|
55 |
build: $(BUILD_NO_ARCH) |
|
56 |
||
57 |
install: $(INSTALL_NO_ARCH) |
|
58 |
||
59 |
test: $(NO_TESTS) |
|
60 |
||
61 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
62 |
||
63 |
include $(WS_TOP)/make-rules/depend.mk |