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

Last change on this file was 151727, checked in by ryandesign@…, 11 months ago

py-gflags: use googlecode fetchgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 151727 2016-08-21 17:40:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-gflags
8version             2.0
9categories-append   devel
10license             BSD
11supported_archs     noarch
12maintainers         conall.net:conall+macports
13description         Python equivalent of google-gflag, a getopt() replacement.
14
15long_description \
16    A library that implements commandline flags processing. As such it's a \
17    replacement for getopt(). It has increased flexibility, including      \
18    built-in support for Python types, and the ability to define flags in  \
19    the source file in which they're used. (This last is its major         \
20    difference from OptParse.)
21
22platforms           darwin
23homepage            http://code.google.com/p/python-gflags/
24master_sites        googlecode:python-gflags
25distname            python-gflags-${version}
26
27checksums           sha1    db309e6964b102ff36de319ce551db512a78281e \
28                    rmd160  b54a08bbb4dfb79cea17aef60e65f0847aab0a26 \
29                    sha256  311066217acb8cd8519a4c872cb3fe64f02bcf105802bb761ab0de55c2386cd6
30
31python.versions     26 27 34
32python.default_version 27
33
34if {${name} ne ${subport}} {
35    depends_build-append    port:py${python.version}-setuptools
36}
37
38livecheck.type      googlecode
39livecheck.regex     python-gflags-(\[0-9\.-\]+).tar.gz
40   
41
Note: See TracBrowser for help on using the repository browser.