[54050] trunk/dports/python

Ryan Schmidt ryandesign at macports.org
Sun Jul 19 23:04:02 PDT 2009


On Jul 19, 2009, at 16:08, jameskyle at macports.org wrote:

> Revision: 54050
>           http://trac.macports.org/changeset/54050
> Author:   jameskyle at macports.org
> Date:     2009-07-19 14:08:51 -0700 (Sun, 19 Jul 2009)
> Log Message:
> -----------
> Provides the Python Experimental Programming Library.
> Includes support for ActiveWire cards.


> Added: trunk/dports/python/py26-pyepl/Portfile
> ===================================================================
> --- trunk/dports/python/py26-pyepl/Portfile	                         
> (rev 0)
> +++ trunk/dports/python/py26-pyepl/Portfile	2009-07-19 21:08:51 UTC  
> (rev 54050)

> +worksrcdir              pyepl-${version}

> +extract.suffix          tgz
> +distfiles               ${worksrcdir}.${extract.suffix}

extract.suffix generally begins with a period, and worksrcdir and  
distfiles are both based on distname, so the most concise way to  
express the above is:

distname pyepl-${version}
extract.suffix .tgz

Then you don't need to set worksrcdir or distfiles.




More information about the macports-dev mailing list