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

pkgname=python-mock
pkgver=1.0b1
pkgrel=1rl
#arch=noarch
source=(http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/
docs=("license.txt" "readme.txt")
url=http://pypi.python.org/pypi/mock

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-mock (A Python Mocking and Patching Library for Testing)"
"mock is a library for testing in Python. It allows you to replace "
"parts of your system under test with mock objects and make assertions "
"about how they have been used."
)

build() {
	cd $SRC/mock-$pkgver
	python setup.py install --prefix=/usr --root=$PKG
}