desktop/python2-six/PKGBUILD

19 lines
508 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
pkgname=python2-six
pkgver=1.2.0
pkgrel=1
pkgdesc="Python 2 and 3 compatibility utilities"
arch=('any')
url="http://pypi.python.org/pypi/six/"
license=('custom')
depends=('python2')
source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz)
md5sums=('2a5d1afc79912832ac78fd38e3d75d7e')
package() {
cd "$srcdir/six-$pkgver"
python2 setup.py install --root "${pkgdir}" --optimize=1
}