2010-11-27 22:50:22 +00:00
|
|
|
# Template file for 'python-MarkupSafe'
|
|
|
|
pkgname=python-MarkupSafe
|
2014-06-06 07:26:26 +00:00
|
|
|
version=0.23
|
2014-06-18 10:44:20 +00:00
|
|
|
revision=4
|
2010-11-27 22:50:22 +00:00
|
|
|
wrksrc="MarkupSafe-${version}"
|
|
|
|
build_style=python-module
|
2014-06-18 08:18:43 +00:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2014-06-06 07:26:26 +00:00
|
|
|
depends="python>=2.7"
|
2014-06-18 08:18:43 +00:00
|
|
|
python_versions="2.7 3.4"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="markupsafe"
|
2014-06-06 07:26:26 +00:00
|
|
|
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-02-21 18:11:40 +00:00
|
|
|
homepage="http://pypi.python.org/pypi/MarkupSafe"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
|
2014-06-06 07:26:26 +00:00
|
|
|
checksum=a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3
|
|
|
|
|
2014-06-18 10:44:20 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
|
|
|
|
2014-06-18 08:18:43 +00:00
|
|
|
python3.4-MarkupSafe_package() {
|
|
|
|
depends="python3.4"
|
2014-06-18 09:59:06 +00:00
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="markupsafe"
|
2014-06-18 08:18:43 +00:00
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
2014-06-06 07:26:26 +00:00
|
|
|
pkg_install() {
|
2014-06-18 08:18:43 +00:00
|
|
|
vmove /usr/lib/python3.4
|
2014-06-18 10:44:20 +00:00
|
|
|
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
2014-06-06 07:26:26 +00:00
|
|
|
}
|
|
|
|
}
|