source: trunk/dports/python/py-greenlet/Portfile

Last change on this file was 149351, checked in by stromnov@…, 13 months ago

py-greenlet: update to version 0.4.10

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 149351 2016-06-14 14:39:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-greenlet
8version             0.4.10
9revision            0
10categories-append   devel
11platforms           darwin
12license             MIT PSF
13
14python.versions     26 27 33 34 35
15
16maintainers         stromnov openmaintainer
17
18description         Lightweight in-process concurrent programming
19
20long_description    The \"greenlet\" package is a spin-off of \
21                    Stackless, a version of CPython that supports \
22                    micro-threads called \"tasklets\". Tasklets run \
23                    pseudo-concurrently (typically in a single or \
24                    a few OS-level threads) and are synchronized \
25                    with data exchanges on \"channels\". \
26                    \
27                    A \"greenlet\", on the other hand, is a still \
28                    more primitive notion of micro-thread with no \
29                    implicit scheduling\; coroutines, in other \
30                    words. This is useful when you want to control \
31                    exactly when your code runs. You can build \
32                    custom scheduled micro-threads on top of \
33                    greenlet\; however, it seems that greenlets are \
34                    useful on their own as a way to make advanced \
35                    control flow structures. For example, we can \
36                    recreate generators\; the difference with \
37                    Python's own generators is that our generators \
38                    can call nested functions and the nested \
39                    functions can yield values too. Additionally, \
40                    you don't need a \"yield\" keyword. See the \
41                    example in test_generator.py. \
42                    \
43                    Greenlets are provided as a C extension module \
44                    for the regular unmodified interpreter.
45
46homepage            http://undefined.org/python/#greenlet
47master_sites        pypi:g/greenlet
48
49distname            greenlet-${version}
50
51checksums           rmd160  b3868b9ff4e2bfd8734a0f56cd628828fa494931 \
52                    sha256  9a98d49f63259b16d3627976b69dd856888a376c498b091c8e9ead56d5098ca8
53
54if {${name} ne ${subport}} {
55    depends_build-append \
56                        port:py${python.version}-setuptools
57    use_zip             yes
58
59    livecheck.type      none
60} else {
61    livecheck.type      pypi
62}
Note: See TracBrowser for help on using the repository browser.