opt/python3-markupsafe/Pkgfile

19 lines
489 B
Plaintext
Raw Normal View History

2019-03-16 13:41:53 +01:00
# Description: Implements a XML/HTML/XHTML Markup safe string for Python.
# URL: http://pypi.python.org/pypi/MarkupSafe
2023-08-10 17:11:29 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2019-03-16 13:41:53 +01:00
# Depends on: python3-setuptools
name=python3-markupsafe
2024-02-03 13:28:43 +01:00
version=2.1.5
2021-06-14 04:39:31 +02:00
release=1
2019-03-16 13:41:53 +01:00
source=(https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-$version.tar.gz)
build() {
2023-08-10 17:11:29 +02:00
cd MarkupSafe-$version
2019-03-16 13:41:53 +01:00
2023-08-10 17:11:29 +02:00
/usr/bin/python3 setup.py build
2019-03-16 13:41:53 +01:00
2023-08-10 17:11:29 +02:00
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG --optimize=1
2019-03-16 13:41:53 +01:00
}