Ticket #34268: tempita.patch

File tempita.patch, 3.5 KB (added by singingwolfboy@…, 12 years ago)
  • py26-tempita/Portfile

     
    1 # $Id$
    2 
    3 PortSystem              1.0
    4 PortGroup               python26 1.0
    5 
    6 name                    py26-tempita
    7 version                 0.5.1
    8 maintainers             perry openmaintainer
    9 platforms               darwin
    10 supported_archs         noarch
    11 
    12 description             Tempita is a small templating language for text \
    13                         substitution.
    14 long_description        ${description}
    15 license                 MIT
    16 homepage                http://pypi.python.org/pypi/Tempita/
    17 
    18 livecheck.regex         {>Tempita (.+) :}
    19 livecheck.type          regex
    20 livecheck.url           ${homepage}
    21 
    22 depends_build-append    port:py26-distribute
    23 
    24 distname                Tempita-${version}
    25 master_sites            http://pypi.python.org/packages/source/T/Tempita/
    26 
    27 checksums               rmd160 85daca3631dcfecbdc1525d1b281f684dbf5c066
  • py27-tempita/Portfile

     
    1 # $Id$
    2 
    3 PortSystem              1.0
    4 PortGroup               python27 1.0
    5 
    6 name                    py27-tempita
    7 version                 0.5.1
    8 maintainers             perry openmaintainer
    9 platforms               darwin
    10 supported_archs         noarch
    11 
    12 description             Tempita is a small templating language for text \
    13                         substitution.
    14 long_description        ${description}
    15 license                 MIT
    16 homepage                http://pypi.python.org/pypi/Tempita/
    17 
    18 livecheck.regex         {>Tempita (.+) :}
    19 livecheck.type          regex
    20 livecheck.url           ${homepage}
    21 
    22 depends_build-append    port:py27-distribute
    23 
    24 distname                Tempita-${version}
    25 master_sites            http://pypi.python.org/packages/source/T/Tempita/
    26 
    27 checksums               rmd160 85daca3631dcfecbdc1525d1b281f684dbf5c066
  • py-tempita/Portfile

     
    11# $Id$
    22
    33PortSystem              1.0
    4 PortGroup               python27 1.0
     4PortGroup               python 1.0
    55
    6 name                    py27-tempita
     6name                    py-tempita
     7set real_name           Tempita
    78version                 0.5.1
     9python.versions         25 26 27
     10python.default_version  27
    811maintainers             perry openmaintainer
    912platforms               darwin
    1013supported_archs         noarch
     
    1316                        substitution.
    1417long_description        ${description}
    1518license                 MIT
    16 homepage                http://pypi.python.org/pypi/Tempita/
     19homepage                http://pypi.python.org/pypi/${real_name}/
    1720
    1821livecheck.regex         {>Tempita (.+) :}
    1922livecheck.type          regex
    2023livecheck.url           ${homepage}
    2124
    22 depends_build-append    port:py27-distribute
     25if {$name != $subport} {
     26    depends_build-append    port:py${python.version}-distribute
     27}
    2328
    24 distname                Tempita-${version}
    25 master_sites            http://pypi.python.org/packages/source/T/Tempita/
     29distname                ${real_name}-${version}
     30master_sites            http://pypi.python.org/packages/source/T/${real_name}/
    2631
    2732checksums               rmd160 85daca3631dcfecbdc1525d1b281f684dbf5c066