python3-html5-parser: depends on BeautifulSoup
While we're at it, drop python-html5-parser.
This commit is contained in:
parent
14f25c64e0
commit
6ed3afbc6d
3 changed files with 16 additions and 26 deletions
|
@ -1,25 +0,0 @@
|
||||||
# Template file for 'python-html5-parser'
|
|
||||||
pkgname=python-html5-parser
|
|
||||||
version=0.4.9
|
|
||||||
revision=2
|
|
||||||
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 <bra1nwave@protonmail.com>"
|
|
||||||
license="Apache-2.0"
|
|
||||||
homepage="https://html5-parser.readthedocs.io/"
|
|
||||||
distfiles="${PYPI_SITE}/h/html5-parser/html5-parser-${version}.tar.gz"
|
|
||||||
checksum=25fe8f6848cbc15187f6748c0695df32bcf1b37df6420b6a01b4ebe1ec1ed48f
|
|
||||||
|
|
||||||
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*"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-html5-parser
|
|
16
srcpkgs/python3-html5-parser/template
Normal file
16
srcpkgs/python3-html5-parser/template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'python3-html5-parser'
|
||||||
|
pkgname=python3-html5-parser
|
||||||
|
version=0.4.9
|
||||||
|
revision=3
|
||||||
|
wrksrc="html5-parser-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools pkg-config"
|
||||||
|
makedepends="python3-devel libxml2-devel"
|
||||||
|
depends="python3-chardet python3-lxml python3-BeautifulSoup4"
|
||||||
|
checkdepends="$depends"
|
||||||
|
short_desc="Fast C-based HTML5 parsing (Python3)"
|
||||||
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://html5-parser.readthedocs.io/"
|
||||||
|
distfiles="${PYPI_SITE}/h/html5-parser/html5-parser-${version}.tar.gz"
|
||||||
|
checksum=25fe8f6848cbc15187f6748c0695df32bcf1b37df6420b6a01b4ebe1ec1ed48f
|
Loading…
Add table
Add a link
Reference in a new issue