Revision
149482
Author
sean@macports.org
Date
2016-06-22 15:56:48 -0700 (Wed, 22 Jun 2016)

Log Message

pytest-xdist: add new port

Added Paths

Diff

Added: trunk/dports/python/py-pytest-xdist/Portfile (0 => 149482)


--- trunk/dports/python/py-pytest-xdist/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pytest-xdist/Portfile	2016-06-22 22:56:48 UTC (rev 149482)
@@ -0,0 +1,40 @@
+# -*- 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
+
+name                py-pytest-xdist
+version             1.14
+categories-append   devel
+platforms           darwin
+supported_archs     noarch
+license             MIT
+maintainers         nomaintainer
+
+description         ${python.rootname} adds extends pytest with some unique test execution modes
+long_description    ${description}
+
+homepage            https://pypi.python.org/pypi/${python.rootname}/${version}
+master_sites        https://pypi.io/packages/source/[string index ${python.rootname} 0]/${python.rootname}
+
+use_zip             yes
+
+distname            ${python.rootname}-${version}
+
+checksums           rmd160  adabee9f8df156188837348ab042f246daedbbf3 \
+                    sha256  4a5e1199122fa29e3017d8d189f59ccc5d82e841474ba2a1eec0e89606153623
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools \
+                            port:py${python.version}-setuptools_scm
+
+    depends_lib-append      port:py${python.version}-pytest \
+                            port:py${python.version}-execnet
+
+    livecheck.type  none
+} else {
+    livecheck.type  pypi
+}