dev-python/tinyhtml5: New package, v2.0.0

Needed by dev-python/weasyprint now.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-10-30 17:23:30 +01:00
parent bd633d4b02
commit fcce4beb1a
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST tinyhtml5-2.0.0.tar.gz 179507 BLAKE2B 600e4852c49649c77d060114bb412b0cd0cf85c64d627ec4796bbce167605ff5fa15fc11504f8bf170bbce4ab7adbdc76b2f4291971b28b6a30054dab5e4efe5 SHA512 79b78171d021a0cd7f6f56b2e5bd0d9bab422cbec4c601e19cb9c248eac0df74339290f0aaacc12eae4f733e92743a0a24e8caddf709f3bc86f3c022c4df3ded

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">CourtBouillon/tinyhtml5</remote-id>
<remote-id type="pypi">tinyhtml5</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="HTML parser based on the WHATWG HTML specification"
HOMEPAGE="
https://doc.courtbouillon.org/tinyhtml5/latest/
https://github.com/CourtBouillon/tinyhtml5/
https://pypi.org/project/tinyhtml5/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/webencodings-0.5.1[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest