python-MarkupSafe: switch to setuptools; added python3.4 subpkg.

This commit is contained in:
Juan RP 2014-06-18 10:18:43 +02:00
parent 8f5110fdd4
commit 35dabe4d49
2 changed files with 8 additions and 9 deletions

View File

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

View File

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