diff options
author | Lucas Hazel <lucas@die.net.au> | 2009-02-12 23:54:31 +1100 |
---|---|---|
committer | Lucas Hazel <lucas@die.net.au> | 2009-02-12 23:54:44 +1100 |
commit | c123ec1dc1546f587578928789cf55e6b8a8cc57 (patch) | |
tree | 75167ce61920783a04d834e8ac51b1c011e7a54e /django | |
parent | aa9cf62e6bb163b1a2d979faa92dcdb0301b04eb (diff) | |
download | contrib-c123ec1dc1546f587578928789cf55e6b8a8cc57.tar.gz contrib-c123ec1dc1546f587578928789cf55e6b8a8cc57.tar.xz |
django: add pth file so third party apps don't need to be installed into the python library
Diffstat (limited to 'django')
-rw-r--r-- | django/.footprint | 1 | ||||
-rw-r--r-- | django/.md5sum | 1 | ||||
-rw-r--r-- | django/Pkgfile | 6 | ||||
-rw-r--r-- | django/django.pth | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/django/.footprint b/django/.footprint index 34b1360e5..98bed5141 100644 --- a/django/.footprint +++ b/django/.footprint @@ -4,6 +4,7 @@ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/python2.6/ drwxr-xr-x root/root usr/lib/python2.6/site-packages/ +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/django.pth drwxr-xr-x root/root usr/lib/python2.6/site-packages/django/ -rw-r--r-- root/root usr/lib/python2.6/site-packages/django/__init__.py -rw-r--r-- root/root usr/lib/python2.6/site-packages/django/__init__.pyc diff --git a/django/.md5sum b/django/.md5sum index 0afb3178c..354e9ef91 100644 --- a/django/.md5sum +++ b/django/.md5sum @@ -1 +1,2 @@ 89353e3749668778f1370d2e444f3adc Django-1.0.2-final.tar.gz +915802196f0e1d93b55e4e5c71229dd0 django.pth diff --git a/django/Pkgfile b/django/Pkgfile index 8d6e7b01e..4eca6f619 100644 --- a/django/Pkgfile +++ b/django/Pkgfile @@ -5,12 +5,14 @@ name=django version=1.0.2 -release=2 -source=(http://media.djangoproject.com/releases/$version/Django-$version-final.tar.gz) +release=3 +source=(http://media.djangoproject.com/releases/$version/Django-$version-final.tar.gz + $name.pth) build() { cd Django-$version-final python setup.py install --root=$PKG # Don't lay eggs find $PKG -name '*egg-info' | xargs rm + install $SRC/$name.pth $PKG/usr/lib/python2.6/site-packages/$name.pth } diff --git a/django/django.pth b/django/django.pth new file mode 100644 index 000000000..81077a44f --- /dev/null +++ b/django/django.pth @@ -0,0 +1 @@ +/usr/share/django/apps |