# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-markdown-it-py pkgver=2.1.0 pkgrel=0 pkgdesc="Markdown parser, done right" url="https://markdown-it-py.readthedocs.io/" arch="noarch" license="MIT" depends="python3 py3-attrs py3-mdurl" makedepends="py3-build py3-flit-core py3-installer" checkdepends="py3-pytest py3-pytest-benchmark" source="https://github.com/executablebooks/markdown-it-py/archive/v$pkgver/py3-markdown-it-py-$pkgver.tar.gz" builddir="$srcdir/markdown-it-py-$pkgver" build() { python3 -m build --no-isolation --wheel } check() { # fixture 'data_regression' not found # needs py3-pytest-regressions pytest -k 'not test_linkify' \ --deselect=tests/test_tree.py::test_pretty \ --deselect=tests/test_api/test_main.py::test_table_tokens \ --deselect=tests/test_cmark_spec/test_spec.py::test_file \ --deselect=tests/test_port/test_references.py::test_use_existing_env \ --deselect=tests/test_port/test_references.py::test_store_labels \ --deselect=tests/test_port/test_references.py::test_inline_definitions } package() { python3 -m installer -d "$pkgdir" \ dist/markdown_it_py-$pkgver-py3-none-any.whl } sha512sums=" 04e90538c8693f795aed2ed0a5bef4eaf0c12fac32cc0c2049c563e974b229940b9ceaea849ce86fa9804ccdd7be93145f3b6fc8d0774e96fafa0484368d0a88 py3-markdown-it-py-2.1.0.tar.gz "