[123062] trunk/dports/python/py-flake8
petr at macports.org
petr at macports.org
Mon Aug 4 11:37:37 PDT 2014
Revision: 123062
https://trac.macports.org/changeset/123062
Author: petr at macports.org
Date: 2014-08-04 11:37:37 -0700 (Mon, 04 Aug 2014)
Log Message:
-----------
py-flake8 @2.2.2: add port select support
Modified Paths:
--------------
trunk/dports/python/py-flake8/Portfile
Added Paths:
-----------
trunk/dports/python/py-flake8/files/
trunk/dports/python/py-flake8/files/flake826
trunk/dports/python/py-flake8/files/flake827
trunk/dports/python/py-flake8/files/flake833
trunk/dports/python/py-flake8/files/flake834
Modified: trunk/dports/python/py-flake8/Portfile
===================================================================
--- trunk/dports/python/py-flake8/Portfile 2014-08-04 18:35:28 UTC (rev 123061)
+++ trunk/dports/python/py-flake8/Portfile 2014-08-04 18:37:37 UTC (rev 123062)
@@ -3,12 +3,14 @@
PortSystem 1.0
PortGroup python 1.0
+PortGroup select 1.0
set _name flake8
set _n [string index ${_name} 0]
name py-${_name}
version 2.2.2
+revision 1
categories-append devel
platforms darwin
supported_archs noarch
@@ -43,6 +45,17 @@
port:py${python.version}-pep8 \
port:py${python.version}-flake8-mccabe
+ depends_run-append port:${_name}_select
+
+ select.group ${_name}
+ select.file ${filespath}/${_name}${python.version}
+ notes "
+To make the Python ${python.branch} version of flake8 the one that is run\
+when you execute the commands without a version suffix, e.g. 'flake8', run:
+
+port select --set ${select.group} [file tail ${select.file}]
+"
+
# Adding documentation
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
Added: trunk/dports/python/py-flake8/files/flake826
===================================================================
--- trunk/dports/python/py-flake8/files/flake826 (rev 0)
+++ trunk/dports/python/py-flake8/files/flake826 2014-08-04 18:37:37 UTC (rev 123062)
@@ -0,0 +1 @@
+bin/flake8-2.6
Added: trunk/dports/python/py-flake8/files/flake827
===================================================================
--- trunk/dports/python/py-flake8/files/flake827 (rev 0)
+++ trunk/dports/python/py-flake8/files/flake827 2014-08-04 18:37:37 UTC (rev 123062)
@@ -0,0 +1 @@
+bin/flake8-2.7
Added: trunk/dports/python/py-flake8/files/flake833
===================================================================
--- trunk/dports/python/py-flake8/files/flake833 (rev 0)
+++ trunk/dports/python/py-flake8/files/flake833 2014-08-04 18:37:37 UTC (rev 123062)
@@ -0,0 +1 @@
+bin/flake8-3.3
Added: trunk/dports/python/py-flake8/files/flake834
===================================================================
--- trunk/dports/python/py-flake8/files/flake834 (rev 0)
+++ trunk/dports/python/py-flake8/files/flake834 2014-08-04 18:37:37 UTC (rev 123062)
@@ -0,0 +1 @@
+bin/flake8-3.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140804/267671e7/attachment-0001.html>
More information about the macports-changes
mailing list