pkgname=python2-backports-abc pkgver=0.4 pkgrel=1 pkgdesc="A backport of recent additions to the 'collections.abc' module." arch=('any') url='http://pypi.python.org/pypi/backports_abc' license=('PSF') depends=('python2') makedepends=('python2-setuptools') source=("https://pypi.python.org/packages/source/b/backports_abc/backports_abc-${pkgver}.tar.gz") sha256sums=('8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5') check() { cd backports_abc-${pkgver} python2 tests.py } package() { cd backports_abc-${pkgver} python2 setup.py install --root="${pkgdir}" --optimize=1 }