head	1.3;
access;
symbols
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2004.06.30.07.09.35;	author linimon;	state dead;
branches;
next	1.2;

1.2
date	2003.08.01.22.04.57;	author perky;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.18.10.51.37;	author wjv;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Upgrade to 0.6.1; clean up pkg-plist file with macros; remove pkg-req, use
numbered USE_PYTHON macro instead.

PR:		ports/67573
Submitted by:	Dryice Liu <dryice at liu dot com dot cn>
Approved by:	maintainer timeout (3 weeks)
@
text
@#!/bin/sh

PATH=$PATH:/usr/local/bin

if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then
  PYTHON_GT=`python -c 'import string, sys; \
                        print string.split(sys.version)[0] >= "2.0" and 1'`
  if [ "x${PYTHON_GT}" = "x1" ]; then
    exit 0
  else
    echo "-----------------------------------------------------------"
    echo "Quixote requires Python version 2.0 or greater -"
    echo "  please update your Python installation before proceeding."
    echo "-----------------------------------------------------------"
    exit 1
  fi
fi
@


1.2
log
@Fix python version detection routines to cope with python 2.3's
boolean representation.
@
text
@@


1.1
log
@Add quixote 0.3, a framework for developing web applications in Python.
@
text
@d7 1
a7 1
                        print string.split(sys.version)[0] >= "2.0"'`
@

