# Template file for 'python2-html2text' # Remove after calibre moves to py3 pkgname=python-html2text version=2019.8.11 revision=2 archs=noarch wrksrc="${pkgname#*-}-${version}" build_style=python2-module pycompile_module="html2text" hostmakedepends="python-setuptools" depends="python" short_desc="HTML to Markdown-formatted text converter (Python2)" maintainer="q66 " license="GPL-3.0-only" homepage="https://github.com/Alir3z4/html2text/" distfiles="${PYPI_SITE}/h/html2text/html2text-${version}.tar.gz" checksum=f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e post_install() { rm -rf ${DESTDIR}/usr/bin # for some reason the permissions are wrong (600) chmod 644 ${DESTDIR}/${py2_sitelib}/html2text-*.egg-info/* }