[48305] trunk/dports/python
perry at macports.org
perry at macports.org
Wed Mar 18 13:29:48 PDT 2009
Revision: 48305
http://trac.macports.org/changeset/48305
Author: perry at macports.org
Date: 2009-03-18 13:29:47 -0700 (Wed, 18 Mar 2009)
Log Message:
-----------
python/py-django - Added a new port.
Added Paths:
-----------
trunk/dports/python/py-django/
trunk/dports/python/py-django/Portfile
Added: trunk/dports/python/py-django/Portfile
===================================================================
--- trunk/dports/python/py-django/Portfile (rev 0)
+++ trunk/dports/python/py-django/Portfile 2009-03-18 20:29:47 UTC (rev 48305)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python24 1.0
+
+name py-django
+version 1.0.2
+categories python www
+platforms darwin
+maintainers arthurkoziel.com:arthur
+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}-final
+checksums md5 89353e3749668778f1370d2e444f3adc \
+ sha1 f2d9088f17aff47ea17e5767740cab67b2a73b6b \
+ rmd160 0cfea620df0831310da4ef51ef6ee4ef1b65974e
+
+depends_lib-append port:py-setuptools
+
+variant bash_completion {
+ depends_run-append port: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.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
+}
+
+livecheck.check regex
+livecheck.url http://www.djangoproject.com/download/
+livecheck.regex "The latest official version is (1\.\[0-9\]+\.\[0-9\]+)"
+
Property changes on: trunk/dports/python/py-django/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090318/4f2df104/attachment.html>
More information about the macports-changes
mailing list