source: trunk/dports/python/py-gsl/Portfile

Last change on this file was 152240, checked in by petr@…, 15 months ago

py-gsl: new maintainer, #50069.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 152240 2016-09-01 17:55:10Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-gsl
8version                 2.2.0
9categories-append       science
10license                 GPL-2+
11platforms               darwin
12maintainers             gmail.com:jjstickel openmaintainer
13
14description             Python interface to the GNU Scientific Library
15long_description        Python interface to the GSL, the GNU Scientfic \
16                        Library. Variants for the use of different \
17                        array-objects supported by pygsl are provided.
18
19homepage                http://pygsl.sourceforge.net/
20master_sites            sourceforge:pygsl
21distname                pygsl-${version}
22
23checksums           rmd160  60858ec54a2713a6f9eb35d8f03dc865dd6f9f83 \
24                    sha256  200e7986c368cb815685e502993e5211702219e1a0bb79030d671c35df25a59e
25
26python.versions         27 34 35
27
28if {${name} ne ${subport}} {
29
30    depends_build           port:swig-python
31    depends_lib-append      port:gsl\
32        port:py${python.version}-numpy
33
34    # configure step is new, JJS 4/28/16
35    use_configure    yes
36    configure.cmd    ${python.bin} setup.py config
37    # blank pre_args
38    configure.pre_args
39
40    post-destroot {
41        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${subport}
42    }
43}
Note: See TracBrowser for help on using the repository browser.