| 1 | # Description: Implements a XML/HTML/XHTML Markup safe string for Python. |
| 2 | # URL: http://pypi.python.org/pypi/MarkupSafe |
| 3 | # Maintainer: Danny Rawlins, crux at romster dot me |
| 4 | # Arch Maintainer: CRUX-ARM System Team. devel at crux-arm dot nu |
| 5 | # Depends on: python3-setuptools |
| 6 | |
| 7 | name=python3-markupsafe |
| 8 | version=2.0.1 |
| 9 | release=1 |
| 10 | source=(https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-$version.tar.gz) |
| 11 | |
| 12 | build() { |
| 13 | cd MarkupSafe-$version |
| 14 | |
| 15 | /usr/bin/python3 setup.py build |
| 16 | |
| 17 | /usr/bin/python3 setup.py install --prefix=/usr \ |
| 18 | --root=$PKG --optimize=1 |
| 19 | } |