2008-08-30 22:39:21 +10:00
|
|
|
# Description: Web framework written in python
|
|
|
|
# URL: http://djangoproject.com
|
2009-12-11 14:41:43 +02:00
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
2009-01-27 11:30:29 +11:00
|
|
|
# Depends on: python
|
2008-08-30 22:39:21 +10:00
|
|
|
|
|
|
|
name=django
|
2010-05-18 00:33:06 +03:00
|
|
|
version=1.1.2
|
2009-12-11 14:41:43 +02:00
|
|
|
release=1
|
2010-05-18 00:33:06 +03:00
|
|
|
source=(http://media.djangoproject.com/releases/1.1/Django-$version.tar.gz
|
2009-02-12 23:54:31 +11:00
|
|
|
$name.pth)
|
2008-08-30 22:39:21 +10:00
|
|
|
|
|
|
|
build() {
|
2009-12-11 14:41:43 +02:00
|
|
|
cd Django-$version
|
2008-08-30 22:39:21 +10:00
|
|
|
python setup.py install --root=$PKG
|
|
|
|
# Don't lay eggs
|
|
|
|
find $PKG -name '*egg-info' | xargs rm
|
2009-02-12 23:54:31 +11:00
|
|
|
install $SRC/$name.pth $PKG/usr/lib/python2.6/site-packages/$name.pth
|
2008-08-30 22:39:21 +10:00
|
|
|
}
|