Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv29695/scripts
Modified Files:
Python python-ldap
Added Files:
MySQL-python
Log Message:
added MySQL-python-1.2.2
Index: Python
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/Python,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Python 19 Apr 2007 15:39:21 -0000 1.23
+++ Python 23 May 2008 15:44:24 -0000 1.24
@@ -43,6 +43,9 @@
mkdir -p $WORKDIR/Python-install/usr/share
mv $WORKDIR/Python-install/usr/man $WORKDIR/Python-install/usr/share
cp -dpR $WORKDIR/Python-install/* / || exit 1
+
+ # install the easyinstall stuff
+ sh $DL_DIR/src/setuptools-0.6c8-py2.4.egg || exit 1
fi
;;
--- NEW FILE: MySQL-python ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/MySQL-python,v $
# $Revision: 1.1 $
# $Date: 2008/05/23 15:44:24 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: MySQL-python
# Required-Start: $basebuildtools $libs Python mysql
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=PYTHON_LDAP
case $1 in
build )
if [ "$CONFIG_PYTHON" = "y" ] && [ "$CONFIG_MYSQL_CLIENT" = "y" ] ; then
#cp $MYDIR/config/python-ldap.cfg setup.cfg || exit 1
python setup.py build || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_PYTHON" = "y" ] && [ "$CONFIG_MYSQL_CLIENT" = "y" ] ; then
mkdir -p $CDDIR/usr/lib/python2.4/site-packages || exit 1
cp -dpR build/lib*/* $CDDIR/usr/lib/python2.4/site-packages/ || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
Index: python-ldap
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/python-ldap,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- python-ldap 11 Jan 2004 14:43:05 -0000 1.14
+++ python-ldap 23 May 2008 15:44:24 -0000 1.15
@@ -36,8 +36,8 @@
install )
if [ "$CONFIG_PYTHON" = "y" ] && [ "$CONFIG_OPENLDAPLIB" = "y" ] && [ "$CONFIG_PYTHON_LDAP" = "y" ]; then
- mkdir -p $CDDIR/usr/lib/python2.3/site-packages || exit 1
- cp -dpR build/lib*/* $CDDIR/usr/lib/python2.3/site-packages/ || exit 1
+ mkdir -p $CDDIR/usr/lib/python2.4/site-packages || exit 1
+ cp -dpR build/lib*/* $CDDIR/usr/lib/python2.4/site-packages/ || exit 1
fi
;;
|