22 lines
810 B
Plaintext
22 lines
810 B
Plaintext
![]() |
# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $
|
||
|
# Description: A collection of enhancements to the Python distutils.
|
||
|
# URL: http://peak.telecommunity.com/DevCenter/setuptools
|
||
|
# Maintainer: James Mills prologic at shortcircuit dot net dot au
|
||
|
# Packager: James Mills prologic at shortcircuit dot net dot au
|
||
|
#
|
||
|
# Depends on: python
|
||
|
|
||
|
name=setuptools
|
||
|
version=0.6c3
|
||
|
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() {
|
||
|
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
|
||
|
}
|