[58002] trunk/dports/python
snc at macports.org
snc at macports.org
Sun Sep 20 09:57:45 PDT 2009
Revision: 58002
http://trac.macports.org/changeset/58002
Author: snc at macports.org
Date: 2009-09-20 09:57:45 -0700 (Sun, 20 Sep 2009)
Log Message:
-----------
created py26-coverage, ticket #21498
Added Paths:
-----------
trunk/dports/python/py26-coverage/
trunk/dports/python/py26-coverage/Portfile
Added: trunk/dports/python/py26-coverage/Portfile
===================================================================
--- trunk/dports/python/py26-coverage/Portfile (rev 0)
+++ trunk/dports/python/py26-coverage/Portfile 2009-09-20 16:57:45 UTC (rev 58002)
@@ -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 python26 1.0
+
+name py26-coverage
+version 3.0.1
+categories-append devel
+maintainers snc openmaintainer
+description Code coverage measurement for Python
+long_description Coverage measures code coverage, typically during test \
+ execution. It uses the code analysis tools and tracing \
+ hooks provided in the Python standard library to \
+ determine which lines are executable, and which have \
+ been executed.
+
+platforms darwin
+
+homepage http://nedbatchelder.com/code/coverage/
+master_sites http://pypi.python.org/packages/source/c/coverage/
+distname coverage-${version}
+
+depends_lib port:py26-setuptools
+
+checksums md5 9c40e153a80fc42944c11ce11ab02de5 \
+ sha1 c59654b0015f641178449b98a259d78dee102de1 \
+ rmd160 133b13373b13d8c3b077685473b20d82fa37d913
+
+
+post-patch {
+ # Permissions in the archive are 700
+ # Set directories to 755, *.py to 755, other files to 644
+ system "find ${worksrcpath} -type d -exec chmod 755 {} \\;"
+ system "find ${worksrcpath} -type f -name '*.py' -exec chmod 775 {} \\;"
+ system "find ${worksrcpath} -type f -not -name '*.py' -exec chmod 644 {} \\;"
+}
+
+livecheck.type regex
+livecheck.url http://pypi.python.org/pypi/coverage
+livecheck.regex {coverage (\d+(?:\.\d+)*)}
Property changes on: trunk/dports/python/py26-coverage/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090920/28d73ec6/attachment.html>
More information about the macports-changes
mailing list