# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-html2markdown pkgver=0.1.7 pkgrel=2 pkgdesc="Conservatively convert html to markdown" url="https://github.com/dlon/html2markdown" arch="noarch" license="MIT" depends=" py3-beautifulsoup4 python3 " makedepends="py3-setuptools" checkdepends=" py3-markdown py3-pytest " #source="https://pypi.python.org/packages/source/h/html2markdown/html2markdown-$pkgver.tar.gz" source="https://github.com/dlon/html2markdown/archive/v$pkgver/html2markdown-v$pkgver.tar.gz" builddir="$srcdir/html2markdown-$pkgver" build() { python3 setup.py build } check() { pytest tests.py -k 'not test_inline_tag_content' } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" cd6a9fe266e9579e52dc85e8dfe09e817a36ed7b4c038f1a237d54f229aa3f70b961f923b2e1a90f649412a4a746df651853fc19178c82935fd3ccbc87297977 html2markdown-v0.1.7.tar.gz "