Ticket #25792: Portfile

File Portfile, 1.6 KB (added by dsdale24@…, 14 years ago)

py31-cython Portfile

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 64758 2010-03-15 14:54:02Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python31 1.0
6
7name                py31-cython
8version             0.12.1
9categories          python devel
10maintainers         nomaintainer
11platforms           darwin
12description         A language for writing C extension modules for Python.
13long_description    Cython is a language that makes writing C extensions for\
14                    the Python language as easy as Python itself. Cython is\
15                    based on the well-known Pyrex, but supports more cutting\
16                    edge functionality and optimizations
17
18homepage            http://www.cython.org/
19master_sites        ${homepage}release/ \
20                    http://pypi.python.org/packages/source/C/Cython/
21
22distname            Cython-${version}
23checksums           md5     cf9f98e982258f8516620277975016f3 \
24                    sha1    a56859f0b17e9db15da6f292f6a79ac47195e5f7 \
25                    rmd160  d1690e1f308bda8dd332cbded831bae59ba03207
26
27post-destroot {
28    xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
29        extension_types.html index.html overview.html primes.c sharing.html \
30        special_methods.html ${destroot}${prefix}/share/doc/${name}
31    xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.txt\
32        ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name}
33}
34
35livecheck.type      regex
36livecheck.url       [lindex $master_sites 0]
37livecheck.regex     "Cython-(\[0-9.\]+)${extract.suffix}"