29 lines
858 B
Bash
29 lines
858 B
Bash
# Template file for 'python-MarkupSafe'
|
|
pkgname=python-MarkupSafe
|
|
version=1.1.1
|
|
revision=1
|
|
wrksrc="MarkupSafe-${version}"
|
|
build_style=python-module
|
|
pycompile_module="markupsafe"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://palletsprojects.com/p/markupsafe/"
|
|
distfiles="${PYPI_SITE}/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
|
|
checksum=29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|
|
|
|
python3-MarkupSafe_package() {
|
|
pycompile_module="markupsafe"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.rst
|
|
}
|
|
}
|