Py25-django version 1.1.1 - How to Download and Install on Mac OS X
Wednesday the 8th of September, 2010

    py25-django  most recent diff


    version 1.1.1

      View the most recent changes for the py25-django port at: py25-django.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py25-django.
      The raw portfile for py25-django 1.1.1 is located here:
      http://py25-django.darwinports.com/dports/python/py25-django/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/py25-django


      The py25-django Portfile 59400 2009-10-14 18:15:21Z arthurk macports.org $

      PortSystem 1.0
      PortGroup python25 1.0

      Name: py25-django
      Version: 1.1.1
      Category:-append www
      Platform: darwin
      Maintainers: arthurk
      Homepage: http://www.djangoproject.com
      Description: Django is a high-level Python Web framework
      Long Description: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

      Master Sites: http://media.djangoproject.com/releases/${version}/
      distname Django-${version}
      Checksums: md5 d7839c192e115f9c4dd8777de24dc21c sha1 441c54f0e90730bf4a55432b64519169b1e6ef20 rmd160 bf42e548ff86fc587086eaffc53d9397e2a8c871

      depends_lib-append port:py25-setuptools

      Variant: bash_completion {
      depends_run-append port:bash-completion

      post-patch {
      reinplace "s|django-admin.py|django-admin-2.5.py|g" ${worksrcpath}/extras/django_bash_completion
      }

      post-destroot {
      xinstall -d ${destroot}${prefix}/etc/bash_completion.d
      xinstall -m 644 ${worksrcpath}/extras/django_bash_completion ${destroot}${prefix}/etc/bash_completion.d/django-admin-2.5.py
      }
      }

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} AUTHORS INSTALL LICENSE README ${destroot}${prefix}/share/doc/${name}

      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
      file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}/examples

      # To avoid conflict between py*-django
      move ${destroot}${prefix}/bin/django-admin.py ${destroot}${prefix}/bin/django-admin-2.5.py
      }

      livecheck.type regex
      livecheck.url http://www.djangoproject.com/download/
      livecheck.regex "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)"

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/py25-django
      % sudo port install py25-django
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching py25-django
      ---> Verifying checksum for py25-django
      ---> Extracting py25-django
      ---> Configuring py25-django
      ---> Building py25-django with target all
      ---> Staging py25-django into destroot
      ---> Installing py25-django
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using py25-django with these commands:
      %  man py25-django
      % apropos py25-django
      % which py25-django
      % locate py25-django

     Where to find more information:

    Darwin Ports



    Lightbox this page.