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 107077 2013-06-17 20:45:28Z aronnax@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | set realname itsdangerous |
---|
8 | name py-${realname} |
---|
9 | version 0.21 |
---|
10 | python.versions 25 26 27 |
---|
11 | license BSD |
---|
12 | platforms darwin |
---|
13 | supported_archs noarch |
---|
14 | maintainers aronnax openmaintainer |
---|
15 | description Various helpers to pass trusted data to untrusted environments and back |
---|
16 | long_description ${description} |
---|
17 | homepage http://pythonhosted.org/itsdangerous/ |
---|
18 | master_sites http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/ |
---|
19 | distname ${realname}-${version} |
---|
20 | |
---|
21 | checksums md5 84d4b33f0a1e4d0f7f8f8755a5eb2580 \ |
---|
22 | sha1 683391f0331a65ab762d2561a25b852692dbd14c \ |
---|
23 | rmd160 09a1003cc07e3a3d9b764e58c692ed609f2bb241 |
---|
24 | |
---|
25 | if {${subport} == ${name}} { |
---|
26 | livecheck.type regex |
---|
27 | livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}] |
---|
28 | } else { |
---|
29 | depends_build-append \ |
---|
30 | port:py${python.version}-setuptools |
---|
31 | |
---|
32 | livecheck.type none |
---|
33 | } |
---|