components/python/alembic/alembic-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
child 4072 db0cec748ec0
equal deleted inserted replaced
3698:9c01a3410e89 3704:69ab8eca01c5
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 set name=pkg.fmri \
    24 set name=pkg.fmri \
    25     value=pkg:/library/python-2/alembic-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    25     value=pkg:/library/python/alembic-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    26 set name=pkg.summary value="A database migration tool for SQLAlchemy."
    26 set name=pkg.summary value="A database migration tool for SQLAlchemy."
    27 set name=pkg.description \
    27 set name=pkg.description \
    28     value="The Python alembic module is a new database migrations tool, offering the following functionality: 1) Can emit ALTER statements to a database in order to change the structure of tables and other constructs. 2) Provides a system whereby 'migration scripts' may be constructed; each script indicates a particular series of steps that can 'upgrade' a target database to a new version, and optionally a series of steps that can 'downgrade' similarly, doing the same steps in reverse. 3) Allows the scripts to execute in some sequential manner."
    28     value="The Python alembic module is a new database migrations tool, offering the following functionality: 1) Can emit ALTER statements to a database in order to change the structure of tables and other constructs. 2) Provides a system whereby 'migration scripts' may be constructed; each script indicates a particular series of steps that can 'upgrade' a target database to a new version, and optionally a series of steps that can 'downgrade' similarly, doing the same steps in reverse. 3) Allows the scripts to execute in some sequential manner."
    29 set name=com.oracle.info.description value="the Python alembic module"
    29 set name=com.oracle.info.description value="the Python alembic module"
    30 set name=com.oracle.info.tpno value=$(TPNO)
    30 set name=com.oracle.info.tpno value=$(TPNO)
    74 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/templates/pylons/env.py
    74 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/templates/pylons/env.py
    75 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/templates/pylons/script.py.mako
    75 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/templates/pylons/script.py.mako
    76 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/util.py
    76 file path=usr/lib/python$(PYVER)/vendor-packages/alembic/util.py
    77 license alembic.license license=MIT
    77 license alembic.license license=MIT
    78 
    78 
       
    79 # force the rename with an optional dependency on the old name
       
    80 depend type=optional \
       
    81     fmri=library/python-2/alembic-$(PYV)@0.6.0,5.11-0.175.3.0.0.16.0
       
    82 
    79 # force a dependency on the Python runtime
    83 # force a dependency on the Python runtime
    80 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
    84 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
    81     pkg.debug.depend.path=usr/bin
    85     pkg.debug.depend.path=usr/bin
    82 
    86 
    83 # force a dependency on the alembic package
    87 # force a dependency on the alembic package
    84 depend type=require \
    88 depend type=require \
    85     fmri=library/python-2/alembic@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    89     fmri=library/python/alembic@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    86 
    90 
    87 # force a dependency on mako; pkgdepend work is needed to flush this out.
    91 # force a dependency on mako; pkgdepend work is needed to flush this out.
    88 depend type=require fmri=library/python-2/mako-$(PYV)
    92 depend type=require fmri=library/python/mako-$(PYV)