1 # Contributor: Marco Elver <marco.elver AT gmail.com>
3 pkgname=python-importlib
6 pkgdesc="Backport of importlib module from Python 2.7 and up."
8 url='http://pypi.python.org/pypi/importlib'
10 depends=('python<2.7')
11 makedepends=('setuptools')
12 source=("http://pypi.python.org/packages/source/i/importlib/importlib-$pkgver.tar.gz")
16 cd $srcdir/importlib-$pkgver
17 python setup.py install --root=$pkgdir/ --optimize=1 || return 1
19 md5sums=('1ea851d370b029ed1bfaeb224da210fb')