mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
New package: python-html2text-2019.8.11
This is necessary for calibre to function properly.
This commit is contained in:
parent
5c7c0adfbb
commit
0f43428a36
1 changed files with 23 additions and 0 deletions
23
srcpkgs/python-html2text/template
Normal file
23
srcpkgs/python-html2text/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# 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 <daniel@octaforge.org>"
|
||||||
|
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/*
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue