source: trunk/dports/python/py-matplotlib-basemap/Portfile

Last change on this file was 141244, checked in by petr@…, 2 years ago

py-matplotlib-basemap: add py35 subport

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 141244 2015-10-13 12:28:19Z ryandesign@macports.org $
2
3PortSystem        1.0
4PortGroup         python 1.0
5
6name              py-matplotlib-basemap
7version           1.0.7
8revision          1
9categories-append graphics math
10license           LGPL-2.1
11platforms         darwin
12maintainers       nomaintainer
13
14description       matplotlib toolkit for plotting data on map projections
15long_description  Matplotlib basemap is a matplotlib toolkit python library \
16                  for plotting data on map projections
17
18homepage          http://matplotlib.org/basemap/
19master_sites      sourceforge:project/matplotlib/matplotlib-toolkits/basemap-${version}/
20distname          basemap-${version}
21dist_subdir       ${name}/${version}_${revision}
22
23checksums         rmd160 31ba295f21c3fb7c69499fdbb9e06fc4c27dd116 \
24                  sha256 e07ec2e0d63b24c9aed25a09fe8aff2598f82a85da8db74190bac81cbf104531
25
26python.versions   27 34 35
27
28build.env-append    GEOS_DIR="${prefix}"
29destroot.env-append GEOS_DIR="${prefix}"
30
31universal_variant no
32
33if {${name} ne ${subport}} {
34  depends_lib-append port:geos \
35                     port:py${python.version}-matplotlib
36
37  post-destroot {
38    delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.py
39    delete ${destroot}${python.pkgd}/mpl_toolkits/__init__.pyc
40  }
41}
42
43if {${name} eq ${subport}} {
44  livecheck.type     regex
45  livecheck.url      http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits
46  livecheck.regex    {basemap-(\d+(\.\d+)*)}
47} else {
48  livecheck.type     none
49}
Note: See TracBrowser for help on using the repository browser.