25 lines
857 B
Bash
25 lines
857 B
Bash
# Template file for 'python-html5-parser'
|
|
pkgname=python-html5-parser
|
|
version=0.4.8
|
|
revision=1
|
|
wrksrc="html5-parser-${version}"
|
|
build_style=python-module
|
|
pycompile_module="html5_parser"
|
|
hostmakedepends="python-setuptools python3-setuptools pkg-config"
|
|
makedepends="python-devel python3-devel libxml2-devel"
|
|
depends="python-chardet python-lxml"
|
|
short_desc="Fast C-based HTML5 parsing (Python2)"
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://html5-parser.readthedocs.io/"
|
|
distfiles="${PYPI_SITE}/h/html5-parser/html5-parser-${version}.tar.gz"
|
|
checksum=b1ead2784c69cee5d481eb6d75587cc5ea08fc292b127ae08afe7771a6fba101
|
|
|
|
python3-html5-parser_package() {
|
|
pycompile_module="html5_parser"
|
|
depends="python3-chardet python3-lxml"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|