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

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

py-cython: update to version 0.25.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 154328 2016-10-27 22:50:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8name                py-cython
9version             0.25.1
10revision            0
11categories-append   devel
12platforms           darwin
13license             Apache-2
14
15python.versions     26 27 33 34 35
16
17maintainers         stromnov openmaintainer
18
19description         A language for writing C extension modules for Python.
20
21long_description    Cython is a language that makes writing C extensions for \
22                    the Python language as easy as Python itself. Cython is  \
23                    based on the well-known Pyrex, but supports more cutting \
24                    edge functionality and optimizations
25
26homepage            http://www.cython.org/
27master_sites        pypi:C/Cython
28
29distname            Cython-${version}
30
31checksums           rmd160  a44b0accf27ae0ae59274fd59c8b16a1e9ca067e \
32                    sha256  e0941455769335ec5afb17dee36dc3833b7edc2ae20a8ed5806c58215e4b6669
33
34if {${name} ne ${subport}} {
35    post-destroot {
36        xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/cython
37        xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
38            extension_types.html index.html overview.html primes.c sharing.html \
39            special_methods.html ${destroot}${python.prefix}/share/doc/cython
40        xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.txt \
41            ToDo.txt USAGE.txt ${destroot}${python.prefix}/share/doc/cython
42    }
43
44    depends_run         port:cython_select
45    test.run            no
46
47    select.group        cython
48    select.file         ${filespath}/cython${python.version}
49
50    notes "
51To make the Python ${python.branch} version of Cython the one that is run\
52when you execute the commands without a version suffix, e.g. 'cython', run:
53
54port select --set ${select.group} [file tail ${select.file}]
55"
56
57    livecheck.type      none
58} else {
59    livecheck.name      Cython
60    livecheck.type      pypi
61}
Note: See TracBrowser for help on using the repository browser.