2013-03-06 09:30:21 +01:00
|
|
|
# Template file for 'python-Markdown'
|
|
|
|
pkgname=python-Markdown
|
|
|
|
version=2.2.1
|
2014-05-02 09:15:44 +02:00
|
|
|
revision=2
|
2013-03-06 09:30:21 +01:00
|
|
|
wrksrc="Markdown-${version}"
|
|
|
|
build_style=python-module
|
2014-05-02 09:15:44 +02:00
|
|
|
hostmakedepends="python-distribute python3-distribute"
|
|
|
|
makedepends="python-devel python3-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch="yes"
|
2014-05-06 10:42:38 +02:00
|
|
|
python_versions="2.7 3.3"
|
2014-01-01 16:10:11 +01:00
|
|
|
pycompile_module="markdown"
|
|
|
|
depends="python>=2.7"
|
2014-05-02 09:15:44 +02:00
|
|
|
short_desc="Python2 implementation of John Gruber's Markdown"
|
2013-03-06 09:30:21 +01:00
|
|
|
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
|
2014-05-02 09:15:44 +02:00
|
|
|
|
|
|
|
python3-Markdown_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3"
|
|
|
|
short_desc="${short_desc//Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove /usr/lib/python3.3
|
|
|
|
}
|
|
|
|
}
|