void-packages/srcpkgs/python-MarkupSafe/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

28 lines
813 B
Bash

# Template file for 'python-MarkupSafe'
pkgname=python-MarkupSafe
version=1.0
revision=2
wrksrc="MarkupSafe-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
pycompile_module="markupsafe"
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://github.com/mitsuhiko/markupsafe"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
checksum=a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665
post_install() {
vlicense LICENSE
}
python3-MarkupSafe_package() {
pycompile_module="markupsafe"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}