1
0
forked from ports/contrib

20 lines
758 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
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Depends on: python
2006-11-14 09:01:22 +10:00
name=setuptools
2008-01-04 23:41:10 +10:00
version=0.6c7
2007-07-18 19:48:51 +10:00
release=1
source=(http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-$version.tar.gz)
2006-11-14 09:01:22 +10:00
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
build() {
cd setuptools-$version
2006-11-20 07:26:53 +10:00
python setup.py install --root=$PKG
echo "/usr/lib/python$PYTHONVERSION/site-packages/setuptools-$version-py$PYTHONVERSION.egg" > $PKG/usr/lib/python$PYTHONVERSION/site-packages/setuptools.pth
2006-11-14 09:01:22 +10:00
}