#
# 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
# 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) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/python/logilab-common-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="common python libraries for logilab applications"
set name=pkg.description \
value="Modules providing low level functionality shared among various python projects."
set name=com.oracle.info.description \
value="the logilab-common Python $(MAYBE_PYVER_SPACE)module"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
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=LSARC/2009/298
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
link path=usr/bin/pytest target=pytest-$(PYVER) mediator=python \
mediator-version=$(PYVER)
# pytest-$(PYVER) is doing "from logilab.common.pytest import run". That
# triggers a series of import instructions in the bytecode, one of which
# is "import logilab". But there's nothing that pkgdepend can recognize
# as providing the logilab package, so it errors out, unless we add in
# the bypass for __init__.py. See also CR #24506760.
file path=usr/bin/pytest-$(PYVER) \
pkg.depend.bypass-generate=.*logilab/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/cache.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/changelog.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/clcommands.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/compat.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/configuration.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/daemon.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/date.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/debugger.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/decorators.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/deprecation.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/fileutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/graph.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/interface.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/logging_ext.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/modutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/optik_ext.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/optparser.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/proc.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/pytest.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/registry.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/shellutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/sphinx_ext.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/sphinxutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/table.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/tasksqueue.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/testlib.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/textutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/tree.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/umessage.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/ureports/docbook_writer.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/ureports/html_writer.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/ureports/nodes.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/ureports/text_writer.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/urllib2ext.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/vcgutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/visitor.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab/common/xmlutils.py
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER)-nspkg.pth
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/namespace_packages.txt
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
file path=usr/lib/python$(PYVER)/vendor-packages/logilab_common-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
#
license logilab-common.license license=LGPLv2.1,GPLv2
# force the rename with an optional dependency on the old name
depend type=optional \
fmri=library/python-2/logilab-common-$(PYV)@0.58.2,5.12-5.12.0.0.0.41.0
# force a dependency on the Python $(PYVER) runtime
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
# force a dependency on the logilab-common package
depend type=require \
fmri=library/python/logilab-common@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
# force a dependency on the six package
depend type=require \
fmri=library/python/six-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)