components/python/pygments/Makefile
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 13 Jul 2016 14:48:26 -0700
changeset 6410 3ae42b2b5dad
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
permissions -rw-r--r--
PSARC/2016/355 cachetools - Extensible memoizing collections and decorators PSARC/2016/356 funcsigs - Backport of the PEP 362 function signature features from Python 3.3's inspect module PSARC/2016/358 pika-pool - pika connection pooling library PSARC/2016/362 pika - Python AMQP client library PSARC/2016/402 appdirs - Platform-specific application directories Python module PSARC/2016/430 requestsexceptions - find the path to exceptions in the requests library PSARC/2016/431 python-editor - Programmatically open an editor, capture the result PSARC/2016/432 rJSmin - Javascript Minifier PSARC/2016/433 unicodecsv - CSV python module with unicode support 22996389 The appdirs module should be added to Userland 22960798 The Python module cachetools should be added to Userland 22961272 The Python module funcsigs should be added to Userland 23528657 The Python pika module should be added to Userland 23520215 The Python pika-pool module should be added to Userland 23757060 The python-editor module should be added to Userland 23757078 The rJSmin python modules should be added to Userland 23757069 The requestsexceptions python module should be added to Userland 23757082 The unicodecsv python module should be added to Userland 23747719 update Babel to 2.3.4 23206271 Upgrade cffi to 1.5.2 23206346 Upgrade enum to 1.1.6 23206525 Upgrade filechunkio 1.6 23206568 Upgrade formencode to 1.3.0 23206878 Upgrade librabbitmq to 1.6.1 23206931 Upgrade markdown to 2.6.6 23206993 Upgrade markupsafe to 0.23 23119312 Upgrade pygments to 2.1.3 23207180 Upgrade pyparsing to 2.1.4 23207199 Upgrade pyrabbit to 1.1.0 23207670 Upgrade pytz to 2016.4 23209215 Upgrade rfc3986 to 0.3.1 23210233 Upgrade waitress to 0.9.0 23210235 Upgrade webtest to 2.0.21 23760103 Incorrect version of pymemcache delivered
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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    22
#
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5682
diff changeset
    23
# Copyright (c) 2012, 2016, 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
    24
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_NAME=		Pygments
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5682
diff changeset
    28
COMPONENT_VERSION=	2.1.3
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5682
diff changeset
    32
    sha256:88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81
1514
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	http://pygments.org/
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_BUGDB=	python-mod/pygments
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
6410
3ae42b2b5dad PSARC/2016/355 cachetools - Extensible memoizing collections and decorators
Laszlo Peter <laszlo.peter@oracle.com>
parents: 5682
diff changeset
    37
TPNO=			28720
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1514
diff changeset
    38
3817
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)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    40
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
    41
include $(WS_MAKE_RULES)/ips.mk
1514
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
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
COMPONENT_TEST_ARGS=	tests/run.py
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
COMPONENT_TEST_DIR=	$(SOURCE_DIR)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
COMPONENT_POST_INSTALL_ACTION = \
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
	(cd $(PROTO_DIR)/usr/bin ; \
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
         $(MV) -f pygmentize pygmentize-$(PYTHON_VERSION))
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
# common targets
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
build:		$(BUILD_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
install:	$(INSTALL_NO_ARCH)
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
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
# 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
    60
# 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
    61
# former.)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
#
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
test:		$(TEST_NO_ARCH)
b33565a68995 PSARC 2013/319 Pygments version 1.6
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
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
    65
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
    66
3817
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