Ticket #17594: py25-django-rev1.diff

File py25-django-rev1.diff, 2.8 KB (added by arthur@…, 15 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 42370 2008-11-20 02:51:30Z blb@macports.org $
    22
    3 PortSystem              1.0
    4 PortGroup               python25 1.0
     3PortSystem          1.0
     4PortGroup           python25 1.0
    55
    6 name                    py25-django
    7 version                 1.0.2
    8 categories              python www
    9 platforms               darwin
    10 maintainers             arthurkoziel.com:arthur
    11 homepage                http://www.djangoproject.com
    12 description             Django is a high-level Python Web framework
    13 long_description        Django is a high-level Python Web framework that \
    14                         encourages rapid development and clean, pragmatic \
    15                         design.
    16 
    17 master_sites            http://media.djangoproject.com/releases/${version}/
    18 distname                Django-${version}-final
    19 checksums               md5     89353e3749668778f1370d2e444f3adc \
    20                         sha1    f2d9088f17aff47ea17e5767740cab67b2a73b6b \
    21                         rmd160  0cfea620df0831310da4ef51ef6ee4ef1b65974e
    22 
    23 depends_lib-append      port:py25-setuptools
     6name                py25-django
     7version             1.0.2
     8revision            1
     9categories          python www
     10platforms           darwin
     11maintainers         arthurkoziel.com:arthur
     12homepage            http://www.djangoproject.com
     13description         Django is a high-level Python Web framework
     14long_description    Django is a high-level Python Web framework that \
     15                    encourages rapid development and clean, pragmatic \
     16                    design.
     17
     18master_sites        http://media.djangoproject.com/releases/${version}/
     19distname            Django-${version}-final
     20checksums           md5     89353e3749668778f1370d2e444f3adc \
     21                    sha1    f2d9088f17aff47ea17e5767740cab67b2a73b6b \
     22                    rmd160  0cfea620df0831310da4ef51ef6ee4ef1b65974e
     23
     24depends_lib-append  port:py25-setuptools
     25
     26variant bash_completion description {Bash completion support} {
     27    depends_run-append  port:bash-completion
     28
     29    post-destroot {
     30        xinstall -d ${destroot}${prefix}/etc/bash_completion.d
     31        xinstall -m 644 ${worksrcpath}/extras/django_bash_completion \
     32            ${destroot}${prefix}/etc/bash_completion.d/django-admin.py
     33    }
     34}
    2435
    2536post-destroot   {
    2637        xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README \
     
    3041        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples
    3142}
    3243
     44livecheck.check     regex
     45livecheck.url       http://www.djangoproject.com/download/
     46livecheck.regex     "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)"
     47 No newline at end of file