head	1.3;
access;
symbols
	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
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2004.02.09.21.40.47;	author des;	state dead;
branches;
next	1.2;

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

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


desc
@@


1.3
log
@Upgrade to 1.23.

Approved by:	maintainer timeout
@
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 "Biopython 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
@- Update to version 1.00.a3
- Use pkg-req to check the installed version of Python
@
text
@d7 1
a7 1
                        print string.split(sys.version)[0] >= "2.0"'`
@

