mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python-mistune: build with python-Cython to enable speedups
This commit is contained in:
parent
1506e8b8ab
commit
97df95da4f
1 changed files with 3 additions and 6 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-mistune'
|
# Template file for 'python-mistune'
|
||||||
pkgname=python-mistune
|
pkgname=python-mistune
|
||||||
version=0.5.1
|
version=0.5.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
|
||||||
wrksrc="mistune-${version}"
|
wrksrc="mistune-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools python-Cython python3.4-Cython"
|
||||||
depends="python"
|
makedepends="python-devel python3.4-devel"
|
||||||
pycompile_module="mistune.py"
|
pycompile_module="mistune.py"
|
||||||
short_desc="The fastest markdown parser for Python2"
|
short_desc="The fastest markdown parser for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -17,8 +16,6 @@ distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
|
||||||
checksum=cc66489a28845c0e1848ae290af5b555074eb76185136ca058e8eed1faa89692
|
checksum=cc66489a28845c0e1848ae290af5b555074eb76185136ca058e8eed1faa89692
|
||||||
|
|
||||||
python3.4-mistune_package() {
|
python3.4-mistune_package() {
|
||||||
noarch=yes
|
|
||||||
depends="python3.4"
|
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="mistune.py"
|
pycompile_module="mistune.py"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue