[97885] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Sep 18 14:05:06 PDT 2012


Revision: 97885
          http://trac.macports.org//changeset/97885
Author:   singingwolfboy at macports.org
Date:     2012-09-18 14:05:06 -0700 (Tue, 18 Sep 2012)
Log Message:
-----------
py-virtualenv: version 1.8.2, added virtualenv_select, special handling for py24

Modified Paths:
--------------
    trunk/dports/python/py-virtualenv/Portfile

Added Paths:
-----------
    trunk/dports/python/py-virtualenv/files/
    trunk/dports/python/py-virtualenv/files/virtualenv24
    trunk/dports/python/py-virtualenv/files/virtualenv25
    trunk/dports/python/py-virtualenv/files/virtualenv26
    trunk/dports/python/py-virtualenv/files/virtualenv27
    trunk/dports/python/py-virtualenv/files/virtualenv31
    trunk/dports/python/py-virtualenv/files/virtualenv32
    trunk/dports/python/virtualenv_select/
    trunk/dports/python/virtualenv_select/Portfile
    trunk/dports/python/virtualenv_select/files/
    trunk/dports/python/virtualenv_select/files/base
    trunk/dports/python/virtualenv_select/files/none

Modified: trunk/dports/python/py-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py-virtualenv/Portfile	2012-09-18 21:01:31 UTC (rev 97884)
+++ trunk/dports/python/py-virtualenv/Portfile	2012-09-18 21:05:06 UTC (rev 97885)
@@ -3,9 +3,11 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           select 1.0
 
 name                py-virtualenv
-version             1.7.1.2
+set real_name       virtualenv
+version             1.8.2
 maintainers         akitada openmaintainer
 
 categories-append   devel
@@ -16,18 +18,31 @@
 platforms           darwin
 license             MIT
 
-homepage            http://pypi.python.org/pypi/virtualenv
-master_sites        http://pypi.python.org/packages/source/v/virtualenv/
-distname            virtualenv-${version}
-checksums           md5     3be8a014c27340f48b56465f9109d9fa \
-                    sha1    61aa9e69dee3f5e33cb763d06f0faa41ba77a5f1 \
-                    rmd160  5411386ce30e2de5ac5a0ec1689923e18facc27c
+homepage            http://pypi.python.org/pypi/${real_name}
+master_sites        http://pypi.python.org/packages/source/v/${real_name}/
+distname            ${real_name}-${version}
+checksums           rmd160  e39dc7551f7caa54a41e5ad1bbae6777d616cd31 \
+                    sha256  cffdab213221ef9305f8b4a20fa8ca034f7e30100d8b1e2514e08e33465e4be2
 
 python.versions     24 25 26 27 31 32
 
+subport py24-virtualenv {
+    version             1.7.2
+    distname            ${real_name}-${version}
+    checksums           rmd160  bdd0c3ef92ed2b954ee60a4d4df31dc1c17e4b1e \
+                        sha256  8cbbe308ab0f446a4ceacf24b2656bedd33ea22825b0750fd079766cc6e91bf4
+    python.move_binaries    no
+    post-destroot {
+        delete ${destroot}${prefix}/bin/virtualenv
+    }
+}
+
 if {$subport != $name} {
     depends_lib-append  port:py${python.version}-distribute
-    
+    depends_run         port:virtualenv_select
+    select.group        virtualenv
+    select.file         ${filespath}/virtualenv${python.version}
+
     post-destroot {
         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
         foreach f [glob -directory ${worksrcpath}/docs *] {

Added: trunk/dports/python/py-virtualenv/files/virtualenv24
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv24	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv24	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-2.4

Added: trunk/dports/python/py-virtualenv/files/virtualenv25
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv25	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv25	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-2.5

Added: trunk/dports/python/py-virtualenv/files/virtualenv26
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv26	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv26	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-2.6

Added: trunk/dports/python/py-virtualenv/files/virtualenv27
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv27	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv27	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-2.7

Added: trunk/dports/python/py-virtualenv/files/virtualenv31
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv31	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv31	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-3.1

Added: trunk/dports/python/py-virtualenv/files/virtualenv32
===================================================================
--- trunk/dports/python/py-virtualenv/files/virtualenv32	                        (rev 0)
+++ trunk/dports/python/py-virtualenv/files/virtualenv32	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv-3.2

Added: trunk/dports/python/virtualenv_select/Portfile
===================================================================
--- trunk/dports/python/virtualenv_select/Portfile	                        (rev 0)
+++ trunk/dports/python/virtualenv_select/Portfile	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1,32 @@
+# -*- 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: Portfile 84550 2011-09-27 21:05:11Z snc at macports.org $
+
+PortSystem          1.0
+PortGroup           select 1.0
+
+name                virtualenv_select
+version             0.1
+revision            0
+categories          python
+license             BSD
+maintainers         nomaintainer
+description         common files for selecting default virtualenv version
+long_description \
+   This port installs files that allow 'port select' to be used to \
+   create links to the preferred default version of virtualenv.
+
+platforms           darwin
+supported_archs     noarch
+
+homepage            http://www.macports.org/
+
+distfiles
+
+use_configure       no
+build               {}
+destroot {
+    select::install virtualenv ${filespath}/base
+    select::install virtualenv ${filespath}/none
+}
+
+livecheck.type      none

Added: trunk/dports/python/virtualenv_select/files/base
===================================================================
--- trunk/dports/python/virtualenv_select/files/base	                        (rev 0)
+++ trunk/dports/python/virtualenv_select/files/base	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+bin/virtualenv

Added: trunk/dports/python/virtualenv_select/files/none
===================================================================
--- trunk/dports/python/virtualenv_select/files/none	                        (rev 0)
+++ trunk/dports/python/virtualenv_select/files/none	2012-09-18 21:05:06 UTC (rev 97885)
@@ -0,0 +1 @@
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120918/809cdda6/attachment-0001.html>


More information about the macports-changes mailing list