#Packager: Tim Beech <tim ~dot~beech~at~gmail~dot~com>
#Former Packager(s): George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=unipath
pkgver=0.2.1
pkgrel=1rl
#arch=noarch
source=(http://pypi.python.org/packages/source/U/Unipath/Unipath-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/
docs=("authors" "install" "readme*" "copying" "bugs.txt" "changes" "pkg-info")
url=http://sluggo.scrapping.cc/python/unipath/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"unipath (Object-oriented alternative to os/os.path/shutil)"
"Unipath is package for doing pathname calculations and filesystem"
"access in an object-oriented manner, an alternative to os.path.*,"
"shutil.*, glob, and some os.* functions.. It's based on Jason"
"Orendorff's path.py but does not adhere as strictly to the underlying"
"functions' syntax, in order to provide more user convenience and"
"higher-level functionality."
)

build() {
        cd $startdir/src/Unipath-$pkgver
        python setup.py install --prefix=/usr --root=$startdir/pkg
}