[145790] trunk/dports/python
petr at macports.org
petr at macports.org
Wed Feb 17 06:13:34 PST 2016
Revision: 145790
https://trac.macports.org/changeset/145790
Author: petr at macports.org
Date: 2016-02-17 06:13:34 -0800 (Wed, 17 Feb 2016)
Log Message:
-----------
py-flake8-pep8-naming: new port
Added Paths:
-----------
trunk/dports/python/py-flake8-pep8-naming/
trunk/dports/python/py-flake8-pep8-naming/Portfile
Added: trunk/dports/python/py-flake8-pep8-naming/Portfile
===================================================================
--- trunk/dports/python/py-flake8-pep8-naming/Portfile (rev 0)
+++ trunk/dports/python/py-flake8-pep8-naming/Portfile 2016-02-17 14:13:34 UTC (rev 145790)
@@ -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 pep8-naming
+set _n [string index ${_name} 0]
+
+name py-flake8-${_name}
+version 0.3.3
+categories-append devel
+platforms darwin
+supported_archs noarch
+license MIT
+
+maintainers petr openmaintainer
+
+description Check PEP-8 naming conventions, plugin for flake8
+
+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 566f05660200993191312d51cd5a6cc9 \
+ rmd160 a2f2031f1323df43f21d4a47e1d71eb1faa605d5 \
+ sha256 fc691c3f9a6022a41be0787c66cf269b415af07f151c682a946016928106f67e
+
+python.versions 27 34 35
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/${_name}/json
+ livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}
Property changes on: trunk/dports/python/py-flake8-pep8-naming/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/20160217/d7dadc1d/attachment.html>
More information about the macports-changes
mailing list