commit: fcce4beb1ae84444471801a8f1e0cf3b3fe23363 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Oct 30 16:23:30 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 30 16:41:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcce4beb
dev-python/tinyhtml5: New package, v2.0.0 Needed by dev-python/weasyprint now. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/tinyhtml5/Manifest | 1 + dev-python/tinyhtml5/metadata.xml | 12 ++++++++++++ dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/tinyhtml5/Manifest b/dev-python/tinyhtml5/Manifest new file mode 100644 index 000000000000..b25264645a07 --- /dev/null +++ b/dev-python/tinyhtml5/Manifest @@ -0,0 +1 @@ +DIST tinyhtml5-2.0.0.tar.gz 179507 BLAKE2B 600e4852c49649c77d060114bb412b0cd0cf85c64d627ec4796bbce167605ff5fa15fc11504f8bf170bbce4ab7adbdc76b2f4291971b28b6a30054dab5e4efe5 SHA512 79b78171d021a0cd7f6f56b2e5bd0d9bab422cbec4c601e19cb9c248eac0df74339290f0aaacc12eae4f733e92743a0a24e8caddf709f3bc86f3c022c4df3ded diff --git a/dev-python/tinyhtml5/metadata.xml b/dev-python/tinyhtml5/metadata.xml new file mode 100644 index 000000000000..a2004a01dc6d --- /dev/null +++ b/dev-python/tinyhtml5/metadata.xml @@ -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>pyt...@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">CourtBouillon/tinyhtml5</remote-id> + <remote-id type="pypi">tinyhtml5</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild b/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild new file mode 100644 index 000000000000..0d90c411acd2 --- /dev/null +++ b/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild @@ -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