31 lines
858 B
Bash
31 lines
858 B
Bash
# Template file for 'python-mistune'
|
|
pkgname=python-mistune
|
|
version=0.7.2
|
|
revision=1
|
|
wrksrc="mistune-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools python-Cython python3.4-Cython"
|
|
makedepends="python-devel python3.4-devel"
|
|
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"
|
|
checksum=626f2516adcde4af608eaf83635ff20ff7e577c1898ad4d0f0fcd8c094399840
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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
|
|
vlicense LICENSE
|
|
}
|
|
}
|