description="MarkupSafe is a Python module that implements a XML/HTML/XHTML Markup safe string."
url="https://pypi.python.org/pypi/MarkupSafe"

packager="Grat-OS Team"
maintainer="Grat-OS Team"

name=python-markupsafe
_name=MarkupSafe
version=2.1.5
release=3

source=(https://github.com/pallets/markupsafe/releases/download/$version/MarkupSafe-$version.tar.gz)

build() {
  cd ${_name}-$version

  pip3 install --upgrade pip

  pip3 install wheel
  pip3 install setuptools

  pip3 wheel -w dist \
    --no-cache-dir \
    --no-build-isolation \
    --no-deps .

  pip3 install --no-index \
    --no-user \
    --root=$PKG \
    --find-links dist \
    ${_name}
}