python-MarkupSafe: update to 0.23

Build python3 module too
This commit is contained in:
Alessio Sergi 2014-06-06 09:26:26 +02:00
parent f66ca6554a
commit 9229329ce9
2 changed files with 16 additions and 5 deletions

View file

@ -1,15 +1,25 @@
# Template file for 'python-MarkupSafe'
pkgname=python-MarkupSafe
version=0.15
version=0.23
revision=1
wrksrc="MarkupSafe-${version}"
build_style=python-module
hostmakedepends="python-distribute"
makedepends="python-devel"
hostmakedepends="python-distribute python3-distribute"
makedepends="python-devel python3-devel"
depends="python>=2.7"
python_versions="2.7 3.3"
pycompile_module="markupsafe"
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python"
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pypi.python.org/pypi/MarkupSafe"
license="MIT"
distfiles="http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
checksum=339ec04d20ad9cdccbfe9f38dce6182cc504ce789e5d0f9647eaa752f0f95300
checksum=a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3
python3-MarkupSafe_package() {
depends="python3"
short_desc="${short_desc//Python2/Python3}"
pkg_install() {
vmove /usr/lib/python3.3
}
}

1
srcpkgs/python3-MarkupSafe Symbolic link
View file

@ -0,0 +1 @@
python-MarkupSafe