# Maintainer: vorpalblade # Contributor: Anxo Beltrán # Contributor: David Danier pkgname=python2-path pkgver=7.3 pkgrel=1 pkgdesc="path.py provides a class (path) for working with files and directories. Less typing than os.path, more fun, a few new tricks" arch=('any') url="https://pypi.python.org/pypi/path.py" license=('MIT') depends=('python2') options=(!emptydirs) source=(http://pypi.python.org/packages/source/p/path.py/path.py-${pkgver}.zip) changelog=Changelog sha256sums=('f7d146f40768e3742199a5316fbe3eb6a6091b9feedcb4b969c7348dc03151e1') build() { cd "${srcdir}/path.py-${pkgver}" python2 setup.py build || return 1 } package() { cd ${srcdir}/path.py-${pkgver} python2 setup.py install --root="${pkgdir}" \ --prefix=/usr \ --compile \ --optimize=1 || return 1 }