[25292] trunk/dports/python/py-gsl/Portfile

Ryan Schmidt ryandesign at macports.org
Thu May 17 11:03:28 PDT 2007


On May 17, 2007, at 09:01, source_changes at macosforge.org wrote:

> Revision: 25292
>           http://trac.macosforge.org/projects/macports/changeset/25292
> Author:   jochen at macports.org
> Date:     2007-05-17 07:01:08 -0700 (Thu, 17 May 2007)
>
> Log Message:
> -----------
> Update to upstream version 0.9.1
>
> Provide variants for the different array-object packages (numarray,
> Numeric, numpy) supported by pygsl.
>
> Take over maintainership.

It would be much more easy to see what substantive changes you made  
if you committed purely whitespace changes separately from functional  
ones.

> Modified Paths:
> --------------
>     trunk/dports/python/py-gsl/Portfile
>
> Modified: trunk/dports/python/py-gsl/Portfile
> ===================================================================
> --- trunk/dports/python/py-gsl/Portfile	2007-05-17 13:52:50 UTC  
> (rev 25291)
> +++ trunk/dports/python/py-gsl/Portfile	2007-05-17 14:01:08 UTC  
> (rev 25292)
> @@ -1,29 +1,46 @@
>  # $Id$
>
> -PortSystem 1.0
> -PortGroup python24 1.0
> +PortSystem              1.0
> +PortGroup               python24 1.0
>
> -name			py-gsl
> -version			0.3.2
> -categories		python science
> -platforms		darwin
> -maintainers		nomaintainer at macports.org
> -description		Python interface to the GNU scientific library
> -long_description	Python interface to the GSL, the GNU scientfic \
> -			library\; a lot of functions, random number generators \
> -			are available.
> +name                    py-gsl
> +version                 0.9.1
> +categories              python science
> +platforms               darwin
> +maintainers             openmaintainer at macports.org  
> jochen at macports.org
> +description             Python interface to the GNU Scientific  
> Library
> +long_description        Python interface to the GSL, the GNU  
> Scientfic \
> +                        Library. Variants for the use of different \
> +                        array-objects supported by pygsl are  
> provided.
>
> -homepage		http://pygsl.sourceforge.net/
> -master_sites		sourceforge:pygsl
> -distname		pygsl-${version}
> -checksums		md5 dde5f5a23dba8e63818dbfadb12e9a09
> +homepage                http://pygsl.sourceforge.net/
> +master_sites            sourceforge:pygsl
> +distname                pygsl-${version}
> +checksums               md5 72323e678ae5473d4a7d9cfc04dcb568
>
> -depends_lib-append	port:gsl \
> -				port:py-numeric
> +build.env               CFLAGS="-I${prefix}/include/gsl -I$ 
> {prefix}/include/python2.4 -I${prefix}/include" \
> +                        LDFLAGS=-L${prefix}/lib
>
> -build.env		CFLAGS="-I${prefix}/include -I${prefix}/include/gsl"\
> -				LDFLAGS=-L${prefix}/lib
> +variant numarray conflicts numpy Numeric description "Use numarray  
> as array-object" {
> +        depends_lib-append      port:gsl \
> +                                port:py-numarray
> +        build.args              --array-object=numarray
> +}
> +variant Numeric conflicts numarray numpy description "Use Numeric  
> as array-object" {
> +        depends_lib-append      port:gsl \
> +                                port:py-numeric
> +        build.args              --array-object=Numeric
> +}
> +variant numpy conflicts numarray Numeric description "Use numpy as  
> array-object" {
> +        depends_lib-append      port:gsl \
> +                                port:py-numpy
> +        build.args              --array-object=numpy
> +}
> +if { ![variant_isset numarray] && ![variant_isset Numeric] && ! 
> [variant_isset numpy] } {
> +        default_variants        +numpy
> +}
>
> -post-destroot	{
> -	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/ 
> doc/${name}
> +
> +post-destroot {
> +        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/ 
> share/doc/${name}
>  }





More information about the macports-dev mailing list