#
# 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) 2016, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/python/pysmi-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="SNMP SMI parser in pure Python"
set name=pkg.description \
value="PySMI is a pure-Python implementation of an SNMP SMI parser. It is designed to accommodate multiple code generation backends in hope that they could be useful for SNMP MIB format conversions. However, the only code generation backend currently offered is PySNMP."
set name=com.oracle.info.description value="the pysmi Python module"
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-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2016/422
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
link path=usr/bin/mibdump.py target=mibdump.py-$(PYVER) mediator=python \
mediator-version=$(PYVER)
file path=usr/bin/mibdump.py-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/zip-safe
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/borrower/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/borrower/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/borrower/pyfile.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/codegen/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/codegen/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/codegen/null.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/codegen/pysnmp.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/codegen/symtable.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/compat.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/compiler.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/debug.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/error.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/lexer/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/lexer/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/lexer/smi.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/mibinfo.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/dialect.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/null.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/smi.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/smiv1.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/smiv1compat.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/parser/smiv2.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/callback.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/ftpclient.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/httpclient.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/localfile.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/reader/url.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/searcher/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/searcher/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/searcher/pyfile.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/searcher/pypackage.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/searcher/stub.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/writer/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/writer/base.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/writer/callback.py
file path=usr/lib/python$(PYVER)/vendor-packages/pysmi/writer/pyfile.py
#
license LICENSE.txt license="BSD 2-clause"
# force a dependency on ply; pkgdepend work is needed to flush this out.
depend type=require fmri=library/python/ply-$(PYV)
# force a dependency on the pysmi package
depend type=require \
fmri=library/python/pysmi@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)