diff --git a/srcpkgs/python-MarkupSafe/template b/srcpkgs/python-MarkupSafe/template index cd54431999..7f8d384c3a 100644 --- a/srcpkgs/python-MarkupSafe/template +++ b/srcpkgs/python-MarkupSafe/template @@ -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 " 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 + } +} diff --git a/srcpkgs/python3-MarkupSafe b/srcpkgs/python3-MarkupSafe new file mode 120000 index 0000000000..56b2cb8a73 --- /dev/null +++ b/srcpkgs/python3-MarkupSafe @@ -0,0 +1 @@ +python-MarkupSafe \ No newline at end of file