1
0
forked from ports/contrib

21 lines
778 B
Plaintext
Raw Normal View History

2006-11-20 07:26:53 +10:00
# Description: A collection of enhancements to the Python distutils.
# URL: http://peak.telecommunity.com/DevCenter/setuptools
2007-01-20 12:21:06 +10:00
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: James Mills, prologic at shortcircuit dot net dot au
2006-11-14 09:01:22 +10:00
#
2006-11-20 07:26:53 +10:00
# Depends on: python
2006-11-14 09:01:22 +10:00
name=setuptools
2007-02-12 00:23:49 +10:00
version=0.6c5
2007-03-24 20:56:41 +10:00
release=2
2006-11-14 09:01:22 +10:00
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-20 07:26:53 +10: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 09:01:22 +10:00
}