components/python/mysql/mysql-PYVER.p5m
author Rich Burridge <rich.burridge@oracle.com>
Tue, 08 Jan 2013 10:50:32 -0800
changeset 1101 704a6c485f1a
child 1112 7bc7f29cb517
permissions -rw-r--r--
15820219 SUNBT7202659 Move python/mysql from Desktop consolidation to Userland

#
# 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) 2013, Oracle and/or its affiliates. All rights reserved.
#

set name=pkg.fmri \
    value=pkg:/library/python-2/python-mysql-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary \
    value="A MySQL database adapter for the Python programming language"
set name=info.classification \
    value=org.opensolaris.category.2008:Development/Databases
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/2008/081
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

# force a dependency on the Python runtime
depend fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
       pkg.debug.depend.path=usr/bin type=require

# force a dependency on the mysql package
depend fmri=library/python-2/mysql@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
    type=require

dir  path=usr
dir  path=usr/lib
dir  path=usr/lib/python$(PYVER)
dir  path=usr/lib/python$(PYVER)/vendor-packages
dir  path=usr/lib/python$(PYVER)/vendor-packages/MySQL_python-1.2.2-py$(PYVER).egg-info
file path=usr/lib/python$(PYVER)/vendor-packages/MySQL_python-1.2.2-py$(PYVER).egg-info/PKG-INFO
file path=usr/lib/python$(PYVER)/vendor-packages/MySQL_python-1.2.2-py$(PYVER).egg-info/SOURCES.txt
file path=usr/lib/python$(PYVER)/vendor-packages/MySQL_python-1.2.2-py$(PYVER).egg-info/dependency_links.txt
file path=usr/lib/python$(PYVER)/vendor-packages/MySQL_python-1.2.2-py$(PYVER).egg-info/top_level.txt
dir  path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/connections.py
dir  path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/CLIENT.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/CR.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/ER.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/FIELD_TYPE.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/FLAG.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/REFRESH.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/constants/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/converters.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/cursors.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/release.py
file path=usr/lib/python$(PYVER)/vendor-packages/MySQLdb/times.py
file path=usr/lib/python$(PYVER)/vendor-packages/_mysql.so
file path=usr/lib/python$(PYVER)/vendor-packages/_mysql_exceptions.py
dir  path=usr/share
license mysql.license license=GPLv2

# python-mysql was previously in the 'desktop' consolidation. This optional
# dependency is here to facilitate the safe transfer of the package
# to the 'userland' consolidation.
depend type=optional fmri=consolidation/desktop/[email protected]