python-markupsafe 2.1.5-1

This commit is contained in:
xhaa123 2024-09-07 23:39:16 +08:00
parent 3ca17907ed
commit d36c717775

View File

@ -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 <future_linux@163.com>
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
}