1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python2-backports
6 pkgdesc="Namespace package required for backports collection"
8 url="https://pypi.python.org/pypi/backports"
14 cat << EOF > __init__.py
15 from pkgutil import extend_path
16 __path__ = extend_path(__path__, __name__)
18 python2 -m compileall .
23 install -Dm644 __init__.py "$pkgdir/usr/lib/python2.7/site-packages/backports/__init__.py"
24 install -Dm644 __init__.pyc "$pkgdir/usr/lib/python2.7/site-packages/backports/__init__.pyc"