#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/python/markdown-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Python implementation of John Gruber's Markdown"
set name=pkg.description \
value="Markdown is an implementation of John Gruber's Markdown parser that follows the syntax rules and the behavior of the original (markdown.pl) implementation and which is suited to use in web server environments (such that it never raises an exception, never writes to standard output, etc.) It provides an Extension API which makes it possible to change and/or extend the behavior of the parser."
set name=com.oracle.info.description value="the Python Markdown implementation"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value=org.opensolaris.category.2008:Development/Python
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream value="Waylan Limberg <waylan@gmail.com>"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2013/317
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
link path=usr/bin/markdown_py target=markdown_py-$(PYVER) mediator=python \
mediator-version=$(PYVER)
file path=usr/bin/markdown_py-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/Markdown-$(COMPONENT_VERSION)-py$(PYVER).egg-info
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/__main__.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/__version__.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/blockparser.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/blockprocessors.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/abbr.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/admonition.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/attr_list.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/codehilite.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/def_list.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/extra.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/fenced_code.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/footnotes.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/headerid.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/meta.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/nl2br.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/sane_lists.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/smart_strong.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/smarty.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/tables.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/toc.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/extensions/wikilinks.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/inlinepatterns.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/odict.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/postprocessors.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/preprocessors.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/serializers.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/treeprocessors.py
file path=usr/lib/python$(PYVER)/vendor-packages/markdown/util.py
#
license markdown.license license="BSD, MIT"
# force a group dependency on the optional pygments; pkgdepend work is needed to
# flush this out.
depend type=group fmri=library/python/pygments-$(PYV)
# force the rename with an optional dependency on the old name
depend type=optional \
fmri=library/python-2/markdown-$(PYV)@2.3.1,5.12-5.12.0.0.0.41.0
# force a dependency on the markdown package
depend type=require \
fmri=library/python/markdown@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)