[89515] trunk/dports/python

Frank Schima macsforever2000 at macports.org
Wed Feb 1 09:52:01 PST 2012


robitaille,


You are not unifying python ports correctly and the portindex is failing on them. 

You must use a "if {$subport != $name} {" block on the phases. If have fixed this port in r89528 [1]. Please fix the rest of your commits.


Thanks!
Frank

[1] <http://trac.macports.org/changeset/89528>


On Feb 1, 2012, at 9:22 AM, robitaille at macports.org wrote:

> Revision
> 89515
> Author
> robitaille at macports.org
> Date
> 2012-02-01 08:22:54 -0800 (Wed, 01 Feb 2012)
> Log Message
> 
> py-virtualenv: updated to 1.7 and switched to unified port format
> Modified Paths
> 
> trunk/dports/python/py-virtualenv/Portfile
> Removed Paths
> 
> trunk/dports/python/py25-virtualenv/
> trunk/dports/python/py26-virtualenv/
> trunk/dports/python/py27-virtualenv/
> trunk/dports/python/py31-virtualenv/
> trunk/dports/python/py32-virtualenv/
> Diff
> 
> Modified: trunk/dports/python/py-virtualenv/Portfile (89514 => 89515)
> 
> --- trunk/dports/python/py-virtualenv/Portfile	2012-02-01 16:12:28 UTC (rev 89514)
> +++ trunk/dports/python/py-virtualenv/Portfile	2012-02-01 16:22:54 UTC (rev 89515)
> @@ -2,34 +2,37 @@
>  # $Id$
>  
>  PortSystem          1.0
> -PortGroup           python24 1.0
> +PortGroup           python 1.0
>  
>  name                py-virtualenv
> -version             1.6.1
> +version             1.7
> +maintainers         nomaintainer
> +
>  categories-append   devel
> -platforms           darwin
> -maintainers         nomaintainer
> -license             MIT
> -homepage            http://pypi.python.org/pypi/virtualenv
>  description         Virtual Python Environment builder
>  long_description    virtualenv is a tool to create isolated Python \
>                      environments.
>  
> +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     1a475df2219457b6b4febb9fe595d915 \
> -                    sha1    f875868d680b83bdfa86a23536d19bb00b28b40d \
> -                    rmd160  1a5b11bad5c8ec50129724db99632755c637a9d7
> +checksums           md5     dcc105e5a3907a9dcaa978f813a4f526 \
> +                    sha1    3c99e759a06470a1838c98b750d5b72972ac82d6 \
> +                    rmd160  5d5f9a7b82bd4ec659d853a1bbaacaac32961116
>  
> -depends_lib-append  port:py24-distribute
> +python.versions     24 25 26 27 31 32
> +python.default_version 27
>  
> +depends_lib-append  port:py${python.version}-distribute
> +
>  post-destroot {
> -    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
> -    xinstall -m 644 -W ${worksrcpath}/docs index.txt \
> -        ${destroot}${prefix}/share/doc/${name}
> -    
> -    move ${destroot}${prefix}/bin/virtualenv \
> -        ${destroot}${prefix}/bin/virtualenv-${python.branch}
> +    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
> +    foreach f [glob -directory ${worksrcpath}/docs *] {
> +        copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
> +    }
>  }
>  
>  livecheck.type      regex
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120201/e967ce5f/attachment.html>


More information about the macports-dev mailing list