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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python31 1.0 |
---|
6 | |
---|
7 | name py31-cython |
---|
8 | version 0.12.1 |
---|
9 | categories python devel |
---|
10 | maintainers nomaintainer |
---|
11 | platforms darwin |
---|
12 | description A language for writing C extension modules for Python. |
---|
13 | long_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 | |
---|
18 | homepage http://www.cython.org/ |
---|
19 | master_sites ${homepage}release/ \ |
---|
20 | http://pypi.python.org/packages/source/C/Cython/ |
---|
21 | |
---|
22 | distname Cython-${version} |
---|
23 | checksums md5 cf9f98e982258f8516620277975016f3 \ |
---|
24 | sha1 a56859f0b17e9db15da6f292f6a79ac47195e5f7 \ |
---|
25 | rmd160 d1690e1f308bda8dd332cbded831bae59ba03207 |
---|
26 | |
---|
27 | post-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 | |
---|
35 | livecheck.type regex |
---|
36 | livecheck.url [lindex $master_sites 0] |
---|
37 | livecheck.regex "Cython-(\[0-9.\]+)${extract.suffix}" |
---|