components/python/greenlet/greenlet-PYVER.p5m
changeset 3998 5bd484384122
parent 1948 2d1537e7942d
child 4979 43ca747f5e4a
equal deleted inserted replaced
3997:0ca3f3d6c919 3998:5bd484384122
    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) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    21 
       
    22 #
       
    23 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    24 #
    23 
    25 
    24 set name=pkg.fmri \
    26 set name=pkg.fmri \
    25     value=pkg:/library/python/greenlet-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    27     value=pkg:/library/python/greenlet-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    26 set name=pkg.summary value="Coroutine module for Python"
    28 set name=pkg.summary value="Lightweight in-process concurrent programming"
    27 set name=pkg.description \
    29 set name=pkg.description \
    28     value="Greenlet is a Python module providing lightweight coroutines for in-process concurrent programming."
    30     value="The greenlet package supports micro-threads called 'tasklets'. Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on 'channels'. A 'greenlet', on the other hand, is a still more primitive notion of micro-thread with no implicit scheduling; coroutines, in other words. This is useful when one want to control exactly when one's code runs. One can build custom scheduled micro-threads on top of greenlet; However, greenlets are useful on their own as a way to make advanced control flow structures. For example, one can recreate generators; the difference with Python's own generators is that greenlet's generators can call nested functions and the nested functions can yield values too."
    29 set name=com.oracle.info.description \
    31 set name=com.oracle.info.description \
    30     value="the Python greenlet coroutine module"
    32     value="the Python greenlet coroutine module"
    31 set name=com.oracle.info.tpno value=$(TPNO)
    33 set name=com.oracle.info.tpno value=$(TPNO)
    32 set name=info.classification \
    34 set name=info.classification \
    33     value=org.opensolaris.category.2008:Development/Python
    35     value=org.opensolaris.category.2008:Development/Python
    34 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    36 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    35 set name=info.upstream value="Ralf Schmitt <[email protected]>"
    37 set name=info.upstream value="Ralf Schmitt <[email protected]>"
    36 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
    38 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
    37 set name=org.opensolaris.arc-caseid value=PSARC/2013/140
    39 set name=org.opensolaris.arc-caseid value=PSARC/2013/140
    38 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
    40 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
    39 file path=usr/include/python$(PYVER)/greenlet/greenlet.h
    41 #
       
    42 $(PYTHON_2.6_ONLY)file path=usr/include/python$(PYVER)/greenlet/greenlet.h
       
    43 $(PYTHON_2.7_ONLY)file path=usr/include/python$(PYVER)/greenlet/greenlet.h
       
    44 $(PYTHON_3.4_ONLY)file path=usr/include/python$(PYVER)m/greenlet/greenlet.h
    40 file path=usr/lib/python$(PYVER)/vendor-packages/64/greenlet.so
    45 file path=usr/lib/python$(PYVER)/vendor-packages/64/greenlet.so
    41 file path=usr/lib/python$(PYVER)/vendor-packages/greenlet-$(COMPONENT_VERSION)-py$(PYVER).egg-info
    46 file path=usr/lib/python$(PYVER)/vendor-packages/greenlet-$(COMPONENT_VERSION)-py$(PYVER).egg-info
    42 file path=usr/lib/python$(PYVER)/vendor-packages/greenlet.so
    47 file path=usr/lib/python$(PYVER)/vendor-packages/greenlet.so
       
    48 #
    43 license greenlet.license license="MIT, PSFv2"
    49 license greenlet.license license="MIT, PSFv2"
    44 
    50 
    45 # force the rename with an optional dependency on the old name
    51 # force the rename with an optional dependency on the old name
    46 depend type=optional \
    52 depend type=optional \
    47     fmri=library/python-2/greenlet-$(PYV)@0.4.1,5.12-5.12.0.0.0.41.0
    53     fmri=library/python-2/greenlet-$(PYV)@0.4.1,5.12-5.12.0.0.0.41.0