dev-python/html_sanitizer: bump EAPI, PYTHON_COMPAT and enable tests

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2021-06-30 01:19:40 +03:00
parent a2052f64ea
commit 70b8b42658
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 12 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# Copyright 2020-2021 Gentoo Authors # Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{7..9} ) PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="Allowlist-based HTML cleaner" DESCRIPTION="Allowlist-based HTML cleaner"
@ -19,4 +19,6 @@ DEPEND="
dev-python/beautifulsoup:4 dev-python/beautifulsoup:4
" "
S=""${WORKDIR}"/html-sanitizer-"${PV}"" S="${WORKDIR}/html-sanitizer-${PV}"
distutils_enable_tests unittest

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person"> <maintainer type="person">
<email> parona@protonmail.com </email> <email>parona@protonmail.com</email>
<name> Alfred Wingate </name> <name>Alfred Wingate</name>
</maintainer> </maintainer>
<upstream>
<remote-id type="github">matthiask/html-sanitizer</remote-id>
</upstream>
</pkgmetadata> </pkgmetadata>