Ticket #53266: Portfile.diff

File Portfile.diff, 1.4 KB (added by lpsinger (Leo Singer), 7 years ago)

Diff relative to current Portfile

  • Portfile

    old new  
    22
    33PortSystem          1.0
    44PortGroup           python 1.0
     5PortGroup           obsolete 1.0
    56
    67name                py-pywcs
    78version             1.11-4.8.2
    8 revision            1
     9revision            2
    910maintainers         robitaille stsci.edu:mperrin
    1011
    1112categories-append   science
    12 description         pywcs is a set of routines for handling the FITS WCS standard
    13 long_description    pywcs is a set of routines for handling the FITS World \
    14                     Coordinate System (WCS) standard. It is a thin wrapper \
    15                     around the high- and mid-level interfaces of WCSLIB.
    16 
    17 platforms           darwin
    18 
    19 homepage            https://trac6.assembla.com/astrolib
    20 master_sites        http://stsdas.stsci.edu/astrolib/
    21 distname            pywcs-${version}
    22 checksums           md5  0721ceb7d8270868dd5d688ba60e4089 \
    23                     sha1  670746ef477cef43cefe488b95f05c70891f1ae0 \
    24                     rmd160  ca76fa03cf77a25613ad1aab86723b469e653924
    2513
    2614python.versions     26 27 34
    2715
    28 if {${name} ne ${subport}} {
    29     depends_run-append  port:py${python.version}-numpy \
    30                         port:py${python.version}-pyfits
     16if {${name} eq ${subport}} {
     17    replaced_by     port:py-astropy
     18} else {
     19    replaced_by     port:py${python.version}-astropy
    3120}