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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-gflags |
---|
8 | version 1.6 |
---|
9 | license BSD |
---|
10 | categories-append devel |
---|
11 | maintainers shifteleven.com:pope openmaintainer |
---|
12 | description Commandline flags module for Python |
---|
13 | long_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 | |
---|
20 | platforms darwin |
---|
21 | supported_archs noarch |
---|
22 | |
---|
23 | homepage http://code.google.com/p/python-gflags/ |
---|
24 | master_sites googlecode:python-gflags |
---|
25 | distname python-gflags-${version} |
---|
26 | |
---|
27 | python.versions 25 26 27 |
---|
28 | python.default_version 27 |
---|
29 | |
---|
30 | if {$subport != $name} { |
---|
31 | depends_lib-append port:py${python.version}-distribute |
---|
32 | } |
---|
33 | |
---|
34 | post-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 | |
---|
40 | checksums md5 b84abe9b146d7365ae14272e87962731 \ |
---|
41 | sha1 e937d3bf5f77f12a210e7ae96d44dfa76e3f5a4b \ |
---|
42 | rmd160 ab15c174460d3d78b74d63584098336f35fcf588 |
---|
43 | |
---|
44 | livecheck.type googlecode |
---|