python-Markdown: update to 2.6

This commit is contained in:
Alessio Sergi 2015-03-01 21:21:21 +01:00
parent 428c8a7cc7
commit b0479ec081

View file

@ -1,13 +1,12 @@
# Template file for 'python-Markdown'
pkgname=python-Markdown
version=2.5.2
version=2.6
revision=1
noarch=yes
wrksrc="Markdown-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="markdown"
short_desc="Python2 implementation of John Gruber's Markdown"
@ -15,12 +14,11 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pypi.python.org/pypi/Markdown"
license="BSD"
distfiles="${PYPI_SITE}/M/Markdown/Markdown-${version}.tar.gz"
checksum=284e97e56db9ada03ede9c0ed2870ca6590ce7869f3119104d53510debf1533d
checksum=e1c8a489bb7c7154bc5a8c14f0fd1fc356ee36c8b9988f9fd8febff22dd435da
pre_install() {
mv build-3.4/scripts-3.4/markdown_py{,3}
}
post_install() {
rm -f ${DESTDIR}/usr/bin/markdown_py
vbin build-2.7/scripts-2.7/markdown_py