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

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-nibabel
8version                 2.0.0
9categories              python
10platforms               darwin
11license                 MIT
12maintainers             nomaintainer
13description             Access a cacophony of neuro-imaging file formats
14
15long_description        Nibabel provides read and write access to some common medical and \
16    neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2), GIFTI, NIfTI1, MINC, \
17    MGH and ECAT as well as PAR/REC. We can read and write Freesurfer geometry, and read \
18    Freesurfer morphometry and annotation files. There is some very limited support for \
19    DICOM. NiBabel is the successor of PyNIfTI.
20
21homepage                http://nipy.org/nibabel
22master_sites            pypi:n/nibabel/
23distname                nibabel-${version}
24
25checksums               rmd160  b4d284328e2e9cb8f177bbfb73db45f4cfb76405 \
26                        sha256  a2a4baedb490c6d0878b1950b569650cfa2ce65c24da4741817ca4069771103c
27
28python.versions         27 34
29
30if {${name} ne ${subport}} {
31    depends_lib         port:py${python.version}-numpy
32
33    post-patch {
34        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
35    }
36
37    livecheck.type      none
38} else {
39    livecheck.url       http://pypi.python.org/pypi/nibabel
40    livecheck.regex     nibabel-(\[0-9.\]+)${extract.suffix}
41}
Note: See TracBrowser for help on using the repository browser.