[92589] trunk/dports/python

deric at macports.org deric at macports.org
Tue May 1 14:12:38 PDT 2012


Revision: 92589
          https://trac.macports.org/changeset/92589
Author:   deric at macports.org
Date:     2012-05-01 14:12:38 -0700 (Tue, 01 May 2012)
Log Message:
-----------
py-biggles: Unified and updated to 1.6.6, closes #34236

also:
added license, modeline
fixed categories

Modified Paths:
--------------
    trunk/dports/python/py-biggles/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-biggles/
    trunk/dports/python/py26-biggles/

Modified: trunk/dports/python/py-biggles/Portfile
===================================================================
--- trunk/dports/python/py-biggles/Portfile	2012-05-01 20:27:28 UTC (rev 92588)
+++ trunk/dports/python/py-biggles/Portfile	2012-05-01 21:12:38 UTC (rev 92589)
@@ -1,31 +1,32 @@
+# -*- 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
-PortGroup python24 1.0
+PortGroup python 1.0
 
-name             py-biggles
-version          1.6.5
-revision         1
-categories       python graphics math science
-platforms        darwin
-maintainers      deric
-description      Creates 2D scientific plots
-long_description Biggles is a Python module for the creation of \
-                  publication-quality 2D scientific plots.
-homepage         http://biggles.sourceforge.net/
-master_sites     sourceforge:biggles
-distname         python2-biggles-${version}
-checksums        md5     be1ba7a98cd58ce875e181bd60930b63 \
-                 sha1    067f7fd2803bbdf148a29c48da10a667cf304aed \
-                 rmd160  227ea00cbd73e3d2c502bd3398438fe5420559f6
+name                py-biggles
+version             1.6.6
+categories-append   graphics math science
+platforms           darwin
+maintainers         deric
+description         Creates 2D scientific plots
+long_description    Biggles is a Python module for the creation of \
+                    publication-quality 2D scientific plots.
+homepage            http://biggles.sourceforge.net/
+license             GPL-2
+master_sites        sourceforge:project/biggles/biggles/${version} 
+distname            python2-biggles-${version}
 
-depends_lib      lib:libplot.2.2:plotutils port:py24-numpy port:xorg-libXaw
+checksums           md5     5a9cfdf9d8401e1705fce43e4e4adaca \
+                    sha1    d2bcd0141845657189ef5834516e50e6cb777702 \
+                    rmd160  a6b16ddfba224402693eca086666fbd6b51ce413
+                    
+python.versions  24 25 26 27
+python.default_version 27
 
-build.target       build_ext
-build.args         -I${prefix}/include
-
-post-extract {
-     # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix
-     system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp"
-     system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py"
+if {$subport != $name} {
+    depends_lib      port:plotutils port:py${python.version}-numpy port:xorg-libXaw
+    
+    build.target       build_ext
+    build.args         -I${prefix}/include
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/47e7e6f4/attachment.html>


More information about the macports-changes mailing list