#Packager: Dimitris Jemos pkgname=python-unittest2 pkgver=1.1.0 pkgrel=1dj source=("https://hg.python.org/unittest2/archive/$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/djemos/salix/14.2/$pkgname docs=("README" "LICENSE" "Changelog" "DEPENDS" "docs") url=http://www.voidspace.org.uk/python/articles/unittest2.shtml slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "python-unittest2 (New features in unittest for Python2)" "unittest2 is a backport of the enhanced unittest testing framework" "present in Python releases newer than 2.7." ) build() { cd $startdir/src/unittest2-$pkgver || return 1 python setup.py build || exit 1 python setup.py install --root=$startdir/pkg || exit 1 }