[56009] trunk/dports/python

Ryan Schmidt ryandesign at macports.org
Sun Aug 23 01:45:28 PDT 2009


On Aug 22, 2009, at 23:54, akitada at macports.org wrote:

> Revision: 56009
>           http://trac.macports.org/changeset/56009
> Author:   akitada at macports.org
> Date:     2009-08-22 21:54:41 -0700 (Sat, 22 Aug 2009)
> Log Message:
> -----------
> Added missing symlinks to sphinx-* commands.

What about the changes to py26-werkzeug?

> Modified Paths:
> --------------
>     trunk/dports/python/py26-sphinx/Portfile
>     trunk/dports/python/py26-werkzeug/Portfile
>
> Modified: trunk/dports/python/py26-sphinx/Portfile
> ===================================================================
> --- trunk/dports/python/py26-sphinx/Portfile	2009-08-23 02:53:36  
> UTC (rev 56008)
> +++ trunk/dports/python/py26-sphinx/Portfile	2009-08-23 04:54:41  
> UTC (rev 56009)
> @@ -1,3 +1,4 @@
> +# -*- 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
> @@ -5,6 +6,7 @@
>
>  name                py26-sphinx
>  version             0.6.2
> +revision            1
>  categories-append   devel
>  maintainers         jmr openmaintainer
>  description         Python documentation generator
> @@ -30,5 +32,11 @@
>                      port:py26-jinja2 \
>                      port:py26-setuptools
>
> +post-destroot {
> +    foreach bin [glob -tails -directory ${destroot}$ 
> {python.prefix}/bin *] {
> +        ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/ 
> ${bin}${python.branch}
> +    }
> +}
> +
>  livecheck.check     regex
>  livecheck.regex     {<p>Current version: <b>([0-9.]+)</b></p>}
>
> Modified: trunk/dports/python/py26-werkzeug/Portfile
> ===================================================================
> --- trunk/dports/python/py26-werkzeug/Portfile	2009-08-23 02:53:36  
> UTC (rev 56008)
> +++ trunk/dports/python/py26-werkzeug/Portfile	2009-08-23 04:54:41  
> UTC (rev 56009)
> @@ -6,6 +6,7 @@
>
>  name                py26-werkzeug
>  version             0.5.1
> +revision            1
>  categories-append   www
>  maintainers         openmaintainer akitada
>  description         The Swiss Army knife of Python web development.
> @@ -66,3 +67,13 @@
>  use_zip             yes
>
>  depends_lib        port:py26-setuptools
> +
> +post-destroot {
> +    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/ 
> examples
> +    foreach f [glob -directory ${worksrcpath}/docs *] {
> +        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
> +    }
> +    foreach f [glob -directory ${worksrcpath}/examples *] {
> +        copy $f ${destroot}${prefix}/share/doc/${name}/examples/ 
> [file tail $f]
> +    }
> +}





More information about the macports-dev mailing list