1 # Maintainer : Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Alex Anthony <alex.anthony28991@gmail.com>
5 pkgname=python-markupsafe
7 _commit=c0254f0cfe51720ecc9e72e8896022af29af5b44
9 pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
11 url="https://pypi.python.org/pypi/MarkupSafe"
14 makedepends=('git' 'python-setuptools')
15 checkdepends=('python-pytest')
16 source=("git+https://github.com/pallets/markupsafe.git#commit=$_commit")
31 python setup.py install --root="$pkgdir" --optimize=1
32 install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/