Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 1.44 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-gflags
version 2.0
categories-append devel
license BSD
supported_archs noarch
maintainers {conall.net:conall+macports @conallob}
description Python equivalent of google-gflag, a getopt() replacement.
long_description \
A library that implements commandline flags processing. As such it's a \
replacement for getopt(). It has increased flexibility, including \
built-in support for Python types, and the ability to define flags in \
the source file in which they're used. (This last is its major \
difference from OptParse.)
platforms darwin
homepage https://code.google.com/p/python-gflags/
master_sites googlecode:python-gflags
distname python-gflags-${version}
checksums sha1 db309e6964b102ff36de319ce551db512a78281e \
rmd160 b54a08bbb4dfb79cea17aef60e65f0847aab0a26 \
sha256 311066217acb8cd8519a4c872cb3fe64f02bcf105802bb761ab0de55c2386cd6
python.versions 27 34 35 36
python.default_version 27
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
}
livecheck.type googlecode
livecheck.regex python-gflags-(\[0-9\.-\]+).tar.gz