2019-03-16 23:41:53 +11: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 23:41:53 +11:00
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-markupsafe
|
2023-08-10 17:21:46 +02:00
|
|
|
version=2.1.3
|
2021-06-14 12:39:31 +10:00
|
|
|
release=1
|
2019-03-16 23:41:53 +11: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 23:41:53 +11:00
|
|
|
|
2023-08-10 17:11:29 +02:00
|
|
|
/usr/bin/python3 setup.py build
|
2019-03-16 23:41:53 +11:00
|
|
|
|
2023-08-10 17:11:29 +02:00
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG --optimize=1
|
2019-03-16 23:41:53 +11:00
|
|
|
}
|