# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set real_name docopt name py-${real_name} version 0.6.2 categories-append devel platforms darwin supported_archs noarch license MIT maintainers hum openmaintainer description Pythonic argument parser, that will make you smile long_description ${description} homepage http://docopt.org master_sites pypi:d/${real_name}/ distname ${real_name}-${version} checksums rmd160 c2e76c031e12096906b9c6b1f7dc62a9b30336f1 \ sha256 49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${real_name} livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}" }