htmlentities: add test and missing dependency

This commit is contained in:
rick 2025-05-31 12:16:25 +02:00
parent a8f190f970
commit b3acf4442b
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -11,17 +11,14 @@ DESCRIPTION="HTML Entities for Python"
HOMEPAGE="https://github.com/cobrateam/python-htmlentities"
SRC_URI="https://github.com/cobrateam/python-htmlentities/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${P}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
S="${WORKDIR}/python-${P}"
src_prepare(){
rm -r tests
eapply_user
}
distutils_enable_tests unittest