490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa#
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa# CDDL HEADER START
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa#
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa# The contents of this file are subject to the terms of the
9b6c3209f4771089ca721d40cb96ff49b348e802Eugen Kuksa# Common Development and Distribution License (the "License").
5513a7cc4f5859d263e4cb66ae93e8dbfcf3681fEugen Kuksa# You may not use this file except in compliance with the License.
5513a7cc4f5859d263e4cb66ae93e8dbfcf3681fEugen Kuksa#
9b6c3209f4771089ca721d40cb96ff49b348e802Eugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9b6c3209f4771089ca721d40cb96ff49b348e802Eugen Kuksa# or http://www.opensolaris.org/os/licensing.
9b6c3209f4771089ca721d40cb96ff49b348e802Eugen Kuksa# See the License for the specific language governing permissions
9b6c3209f4771089ca721d40cb96ff49b348e802Eugen Kuksa# and limitations under the License.
745541d1ed9a97715ee21919e3dc495a1add55c0Eugen Kuksa#
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# When distributing Covered Code, include this CDDL HEADER in each
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# If applicable, add the following below this CDDL HEADER, with the
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# fields enclosed by brackets "[]" replaced with your own identifying
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# information: Portions Copyright [yyyy] [name of copyright owner]
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa#
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa# CDDL HEADER END
0050586f79baaf40dbe2cba81c239cad7939b283Eugen Kuksa#
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa#
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksainclude ../../../make-rules/shared-macros.mk
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa
490da89281b7ee019c87406fb8ce7359aff0932cEugen KuksaCOMPONENT_NAME= Markdown
bae71386e6259d8b2f6941f21f37559b12a49b39Eugen KuksaCOMPONENT_VERSION= 2.3.1
0050586f79baaf40dbe2cba81c239cad7939b283Eugen KuksaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
745541d1ed9a97715ee21919e3dc495a1add55c0Eugen KuksaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4c5fc55b01865cb3867ff4988c8316bcbe80aa02Eugen KuksaCOMPONENT_ARCHIVE_HASH= \
4c5fc55b01865cb3867ff4988c8316bcbe80aa02Eugen Kuksa sha256:ffebd9385717aba00ff4e95b705b7693ddf12a7d483483d441218b6d3f4cf290
4c5fc55b01865cb3867ff4988c8316bcbe80aa02Eugen KuksaCOMPONENT_ARCHIVE_URL= $(call pypi_url)
4c5fc55b01865cb3867ff4988c8316bcbe80aa02Eugen KuksaCOMPONENT_PROJECT_URL= http://packages.python.org/Markdown/
34d2f277614575f9a03071c000258f5681195044Eugen KuksaCOMPONENT_BUGDB= python-mod/markdown
bae71386e6259d8b2f6941f21f37559b12a49b39Eugen Kuksa
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen KuksaTPNO= 15143
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksa
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksainclude $(WS_MAKE_RULES)/prep.mk
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksainclude $(WS_MAKE_RULES)/setup.py.mk
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksainclude $(WS_MAKE_RULES)/ips.mk
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksa
c4acc9d036b3f375366c2609951a66837a520b7bEugen KuksaASLR_MODE = $(ASLR_NOT_APPLICABLE)
c4acc9d036b3f375366c2609951a66837a520b7bEugen Kuksa
c4acc9d036b3f375366c2609951a66837a520b7bEugen KuksaCOMPONENT_TEST_ARGS= ./run-tests.py
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen KuksaCOMPONENT_TEST_DIR= $(SOURCE_DIR)
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen Kuksa
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen KuksaCOMPONENT_POST_INSTALL_ACTION = \
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen Kuksa (cd $(PROTO_DIR)/usr/bin ; \
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen Kuksa $(MV) -f markdown_py markdown_py-$(PYTHON_VERSION))
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen Kuksa
8020639d5f1f21a6b368d19f6e1b11040ae9696fEugen Kuksa# common targets
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksabuild: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
test: $(TEST_NO_ARCH)
REQUIRED_PACKAGES += library/python/pygments-26
REQUIRED_PACKAGES += library/python/pygments-27