components/python/pygments/Makefile
author Stacy Yeh <stacy.yeh@oracle.com>
Thu, 21 May 2015 13:48:49 -0700
changeset 4339 6501cf9c29f9
parent 3817 30b42c38bbc4
child 4984 7145b15b7f0d
permissions -rw-r--r--
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@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) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		Pygments
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	1.6
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
    sha256:799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://pygments.org/
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/pygments
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@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: 1514
diff changeset
    35
TPNO=			15206
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1514
diff changeset
    36
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    37
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
    38
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
    39
include $(WS_MAKE_RULES)/ips.mk
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
COMPONENT_TEST_ARGS=	tests/run.py
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
COMPONENT_TEST_DIR=	$(SOURCE_DIR)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
COMPONENT_POST_INSTALL_ACTION = \
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
	(cd $(PROTO_DIR)/usr/bin ; \
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
         $(MV) -f pygmentize pygmentize-$(PYTHON_VERSION))
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
# common targets
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_NO_ARCH)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_NO_ARCH)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
# Some of the tests can fail if markupsafe isn't installed (the
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
# dependency in indirect via mako which itself lacks a dependency on the
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
# former.)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
test:		$(TEST_NO_ARCH)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    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:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
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
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    66
REQUIRED_PACKAGES += library/python/setuptools-26
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    67
REQUIRED_PACKAGES += library/python/setuptools-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    68
REQUIRED_PACKAGES += library/python/setuptools-34