[84445] trunk/dports/python
snc at macports.org
snc at macports.org
Mon Sep 26 04:31:40 PDT 2011
Revision: 84445
http://trac.macports.org/changeset/84445
Author: snc at macports.org
Date: 2011-09-26 04:31:38 -0700 (Mon, 26 Sep 2011)
Log Message:
-----------
py-coverage:
* unify
* update to 3.5.1
Added Paths:
-----------
trunk/dports/python/py-coverage/
trunk/dports/python/py-coverage/Portfile
Removed Paths:
-------------
trunk/dports/python/py-coverage/Portfile
trunk/dports/python/py25-coverage/
trunk/dports/python/py26-coverage/
trunk/dports/python/py27-coverage/
Deleted: trunk/dports/python/py-coverage/Portfile
===================================================================
--- trunk/dports/python/py27-coverage/Portfile 2011-09-15 23:25:27 UTC (rev 84050)
+++ trunk/dports/python/py-coverage/Portfile 2011-09-26 11:31:38 UTC (rev 84445)
@@ -1,39 +0,0 @@
-# -*- 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 python27 1.0
-
-name py27-coverage
-version 3.5
-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:py27-distribute
-
-checksums rmd160 ad20294cd53f829c4869b012b1a1a58306c0bbf1 \
- sha256 b181d5ec72baf7478942fd600503d9f32bb525cfca413b1c73ebfa7ff1b95ae9
-
-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 {/pypi/coverage/(\d+(?:\.\d+)*)"}
Copied: trunk/dports/python/py-coverage/Portfile (from rev 83989, trunk/dports/python/py27-coverage/Portfile)
===================================================================
--- trunk/dports/python/py-coverage/Portfile (rev 0)
+++ trunk/dports/python/py-coverage/Portfile 2011-09-26 11:31:38 UTC (rev 84445)
@@ -0,0 +1,43 @@
+# -*- 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-coverage
+version 3.5.1
+python.versions 25 26 27
+python.default_version 27
+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}
+
+checksums rmd160 054797366f8bc1968fc75e0121aaba3d12576200 \
+ sha256 baae44f36d7b4028ae57ebcfe47a541363a8d2cd0c58a4b90538d0944d2282a0
+
+if {${subport} != ${name}} {
+ depends_lib port:py${python.version}-distribute
+
+ 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 {/pypi/coverage/(\d+(?:\.\d+)*)"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110926/f85c4728/attachment.html>
More information about the macports-changes
mailing list