20 lines
752 B
Plaintext
20 lines
752 B
Plaintext
# 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
|
|
|
|
name=setuptools
|
|
version=0.6c8
|
|
release=1
|
|
source=(http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-$version.tar.gz)
|
|
|
|
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
|
|
|
build() {
|
|
cd setuptools-$version
|
|
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
|
|
}
|
|
|