[107152] trunk/dports/python/py-bpython/Portfile

Leo Singer aronnax at macports.org
Thu Jun 20 09:07:53 PDT 2013


On Jun 20, 2013, at 4:34 AM, macports-changes-request at lists.macosforge.org wrote:

> From: jmr at macports.org
> Subject: [107152] trunk/dports/python/py-bpython/Portfile
> Date: June 19, 2013 2:07:25 PM PDT
> To: macports-changes at lists.macosforge.org
> Reply-To: macports-dev at lists.macosforge.org, jmr at macports.org
> 
> 
> Revision
> 107152
> Author
> jmr at macports.org
> Date
> 2013-06-19 14:07:25 -0700 (Wed, 19 Jun 2013)
> Log Message
> 
> py-bpython: fix setuptools dep type
> Modified Paths
> 
> trunk/dports/python/py-bpython/Portfile
> Diff
> 
> Modified: trunk/dports/python/py-bpython/Portfile (107151 => 107152)
> 
> --- trunk/dports/python/py-bpython/Portfile	2013-06-19 21:01:12 UTC (rev 107151)
> +++ trunk/dports/python/py-bpython/Portfile	2013-06-19 21:07:25 UTC (rev 107152)
> @@ -28,16 +28,16 @@
>      livecheck.type          none
>  
>      depends_lib-append      port:py${python.version}-parsing \
> -                            port:py${python.version}-pygments \
> -                            port:py${python.version}-setuptools
> +                            port:py${python.version}-pygments
>  
>      # py-babel is only available for Python 2.x
> -    if {[expr ${python.branch} < 3]} { 
> +    if {[expr ${python.branch} < 3]} {
>          depends_build-append \
>                              port:py${python.version}-babel
>      }
>  
> -    depends_build-append    port:py${python.version}-sphinx
> +    depends_build-append    port:py${python.version}-sphinx \
> +                            port:py${python.version}-setuptools
>  
>      depends_run-append      port:py${python.version}-urwid \
>                              port:bpython_select
> 

Actually, setuptools sometime is a library dependency, as it is in this case; some Python packages use the pkg_resources module to locate scripts and data files at runtime:

http://pythonhosted.org/distribute/pkg_resources.html

Take a look at, for example, /opt/local/bin/bpython-2.7.

Would you please revert this commit?

Thanks,
Leo
_______________________________________________
macports-changes mailing list
macports-changes at lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130620/373bcd11/attachment-0001.html>


More information about the macports-dev mailing list