2015-03-15 16:21:01 +01:00
|
|
|
# Template file for 'python-mistune'
|
|
|
|
pkgname=python-mistune
|
2015-08-24 00:14:44 +02:00
|
|
|
version=0.7.1
|
2015-06-18 20:30:00 +02:00
|
|
|
revision=1
|
2015-03-15 16:21:01 +01:00
|
|
|
wrksrc="mistune-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
2015-03-31 01:07:51 +02:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools python-Cython python3.4-Cython"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2015-03-15 16:21:01 +01:00
|
|
|
pycompile_module="mistune.py"
|
|
|
|
short_desc="The fastest markdown parser for Python2"
|
|
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
|
|
homepage="https://github.com/lepture/mistune"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
|
2015-08-24 00:14:44 +02:00
|
|
|
checksum=6076dedf768348927d991f4371e5a799c6a0158b16091df08ee85ee231d929a7
|
2015-03-15 16:21:01 +01:00
|
|
|
|
|
|
|
python3.4-mistune_package() {
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="mistune.py"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|