# Contributor: Newbyte # Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-mistune1 pkgver=0.8.4 pkgrel=2 pkgdesc="Python Markdown parser module" url="https://github.com/lepture/mistune" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" checkdepends="py3-nose" options="!check" # TODO: enable subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/lepture/mistune/archive/v$pkgver.tar.gz version.patch" builddir="$srcdir/mistune-$pkgver" prepare() { default_prepare mv mistune.py mistune1.py } build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 44f155966e135ae157a8769e566119d86d1cdae28a4c27ecb54c33a9497096d0d4284a98da0c1bd47195f1b5c83e293b9655a912431adb18bfe84766ba1adc15 py3-mistune1-0.8.4.tar.gz 6203c0693977ca361b9cb9b1bcc98ae8c7e17f796880b25155021d8c0f59ddf1a91a8ba418524501cebed80b75a91a230eeaaedd5425dcd6a6d70f7ab0ac8150 version.patch "