#Packager: Frédéric Galusik <fredg~AT~salixos~dot~org>

pkgname=python-pip
pkgver=1.2.1
pkgrel=1fg
#arch=noarch
source=(http://pypi.python.org/packages/source/p/pip/pip-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/
docs=("authors.txt" "license.txt")
url=http://www.pip-installer.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-pip (easy_install replacement to install pypi python packages)"
"pip is a tool for installing and managing Python packages, such as "
"those found in the Python Package Index."
"It’s a replacement for easy_install."
)

build() {
	cd $SRC/pip-$pkgver
	python setup.py install --prefix=/usr --root=$PKG
	mkdir -p $PKG/usr/doc/$pkgname-$pkgver
	cp docs/* $PKG/usr/doc/$pkgname-$pkgver 
}
