mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/html5-parser: Bump to 0.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST html5-parser-0.4.12.tar.gz 270861 BLAKE2B 34cd247004956205c8aa67b6863a16950b28b92274feb4ddf1fe5ab177bd6e58d2835775a6e12cb6ee56a9bfcf3ad40f5c645fc380be1364acb8cfbfd6eabb3e SHA512 5dc45c54c53fc6492b645977940ebaf4bc4fee141767d9d6066ecc1c8547a2343f29c39c65f97d827863c499d48f54fae9309b8b25aa636ae3e4e42e97ec1f17
|
||||
DIST html5_parser-0.5.0.tar.gz 275010 BLAKE2B 234491dc83840798f397187f91ce24073262b54b78b3d672665336ec88d0bf15b8ef681037ee2c68055d7a2f08fe685bae307f3125b1be6d5de080144493a10f SHA512 4e38427d70ddd16cd8dce10d26d8ba6d33e985b681b85d27b2992ad07d10371a011df8fb3757ed62e6e492380377075ee1d27d469dec8a04dfb0451922e1b48f
|
||||
|
||||
46
dev-python/html5-parser/html5-parser-0.5.0.ebuild
Normal file
46
dev-python/html5-parser/html5-parser-0.5.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1 pypi toolchain-funcs
|
||||
|
||||
DESCRIPTION="Fast C based HTML 5 parsing for python"
|
||||
HOMEPAGE="
|
||||
https://github.com/kovidgoyal/html5-parser/
|
||||
https://pypi.org/project/html5-parser/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libxml2:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" run_tests.py || die
|
||||
}
|
||||
Reference in New Issue
Block a user