source: trunk/dports/python/py-pyxg/Portfile @ 87113

Last change on this file since 87113 was 87113, checked in by snc@…, 8 years ago

py-pyxg: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 87113 2011-11-10 20:54:24Z snc@macports.org $
3
4PortSystem      1.0
5PortGroup           python 1.0
6
7name            py-pyxg
8version         0.3.0
9python.versions 24 25 26 27
10python.default_version  27
11categories      python devel
12platforms       darwin
13maintainers     snc openmaintainer
14license             BSD
15description     PyXG provides a Python interface to Apple's Xgrid
16long_description  Xgrid is Apple's solution for running jobs \
17                on a cluster of Macintosh computers. PyXG enables users to \
18                submit and manage Xgrid jobs on a cluster from a Python script \
19                or within an interactive Python session.
20
21homepage        http://pyxg.scipy.org/
22master_sites    http://github.com/downloads/pyxg/pyxg/
23distname        PyXG-${version}
24
25checksums           rmd160  6220811d77fe26e683e72720e4e487916df731fa \
26                sha256  6a551af355939d102fba1fd22e1cd4a7f12ba3387b612008565f36fdaa772fc4
27
28supported_archs noarch
29
30
31if {$subport != $name} {
32    if {${python.version} == 24} {
33        depends_lib-append  port:py24-bdist_mpkg \
34                            port:py-pyobjc
35        if {${os.major} > 8} {
36            notes-append "#29462: py-pyobjc2: unrecognized command line option '-Wno-long-double'"
37            depends_lib-delete  port:py-pyobjc
38            depends_lib-append  port:py-pyobjc2
39        }
40    }
41
42    if {${python.version} == 25} {
43        depends_lib-append  port:py${python.version}-bdist_mpkg
44    }
45
46    if {${python.version} == 25 || ${python.version} == 26 || ${python.version} == 27} {
47        depends_lib-append  port:py${python.version}-pyobjc-cocoa
48    }
49
50    livecheck.type      none
51} else {
52    livecheck.url   http://github.com/pyxg/pyxg/downloads
53    livecheck.regex "PyXG-(\\d+\\.\\d+(\\.\\d+)?)"
54}
Note: See TracBrowser for help on using the repository browser.