| Name |
python-markupsafe |
| Description |
Implements a XML/HTML/XHTML Markup safe string for Python |
| Version |
3.0.2-2 |
| Package Base |
python-markupsafe |
| Homepage |
https://pypi.python.org/pypi/MarkupSafe |
| Maintainers |
['Jelle van der Waa <jelle@archlinux.org>'] |
| Contributors |
['Alex Anthony <alex.anthony28991@gmail.com>', 'Ionut Biru <ibiru@archlinux.org>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/python-markupsafe |
| Sources |
['git+https://github.com/pallets/markupsafe.git#tag=3.0.2'] |
| Dependencies |
['glibc', 'python'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git', 'python-build', 'python-installer', 'python-setuptools', 'python-wheel'] |
| Provides |
[] |
| Builddate |
14-12-2025 12:37:19 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['BSD-3-Clause'] |
| Hash |
8f2c89d363a525a0daa4f11feaef51eff7148c6a516ada128e906e782a9a0e17 |
# Maintainer : Felix Yan <felixonmars@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Alex Anthony <alex.anthony28991@gmail.com>
pkgname=python-markupsafe
pkgver=3.0.2
pkgrel=2
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
arch=('x86_64')
url="https://pypi.python.org/pypi/MarkupSafe"
license=('BSD-3-Clause')
depends=('glibc' 'python')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('python-pytest')
source=("git+https://github.com/pallets/markupsafe.git#tag=$pkgver")
sha512sums=('4e2fb5b69fd993784c965804037a62963cc64729d20c473c941e2ed238fe6ae5e7a2610d2678db908bf3e2b05c334d17e79d2476c3e147541b38f3270622f77f')
build() {
cd markupsafe
python -m build --wheel --no-isolation
}
check() {
cd markupsafe
PYTHONPATH=src pytest
}
package() {
cd markupsafe
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}