components/python/lesscpy/Makefile
author Yiteng Zhang <yiteng.zhang@oracle.com>
Thu, 19 Nov 2015 11:19:15 -0800
changeset 5109 5d341c4a6b80
parent 4984 7145b15b7f0d
child 5682 94c0ca64c022
permissions -rw-r--r--
19877233 ply should hookup its tests 19931836 "gmake test" failures for python/jsonrpclib 20745110 jsonrpclib can now deliver a Python 3.x package 21911841 update pycurl and deliver a Python 3.x package 21912037 update ply to version 3.7 and deliver a Python 3.x package 21985306 update coverage to version 4.0.1 and deliver its Python 3.x package 22067764 update CherryPy to version 3.8.0 and deliver a Python 3.x package
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    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
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		lesscpy
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	0.9j
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    sha256:fa01d435a1ab3abafba683519bdc7aca5e19399e96225e1a8bc1d660b566364d
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	https://github.com/robotis/Lesscpy
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/lesscpy
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    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
5109
5d341c4a6b80 19877233 ply should hookup its tests
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4984
diff changeset
    37
# Depends on ply, which is now Python 3 ready, but further testing is needed
5d341c4a6b80 19877233 ply should hookup its tests
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4984
diff changeset
    38
# to determine if lesscpy can deliver 3.x package.
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4339
diff changeset
    39
PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
1909
0f03fb0ff75c 15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents: 1907
diff changeset
    40
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
# convert the 'j' in COMPONENT_VERSION to 10
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
IPS_COMPONENT_VERSION = 0.9.10
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
3817
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)/prep.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)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    46
include $(WS_MAKE_RULES)/ips.mk
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
1907
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1691
diff changeset
    50
# Author's name has non-ASCII characters.
446472de62e9 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents: 1691
diff changeset
    51
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
    52
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
    53
1691
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
COMPONENT_POST_INSTALL_ACTION = \
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
         (cd $(PROTO_DIR)/usr/bin ; $(MV) -f lesscpy lesscpy-$(PYTHON_VERSION))
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    57
# common targets
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    58
build:		$(BUILD_NO_ARCH)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    59
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    60
install:	$(INSTALL_NO_ARCH)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    61
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    62
test:		$(NO_TESTS)
043f53535ed4 PSARC/2013/390 Babel 1.3
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    63
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
    64
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
    65