Ticket #31351: Portfile

File Portfile, 1009 bytes (added by singingwolfboy@…, 13 years ago)

Unified, updated py-argparse port

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 75999 2011-02-15 15:28:46Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-argparse
8version             1.2.1
9python.versions     24 25 26
10categories          python devel
11platforms           darwin
12maintainers         stromnov openmaintainer
13
14description         Python command-line parsing library
15long_description    ${description} backported from Python 2.7
16
17homepage            http://code.google.com/p/argparse/
18master_sites        googlecode:argparse
19distname            argparse-${version}
20
21checksums           rmd160  4ba4f413fab2a5f566b9b9bf1572714cd762fc66 \
22                    sha256  ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4
23
24livecheck.type      regex
25livecheck.url       ${master_sites}
26livecheck.regex     "argparse-(\\d+(?:\\.\\d+)*)${extract.suffix}"