Revision: 132575 https://trac.macports.org/changeset/132575 Author: petr@macports.org Date: 2015-02-04 18:04:31 -0800 (Wed, 04 Feb 2015) Log Message: ----------- py-jwt: new port Added Paths: ----------- trunk/dports/python/py-jwt/ trunk/dports/python/py-jwt/Portfile Added: trunk/dports/python/py-jwt/Portfile =================================================================== --- trunk/dports/python/py-jwt/Portfile (rev 0) +++ trunk/dports/python/py-jwt/Portfile 2015-02-05 02:04:31 UTC (rev 132575) @@ -0,0 +1,46 @@ +# -*- 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 PyJWT +set _n [string index ${_name} 0] + +name py-jwt +version 0.4.1 +categories-append security +platforms darwin +supported_archs noarch +license MIT +maintainers petr openmaintainer + +description JSON Web Token implementation in Python +long_description ${description} + +homepage https://pypi.python.org/pypi/${_name}/${version} +master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ +distname ${_name}-${version} + +checksums md5 cafa75027106a70e2f246ab0e3a44e5d \ + rmd160 42741048ff69e2cccb3aa83d1d5369de09dad581 \ + sha256 dea6b6a402f721265aa257a8a40ede290c1a295f75f88099eb5b6701d93b980e + +python.versions 27 34 + +if {${name} ne ${subport}} { + depends_build-append port:py${python.version}-setuptools + + # cleanup messy PyPI package, remove after upstream correction + post-extract { + set egg ${worksrcpath}/PyJWT.egg-info + delete ${egg}/SOURCES.txt + move ${egg}/SOURCES\ (Joses-iMac's\ conflicted\ copy\ 2014-10-17).txt ${egg}/SOURCES.txt + } + + livecheck.type none +} else { + livecheck.type regex + livecheck.url https://pypi.python.org/pypi/${_name}/json + livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\"" +} Property changes on: trunk/dports/python/py-jwt/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
petr@macports.org