PKGBUILDs/aur/python2-path/PKGBUILD

23 lines
746 B
Bash
Raw Normal View History

# Maintainer: David Danier <david.danier@team23.de>
2014-11-03 18:59:13 +00:00
# ALARM AUR:
# Maintainer: Yaron de Leeuw <me@jarondl.net>
# only changed arch to any
pkgname=python2-path
pkgver=5.1
2014-11-03 18:59:13 +00:00
pkgrel=1.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"
2014-11-03 18:59:13 +00:00
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)
sha256sums=('976b1392527c77383eb827de7fd44dacaf1297a63aa0df526f47af302f479d54')
package() {
cd ${srcdir}/path.py-${pkgver}
# python2 setup.py build || return 1
python2 setup.py install --root=${pkgdir} --optimize=1 || return 1
}