[118036] trunk/dports/python

cal at macports.org cal at macports.org
Wed Mar 19 16:47:27 PDT 2014


Revision: 118036
          https://trac.macports.org/changeset/118036
Author:   cal at macports.org
Date:     2014-03-19 16:47:27 -0700 (Wed, 19 Mar 2014)
Log Message:
-----------
new ports: py-tox and tox_select, closes #42907 and #42908

Added Paths:
-----------
    trunk/dports/python/py-tox/
    trunk/dports/python/py-tox/Portfile
    trunk/dports/python/py-tox/files/
    trunk/dports/python/py-tox/files/tox25
    trunk/dports/python/py-tox/files/tox26
    trunk/dports/python/py-tox/files/tox27
    trunk/dports/python/tox_select/
    trunk/dports/python/tox_select/Portfile
    trunk/dports/python/tox_select/files/
    trunk/dports/python/tox_select/files/base
    trunk/dports/python/tox_select/files/none

Added: trunk/dports/python/py-tox/Portfile
===================================================================
--- trunk/dports/python/py-tox/Portfile	                        (rev 0)
+++ trunk/dports/python/py-tox/Portfile	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1,39 @@
+# -*- 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
+PortGroup           select 1.0
+PortGroup           bitbucket 1.0
+
+bitbucket.setup     hpk42 tox 1.6.1
+
+name                py-tox
+version             1.6.1
+categories          python devel
+maintainers         nomaintainer
+platforms           darwin
+supported_archs     noarch
+license             MIT
+description         tox: virtualenv-based automation of test activities
+long_description    Tox as is a generic virtualenv management and test command line tool
+homepage            https://bitbucket.org/hpk42/tox/
+
+checksums           sha256 b4aaa0b330d5f5963d196b65760e13c69d614f57ca93f22b3ca293f037aabd3a
+
+python.versions     25 26 27
+
+if {${name} ne ${subport}} {
+    depends_lib-append port:py${python.version}-py \
+                       port:py${python.version}-virtualenv \
+                       port:tox_select
+    livecheck.type     none
+    select.group       tox
+    select.file        ${filespath}/tox${python.version}
+    notes "
+To make the Python ${python.branch} version of tox the one that is run\
+when you execute the commands without a version suffix, e.g. 'tox', run:
+
+port select --set ${select.group} [file tail ${select.file}]
+"
+}


Property changes on: trunk/dports/python/py-tox/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py-tox/files/tox25
===================================================================
--- trunk/dports/python/py-tox/files/tox25	                        (rev 0)
+++ trunk/dports/python/py-tox/files/tox25	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1 @@
+bin/tox-2.5

Added: trunk/dports/python/py-tox/files/tox26
===================================================================
--- trunk/dports/python/py-tox/files/tox26	                        (rev 0)
+++ trunk/dports/python/py-tox/files/tox26	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1 @@
+bin/tox-2.6

Added: trunk/dports/python/py-tox/files/tox27
===================================================================
--- trunk/dports/python/py-tox/files/tox27	                        (rev 0)
+++ trunk/dports/python/py-tox/files/tox27	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1 @@
+bin/tox-2.7

Added: trunk/dports/python/tox_select/Portfile
===================================================================
--- trunk/dports/python/tox_select/Portfile	                        (rev 0)
+++ trunk/dports/python/tox_select/Portfile	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1,34 @@
+# -*- 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           select 1.0
+
+name                tox_select
+version             0.1
+categories          python
+license             MIT
+platforms           darwin
+supported_archs     noarch
+
+maintainers         nomaintainer
+
+description         common files for selecting default tox version
+long_description \
+   This port installs files that allow 'port select' to be used to \
+   create links to the preferred default version of tox.
+
+homepage            http://www.macports.org/
+
+distfiles
+
+use_configure       no
+
+build               {}
+
+destroot {
+    select::install tox ${filespath}/base
+    select::install tox ${filespath}/none
+}
+
+livecheck.type      none


Property changes on: trunk/dports/python/tox_select/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/tox_select/files/base
===================================================================
--- trunk/dports/python/tox_select/files/base	                        (rev 0)
+++ trunk/dports/python/tox_select/files/base	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1 @@
+bin/tox

Added: trunk/dports/python/tox_select/files/none
===================================================================
--- trunk/dports/python/tox_select/files/none	                        (rev 0)
+++ trunk/dports/python/tox_select/files/none	2014-03-19 23:47:27 UTC (rev 118036)
@@ -0,0 +1 @@
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140319/3bdfab1e/attachment.html>


More information about the macports-changes mailing list