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

Last change on this file was 150230, checked in by petr@…, 15 months ago

py-argh: update to version @0.26.2, retire py33 and add py35 subport, fix homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 150230 2016-07-13 10:32:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           argh
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             0.26.2
12platforms           darwin
13supported_archs     noarch
14license             LGPL-3+
15maintainers         petr openmaintainer
16
17description         A simple argparse wrapper
18long_description    ${description}
19
20homepage            https://github.com/neithere/${python.rootname}
21master_sites        pypi:${_n}/${_name}
22distname            ${_name}-${version}
23
24checksums           md5     edda25f3f0164a963dd89c0e3c619973 \
25                    rmd160  42da2aa1dfae654419acfc62db73d0fb27ecd23f \
26                    sha256  e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65
27
28python.versions     27 34 35
29
30if {${name} ne ${subport}} {
31    depends_build  port:py${python.version}-setuptools
32
33    livecheck.type  none
34} else {
35    livecheck.type  regex
36    livecheck.url   https://pypi.python.org/pypi/${_name}/json
37    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
38}
Note: See TracBrowser for help on using the repository browser.