author | John Beck <John.Beck@Oracle.COM> |
Tue, 20 Oct 2015 15:05:05 -0700 | |
changeset 4984 | 7145b15b7f0d |
parent 4339 | 6501cf9c29f9 |
child 5109 | 5d341c4a6b80 |
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 |
# |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
21 |
# Copyright (c) 2013, 2015, 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 |
||
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1909
diff
changeset
|
35 |
TPNO= 16108 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1909
diff
changeset
|
36 |
|
1909
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
37 |
# Depends on ply which is not Python 3 ready. |
4984
7145b15b7f0d
PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
38 |
PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
1909
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1907
diff
changeset
|
39 |
|
1691 | 40 |
# convert the 'j' in COMPONENT_VERSION to 10 |
41 |
IPS_COMPONENT_VERSION = 0.9.10 |
|
42 |
||
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/setup.py.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/ips.mk |
1691 | 46 |
|
47 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
|
48 |
||
1907
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
49 |
# Author's name has non-ASCII characters. |
446472de62e9
PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
1691
diff
changeset
|
50 |
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
|
51 |
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
|
52 |
|
1691 | 53 |
COMPONENT_POST_INSTALL_ACTION = \ |
54 |
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION)) |
|
55 |
||
56 |
# common targets |
|
57 |
build: $(BUILD_NO_ARCH) |
|
58 |
||
59 |
install: $(INSTALL_NO_ARCH) |
|
60 |
||
61 |
test: $(NO_TESTS) |
|
62 |
||
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
63 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
64 |