[95673] trunk/dports/net/deluge/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jul 18 17:42:45 PDT 2012


On Jul 18, 2012, at 17:28, devans at macports.org wrote:

> Revision: 95673
>          https://trac.macports.org/changeset/95673
> Author:   devans at macports.org
> Date:     2012-07-18 15:28:27 -0700 (Wed, 18 Jul 2012)
> Log Message:
> -----------
> deluge: update to version 1.3.5, link binaries.
> 
> Modified Paths:
> --------------
>    trunk/dports/net/deluge/Portfile
> 
> Modified: trunk/dports/net/deluge/Portfile
> ===================================================================
> --- trunk/dports/net/deluge/Portfile	2012-07-18 22:24:18 UTC (rev 95672)
> +++ trunk/dports/net/deluge/Portfile	2012-07-18 22:28:27 UTC (rev 95673)
> @@ -5,8 +5,7 @@
> PortGroup       python 1.0
> 
> name            deluge
> -version         1.3.3
> -revision        1
> +version         1.3.5
> categories      net gnome python
> license         GPL-3
> maintainers     devans openmaintainer
> @@ -24,9 +23,9 @@
> 
> use_bzip2       yes
> 
> -checksums       md5     4027c60bb5d1c5da61e97a47e62ab1ab \
> -                sha1    e45782cf4cb3c185bef0512ec2aeaa6350ef1200 \
> -                rmd160  3d3736472e15cfc08df749a3d22e31c603d41907
> +checksums       md5     f17ef6686f33e12694b44976e5ed7721 \
> +                sha1    0ba16a0e9defba0494f1676e89c497eb2f5ac0c4 \
> +                rmd160  296348882af8ab083fd00966993ce2deb1bdd541
> 
> depends_lib-append \
>                 path:lib/libtorrent-rasterbar.dylib:libtorrent-rasterbar \
> @@ -40,6 +39,7 @@
> 
> variant python26 conflicts python27 description {Build for Python 2.6} {
>         python.version 26
> +        python.link_binaries no
>         depends_lib-append \
>                 port:dbus-python26 \
>                 port:py26-chardet \
> @@ -55,6 +55,7 @@
> 
> variant python27 conflicts python26 description {Build for Python 2.7} {
>         python.version 27
> +        python.link_binaries no
>         depends_lib-append \
>                 port:dbus-python27 \
>                 port:py27-chardet \
> @@ -72,6 +73,12 @@
>         default_variants +python27
> }
> 
> +post-destroot {
> +        foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] {
> +            ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"
> +        }
> +}

I'm curious, why are you needing to do manually what "python.link_binaries yes" was supposed to do automatically?




More information about the macports-dev mailing list