# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python2-markupsafe _pkgname=MarkupSafe pkgver=1.1.1 pkgrel=7 pkgdesc='Safely add untrusted strings to HTML/XML markup.' url='https://pypi.org/project/MarkupSafe/#files' arch=('x86_64' 'aarch64') license=('BSD') depends=('python2') makedepends=('python2-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6') build() { cd "$_pkgname-$pkgver" python2 setup.py build } package() { cd "$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }