Ticket #31110: Portfile.2

File Portfile.2, 1.5 KB (added by pope (K. Adam Christensen), 13 years ago)

python/py-gflags/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:$
3
4PortSystem         1.0
5PortGroup          python 1.0
6
7name               py-gflags
8version            1.6
9license            BSD
10categories-append  devel
11maintainers        shifteleven.com:pope openmaintainer
12description        Commandline flags module for Python
13long_description \
14    The gflags package contains a library that implements commandline \
15    flags processing. As such it's a replacement for getopt(). It has \
16    increased flexibility, including built-in support for Python \
17    types, and the ability to define flags in the source file in which \
18    they're used. (This last is its major difference from OptParse.)
19
20platforms          darwin
21supported_archs    noarch
22
23homepage           http://code.google.com/p/python-gflags/
24master_sites       googlecode:python-gflags
25distname           python-gflags-${version}
26
27python.versions    25 26 27
28python.default_version 27
29
30if {$subport != $name} {
31    depends_lib-append port:py${python.version}-distribute
32}
33
34post-destroot {
35   foreach eggfile [glob ${destroot}${python.pkgd}/python_gflags-${version}-py${python.branch}.egg-info/*] {
36      file attributes ${eggfile} -permissions 0644
37   }
38}
39
40checksums          md5     b84abe9b146d7365ae14272e87962731 \
41                   sha1    e937d3bf5f77f12a210e7ae96d44dfa76e3f5a4b \
42                   rmd160  ab15c174460d3d78b74d63584098336f35fcf588
43
44livecheck.type     googlecode