20 lines
746 B
Plaintext
20 lines
746 B
Plaintext
# Description: A collection of enhancements to the Python distutils.
|
|
# URL: http://peak.telecommunity.com/DevCenter/setuptools
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
# Depends on: python
|
|
|
|
name=setuptools
|
|
version=0.6c11
|
|
release=1
|
|
source=(http://cheeseshop.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
local PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
|
cd $name-$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
|
|
}
|