the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: django-py%type_pkg[python]
Type: python (2.4 2.5 2.6 2.7)
Version: 1.3.1
Revision: 1
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
# Python 2.5 and newer already have an sqlite3 interface
Depends: <<
python%type_pkg[python],
docutils-py%type_pkg[python],
(%type_raw[python] = 2.4) pysqlite2-py%type_pkg[python] | (%type_raw[python] = 2.4) mysql-python-py%type_pkg[python] | (%type_raw[python] = 2.4) psycopg2-py%type_pkg[python]
<<
BuildDepends: distribute-py%type_pkg[python]
# Does this really need entries for each python version?
Recommends: <<
(%type_raw[python] = 2.5) mysql-python-py%type_pkg[python],
(%type_raw[python] = 2.5) psycopg2-py%type_pkg[python],
(%type_raw[python] = 2.6) mysql-python-py%type_pkg[python],
(%type_raw[python] = 2.6) psycopg2-py%type_pkg[python],
(%type_raw[python] = 2.7) mysql-python-py%type_pkg[python],
(%type_raw[python] = 2.7) psycopg2-py%type_pkg[python],
(%type_raw[python] = 2.7) yaml-py%type_pkg[python],
(%type_raw[python] = 2.7) yaml-py%type_pkg[python]
<<
# FIX: add yaml for dumpdata serializer
Source: http://media.djangoproject.com/releases/1.3/Django-%v.tar.gz
Source-MD5: 62d8642fd06b9a0bf8544178f8500767
DocFiles: AUTHORS INSTALL LICENSE README
PatchScript: <<
#!/bin/bash -ev
perl -pi -e "s|'geos_c'|'libgeos_c.1.dylib'|g" django/contrib/gis/geos/libgeos.py
perl -pi -e "s|lib_path = None|lib_path = '%p/opt/libgeos3.3.0/lib/libgeos_c.1.dylib'|g" django/contrib/gis/geos/libgeos.py
perl -pi -e "s|lib_path = None|lib_path = '%p/lib/libgdal.1.dylib'|g" django/contrib/gis/gdal/libgdal.py
<<
CompileScript: <<
echo Skipping compile stage
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root=%d
echo "Removing geodjango gis module. Only works easily in python 2.5 w/ builtin ctypes (see geodjango-py25 package)"
mkdir -p %i/share/doc/%n
cp -pr docs %i/share/doc/%n
install -d %i/etc/bash_completion.d
install extras/django_bash_completion %i/etc/bash_completion.d/django-py%type_pkg[python]
mv %i/bin/django-admin.py %i/bin/django-admin%type_raw[python]
<<
SplitOff: <<
Package: django-gis-py%type_pkg[python]
Description: gis/geo contrib application for django
Depends: libgeos3.3.0-shlibs, django-py%type_pkg[python], gdal-shlibs | gdal-pgsql-shlibs | gdal-mysql-shlibs| gdal-pgsql-mysql-shlibs
Files: <<
lib/python%type_raw[python]/site-packages/django/contrib/gis
lib/python%type_raw[python]/site-packages/django/contrib/admin/media/img/gis
<<
<<
PostInstScript: <<
update-alternatives --install %p/bin/django-admin.py django-admin.py %p/bin/django-admin%type_raw[python] %type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove django-admin.py %p/bin/django-admin%type_raw[python]
fi
<<
Description: Python web framework
DescDetail: <<
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design.
Developed and used over two years by a fast-moving online-news operation,
Django was designed to handle two challenges: the intensive deadlines of a
newsroom and the stringent requirements of the experienced Web developers who
wrote it. It lets you build high-performing, elegant Web applications quickly.
<<
DescUsage:<<
See http://www.djangoproject.com/documentation/
If you developed for a version of Django prior to 1.0 (such as 0.95 or 0.96),
refer to http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/
<<
DescPort:<<
The documentation in the admin interface should work, now that docutils has
been split into -py* variants.
Need to improve the load process for libgeosc1-shlibs for python
ctypes. It's too version dependent. May need to update what is in
the libgeosc1-shlibs package.
<<
DescPackaging:<<
$LastChangedRevision: 538 $ in Charles Lepple local repository.
Maintainer was Charles Lepple
<<
License: BSD
Homepage: http://www.djangoproject.com/
Maintainer: Kurt Schwehr
# Info2:
<<