Ignore:
Timestamp:
May 1, 2012, 9:12:38 PM (5 years ago)
Author:
deric@…
Message:

py-biggles: Unified and updated to 1.6.6, closes #34236

also:
added license, modeline
fixed categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-biggles/Portfile

    r87335 r92589  
     1# -*- 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
    12# $Id$
    23
    34PortSystem 1.0
    4 PortGroup python24 1.0
     5PortGroup python 1.0
    56
    6 name             py-biggles
    7 version          1.6.5
    8 revision         1
    9 categories       python graphics math science
    10 platforms        darwin
    11 maintainers      deric
    12 description      Creates 2D scientific plots
    13 long_description Biggles is a Python module for the creation of \
    14                   publication-quality 2D scientific plots.
    15 homepage         http://biggles.sourceforge.net/
    16 master_sites     sourceforge:biggles
    17 distname         python2-biggles-${version}
    18 checksums        md5     be1ba7a98cd58ce875e181bd60930b63 \
    19                  sha1    067f7fd2803bbdf148a29c48da10a667cf304aed \
    20                  rmd160  227ea00cbd73e3d2c502bd3398438fe5420559f6
     7name                py-biggles
     8version             1.6.6
     9categories-append   graphics math science
     10platforms           darwin
     11maintainers         deric
     12description         Creates 2D scientific plots
     13long_description    Biggles is a Python module for the creation of \
     14                    publication-quality 2D scientific plots.
     15homepage            http://biggles.sourceforge.net/
     16license             GPL-2
     17master_sites        sourceforge:project/biggles/biggles/${version}
     18distname            python2-biggles-${version}
    2119
    22 depends_lib      lib:libplot.2.2:plotutils port:py24-numpy port:xorg-libXaw
     20checksums           md5     5a9cfdf9d8401e1705fce43e4e4adaca \
     21                    sha1    d2bcd0141845657189ef5834516e50e6cb777702 \
     22                    rmd160  a6b16ddfba224402693eca086666fbd6b51ce413
     23                   
     24python.versions  24 25 26 27
     25python.default_version 27
    2326
    24 build.target       build_ext
    25 build.args         -I${prefix}/include
    26 
    27 post-extract {
    28      # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix
    29      system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp"
    30      system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py"
     27if {$subport != $name} {
     28    depends_lib      port:plotutils port:py${python.version}-numpy port:xorg-libXaw
     29   
     30    build.target       build_ext
     31    build.args         -I${prefix}/include
    3132}
Note: See TracChangeset for help on using the changeset viewer.