[44720] trunk/dports/python
akitada at macports.org
akitada at macports.org
Fri Jan 2 03:27:36 PST 2009
Revision: 44720
http://trac.macports.org/changeset/44720
Author: akitada at macports.org
Date: 2009-01-02 03:27:36 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
Added virtualenv for Python 2.6.
Added Paths:
-----------
trunk/dports/python/py26-virtualenv/
trunk/dports/python/py26-virtualenv/Portfile
Added: trunk/dports/python/py26-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py26-virtualenv/Portfile (rev 0)
+++ trunk/dports/python/py26-virtualenv/Portfile 2009-01-02 11:27:36 UTC (rev 44720)
@@ -0,0 +1,36 @@
+# -*- 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-virtualenv
+version 1.3.2
+categories-append devel
+platforms darwin
+maintainers akitada openmaintainer
+homepage http://pypi.python.org/pypi/virtualenv
+description Virtual Python Environment builder
+long_description virtualenv is a tool to create isolated Python \
+ environments.
+
+master_sites http://pypi.python.org/packages/source/v/virtualenv/
+distname virtualenv-${version}
+checksums md5 a013d5a7d9aeddc16bee88604d6de636 \
+ sha1 151e94beae9bb22025ae0752f40e5cc6c760aeeb \
+ rmd160 848466ac8950bdab46756b8a675d5f9f9da9a5ac
+
+post-destroot {
+ set PYTHON_VER 2.6
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ foreach f [glob -directory ${worksrcpath}/docs *] {
+ copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
+ }
+ foreach bin [glob -tails -directory ${destroot}${python.prefix}/bin *] {
+ ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/${bin}-${PYTHON_VER}
+ }
+ # To avoid conflict with the other versions.
+ file delete ${destroot}${prefix}/bin/virtualenv
+}
+
+depends_lib-append port:py26-setuptools
Property changes on: trunk/dports/python/py26-virtualenv/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/20090102/8bd90783/attachment.html>
More information about the macports-changes
mailing list