# -*- 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 _name oauthlib set _n [string index ${_name} 0] name py-${_name} version 1.0.3 categories-append net security platforms darwin supported_archs noarch license BSD maintainers petr openmaintainer description A generic, spec-compliant, thorough implementation of the \ OAuth request-signing logic. long_description ${description} homepage https://pypi.python.org/pypi/${_name}/${version} master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 02772867bf246b3b37f4ed22786c41f5 \ rmd160 07c48a5947b47d4511428c690452569f2191cc11 \ sha256 ef4bfe4663ca3b97a995860c0173b967ebd98033d02f38c9e1b2cbb6c191d9ad python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-blinker \ port:py${python.version}-cryptography \ port:py${python.version}-jwt \ port:py${python.version}-nose if { ${python.version} < 30 } { depends_lib-append port:py${python.version}-unittest2 \ port:py${python.version}-mock } test.run yes livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\"" }