python-Markdown: build python3 module too

This commit is contained in:
Enno Boland 2014-05-02 09:15:44 +02:00
parent 1255fde37c
commit 43e8188742
2 changed files with 15 additions and 4 deletions

View file

@ -1,17 +1,27 @@
# Template file for 'python-Markdown'
pkgname=python-Markdown
version=2.2.1
revision=1
revision=2
wrksrc="Markdown-${version}"
build_style=python-module
hostmakedepends="python-distribute"
makedepends="python-devel"
hostmakedepends="python-distribute python3-distribute"
makedepends="python-devel python3-devel"
noarch="yes"
python_versions="2 3"
pycompile_module="markdown"
depends="python>=2.7"
short_desc="Python implementation of John Gruber's Markdown"
short_desc="Python2 implementation of John Gruber's Markdown"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pypi.python.org/pypi/Markdown"
license="BSD"
distfiles="http://pypi.python.org/packages/source/M/Markdown/Markdown-${version}.tar.gz"
checksum=f8b9a1efceab71afe9336a7c456fde36bfb0f505fb664ebb7f3dd44eddab44b6
python3-Markdown_package() {
noarch=yes
depends="python3"
short_desc="${short_desc//Python2/Python3}"
pkg_install() {
vmove /usr/lib/python3.3
}
}

1
srcpkgs/python3-Markdown Symbolic link
View file

@ -0,0 +1 @@
python-Markdown