void-packages/srcpkgs/python-Markdown/template

28 lines
810 B
Plaintext

# Template file for 'python-Markdown'
pkgname=python-Markdown
version=2.2.1
revision=2
wrksrc="Markdown-${version}"
build_style=python-module
hostmakedepends="python-distribute python3-distribute"
makedepends="python-devel python3-devel"
noarch="yes"
python_versions="2.7 3.3"
pycompile_module="markdown"
depends="python>=2.7"
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
}
}