diff --git a/python-markupsafe/PKGBUILD b/python-markupsafe/PKGBUILD new file mode 100644 index 0000000..c6036d0 --- /dev/null +++ b/python-markupsafe/PKGBUILD @@ -0,0 +1,29 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=python-markupsafe +pkgver=2.1.5 +pkgrel=1 +pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python" +arch=('x86_64') +url="https://palletsprojects.com/p/markupsafe/" +license=('BSD') +depends=('python') +makedepends=('python-wheel' 'python-setuptools') +source=(https://pypi.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz) +sha256sums=(d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b) + +build() { + cd MarkupSafe-${pkgver} + + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +package() { + cd MarkupSafe-${pkgver} + + pip3 install --ignore-installed --root=${pkgdir} --no-index --no-user --find-links=dist Markupsafe +}