Ticket #46905: patch.Portfile.diff

File patch.Portfile.diff, 1.9 KB (added by jfcaron3, 9 years ago)
  • Portfile

    old new  
    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 114629 2013-12-12 12:58:05Z g5pw@macports.org $
     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$
     3
    34PortSystem          1.0
    45PortGroup           python 1.0
    56
    6 name                py-unidecode
    7 version             0.04.14
     7name                py-Unidecode
     8version             0.04.17
     9platforms           darwin
     10license             GPL
    811maintainers         nomaintainer
    9 description         ASCII transliterations of Unicode text.
    10 long_description    ${name} for ${description}
    11 platforms           darwin
    12 homepage            https://pypi.python.org/pypi/Unidecode/
    13 license             GPL-2+
    1412
    15 master_sites        https://pypi.python.org/packages/source/U/Unidecode/
     13description         ASCII transliterations of Unicode text
     14long_description    ${description}
    1615
    17 python.versions     27 33 34
     16homepage           
     17master_sites        https://pypi.python.org/packages/source/U/Unidecode
     18distname            Unidecode-0.04.17
    1819
    19 if { ${subport} ne ${name} } {
     20checksums           rmd160  d2eb1039b8b77728784d8b1bebe1a5bd998d1dfa \
     21                    sha256  f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef
    2022
    21     distname            Unidecode-${version}
     23python.versions     25 26 27 32 33 34
    2224
    23     checksums           rmd160  a1743f2c737a99ba47eb5ddd00fafe6006623fc2 \
    24                         sha256  a66f8a527ee0709742caa16745cc882b85d6cfc12b37fa2f56024d07031f230c
     25if {${name} ne ${subport}} {
     26    depends_build-append \
     27                        port:py${python.version}-setuptools
     28
     29    livecheck.type      none
     30} else {
     31    livecheck.type      regex
     32    livecheck.url       ${master_sites}
    2533}