void-packages/srcpkgs/python-mistune/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

28 lines
805 B
Bash

# Template file for 'python-mistune'
pkgname=python-mistune
version=0.8.3
revision=1
wrksrc="mistune-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
makedepends="python-devel python3-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="3-clause-BSD"
distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
checksum=bc10c33bfdcaa4e749b779f62f60d6e12f8215c46a292d05e486b869ae306619
post_install() {
vlicense LICENSE
}
python3-mistune_package() {
pycompile_module="mistune.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}