2006-11-19 22:26:53 +01:00
|
|
|
# Description: A collection of enhancements to the Python distutils.
|
|
|
|
# URL: http://peak.telecommunity.com/DevCenter/setuptools
|
2007-01-20 03:21:06 +01:00
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
2006-11-14 00:01:22 +01:00
|
|
|
#
|
2006-11-19 22:26:53 +01:00
|
|
|
# Depends on: python
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=setuptools
|
2007-02-11 15:23:49 +01:00
|
|
|
version=0.6c5
|
2006-11-14 00:01:22 +01:00
|
|
|
release=1
|
|
|
|
source=(http://cheeseshop.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
|
|
|
|
|
|
|
build() {
|
2006-11-19 22:26:53 +01:00
|
|
|
cd $name-$version
|
|
|
|
python setup.py install --root=$PKG
|
|
|
|
echo "/usr/lib/python$PYTHONVERSION/site-packages/$name-$version-py$PYTHONVERSION.egg" > $PKG/usr/lib/python$PYTHONVERSION/site-packages/setuptools.pth
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|