[116930] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Mon Feb 10 13:00:41 PST 2014
Revision: 116930
https://trac.macports.org/changeset/116930
Author: macsforever2000 at macports.org
Date: 2014-02-10 13:00:41 -0800 (Mon, 10 Feb 2014)
Log Message:
-----------
py-flake8-mccabe: New port. (#42436)
Added Paths:
-----------
trunk/dports/python/py-flake8-mccabe/
trunk/dports/python/py-flake8-mccabe/Portfile
Added: trunk/dports/python/py-flake8-mccabe/Portfile
===================================================================
--- trunk/dports/python/py-flake8-mccabe/Portfile (rev 0)
+++ trunk/dports/python/py-flake8-mccabe/Portfile 2014-02-10 21:00:41 UTC (rev 116930)
@@ -0,0 +1,42 @@
+# -*- 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 mccabe
+set _n [string index ${_name} 0]
+
+name py-flake8-${_name}
+version 0.2.1
+categories-append devel
+platforms darwin
+supported_archs noarch
+license MIT
+
+maintainers bo.ingv.it:Peter.Danecek openmaintainer
+
+description McCabe complexity checker for Python code, flake8 plugin
+
+long_description ${description}
+
+homepage https://pypi.python.org/pypi/${_name}/${version}
+
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums md5 5a3f3fa6a4bad126c88aaaa7dab682f5 \
+ rmd160 290485427a675911392a6145f43b4b0ee1b109f8 \
+ sha256 5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a
+
+python.versions 26 27 33 34
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+}
Property changes on: trunk/dports/python/py-flake8-mccabe/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140210/26b2d9a0/attachment.html>
More information about the macports-changes
mailing list