# -*- 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 realname itsdangerous name py-${realname} version 0.23 python.versions 25 26 27 license BSD platforms darwin supported_archs noarch maintainers aronnax openmaintainer description Various helpers to pass trusted data to untrusted environments and back long_description ${description} homepage http://pythonhosted.org/itsdangerous/ master_sites http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/ distname ${realname}-${version} checksums md5 985e726eb76f18aca81e703f0a6c6efc \ sha1 2bf6bf635245c278c14cbac39974adac4ff1460a \ rmd160 1c48dae4294d52f32d26eb9270affba24c109d8b if {${name} eq ${subport}} { livecheck.type regex livecheck.url "http://pypi.python.org/pypi?:action=doap&name=${realname}" livecheck.regex {([^<]+)} } else { depends_build-append \ port:py${python.version}-setuptools livecheck.type none }