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
8 pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
10 url="https://pypi.python.org/pypi/MarkupSafe"
13 makedepends=('python-setuptools')
14 checkdepends=('python-pytest-runner')
15 source=("https://github.com/pallets/markupsafe/archive/$pkgver/$pkgname-$pkgver.tar.gz")
16 sha512sums=('6b06a5f470858409eb186d20edd129be90f31030be91fcc73e989b0a4ee51c3755cce0938edd9a7c73471d307385260f868101b5e11cc4d97c309420b5a573da')
25 python setup.py pytest
30 python setup.py install --root="$pkgdir" --optimize=1
32 install -D -m644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-markupsafe/LICENSE.rst