Revision: 145088 https://trac.macports.org/changeset/145088 Author: petr@macports.org Date: 2016-01-25 12:52:57 -0800 (Mon, 25 Jan 2016) Log Message: ----------- py-pytest-runner: new port Added Paths: ----------- trunk/dports/python/py-pytest-runner/ trunk/dports/python/py-pytest-runner/Portfile Added: trunk/dports/python/py-pytest-runner/Portfile =================================================================== --- trunk/dports/python/py-pytest-runner/Portfile (rev 0) +++ trunk/dports/python/py-pytest-runner/Portfile 2016-01-25 20:52:57 UTC (rev 145088) @@ -0,0 +1,41 @@ +# -*- 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 pytest-runner +set _n [string index ${_name} 0] + +name py-${_name} +version 2.6.2 +categories-append devel +platforms darwin +supported_archs noarch +license MIT +maintainers petr openmaintainer + +description pytest-runner adds test support to setup.py scripts +long_description \ + ${description}. Setup scripts can use pytest-runner to invoke py.test as distutils \ + command and provices dependency resolution. + +homepage https://pypi.python.org/pypi/${_name}/${version} +master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ +distname ${_name}-${version} + +checksums md5 b81b698289addb13c2ed8d6ba6c8feb4 \ + rmd160 6f7d1a78de240f4393b9c8bb24af6e075c829e16 \ + sha256 e775a40ee4a3a1d45018b199c44cc20bbe7f3df2dc8882f61465bb4141c78cdb + +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\]+)\\.tar\\.gz\"" +} Property changes on: trunk/dports/python/py-pytest-runner/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native