updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-importlib / PKGBUILD
bloba054d440a5723b774731f0e990b48d2de8a2710c
1 # Contributor: Marco Elver <marco.elver AT gmail.com>
3 pkgname=python-importlib
4 pkgver=1.0.1
5 pkgrel=1
6 pkgdesc="Backport of importlib module from Python 2.7 and up."
7 arch=('any')
8 url='http://pypi.python.org/pypi/importlib'
9 license=('BSD')
10 depends=('python<2.7')
11 makedepends=('setuptools')
12 source=("http://pypi.python.org/packages/source/i/importlib/importlib-$pkgver.tar.gz")
13 options=(!emptydirs)
15 build() {
16   cd $srcdir/importlib-$pkgver
17   python setup.py install --root=$pkgdir/ --optimize=1 || return 1
19 md5sums=('1ea851d370b029ed1bfaeb224da210fb')