2120N/A#
2120N/A# CDDL HEADER START
2120N/A#
2120N/A# The contents of this file are subject to the terms of the
2120N/A# Common Development and Distribution License (the "License").
2120N/A# You may not use this file except in compliance with the License.
2120N/A#
2120N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2120N/A# or http://www.opensolaris.org/os/licensing.
2120N/A# See the License for the specific language governing permissions
2120N/A# and limitations under the License.
2120N/A#
2120N/A# When distributing Covered Code, include this CDDL HEADER in each
2120N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2120N/A# If applicable, add the following below this CDDL HEADER, with the
2120N/A# fields enclosed by brackets "[]" replaced with your own identifying
2120N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2120N/A#
2120N/A# CDDL HEADER END
2120N/A#
3996N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
2120N/A#
2120N/Ainclude ../../../make-rules/shared-macros.mk
2120N/A
2120N/ACOMPONENT_NAME= Pygments
2120N/ACOMPONENT_VERSION= 1.6
2120N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2120N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2120N/ACOMPONENT_ARCHIVE_HASH= \
2120N/A sha256:799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
2120N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2120N/ACOMPONENT_PROJECT_URL= http://pygments.org/
2120N/ACOMPONENT_BUGDB= python-mod/pygments
2120N/A
3661N/ATPNO= 15206
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
2120N/A
2120N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2120N/A
2120N/ACOMPONENT_TEST_ARGS= tests/run.py
2120N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
2120N/A
2120N/ACOMPONENT_POST_INSTALL_ACTION = \
2120N/A (cd $(PROTO_DIR)/usr/bin ; \
2120N/A $(MV) -f pygmentize pygmentize-$(PYTHON_VERSION))
2120N/A
2120N/A# common targets
2120N/Abuild: $(BUILD_NO_ARCH)
2120N/A
2120N/Ainstall: $(INSTALL_NO_ARCH)
2120N/A
2120N/A
2120N/A#
2120N/A# Some of the tests can fail if markupsafe isn't installed (the
2120N/A# dependency in indirect via mako which itself lacks a dependency on the
2120N/A# former.)
2120N/A#
2120N/Atest: $(TEST_NO_ARCH)
2120N/A
2120N/A
3996N/AREQUIRED_PACKAGES += library/python/setuptools-26
3996N/AREQUIRED_PACKAGES += library/python/setuptools-27
3996N/AREQUIRED_PACKAGES += library/python/setuptools-34