diff --git a/srcpkgs/python-mistune/template b/srcpkgs/python-mistune/template new file mode 100644 index 00000000000..8f9e0ed9194 --- /dev/null +++ b/srcpkgs/python-mistune/template @@ -0,0 +1,28 @@ +# Template file for 'python-mistune' +pkgname=python-mistune +version=0.5.1 +revision=1 +noarch=yes +wrksrc="mistune-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="mistune.py" +short_desc="The fastest markdown parser for Python2" +maintainer="Alessio Sergi " +homepage="https://github.com/lepture/mistune" +license="BSD" +distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz" +checksum=cc66489a28845c0e1848ae290af5b555074eb76185136ca058e8eed1faa89692 + +python3.4-mistune_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="mistune.py" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-mistune b/srcpkgs/python3.4-mistune new file mode 120000 index 00000000000..26ea68379b8 --- /dev/null +++ b/srcpkgs/python3.4-mistune @@ -0,0 +1 @@ +python-mistune \ No newline at end of file