From 7bd6523a895006b13dc9741091e176490636c85f Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 22 Sep 2020 21:33:01 +0300 Subject: [PATCH] dev-python/html_sanitizer: add html_sanitizer Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alfred Wingate --- dev-python/html_sanitizer/Manifest | 1 + .../html_sanitizer-1.9.1.ebuild | 22 +++++++++++++++++++ dev-python/html_sanitizer/metadata.xml | 8 +++++++ 3 files changed, 31 insertions(+) create mode 100644 dev-python/html_sanitizer/Manifest create mode 100644 dev-python/html_sanitizer/html_sanitizer-1.9.1.ebuild create mode 100644 dev-python/html_sanitizer/metadata.xml diff --git a/dev-python/html_sanitizer/Manifest b/dev-python/html_sanitizer/Manifest new file mode 100644 index 0000000..f98bdb3 --- /dev/null +++ b/dev-python/html_sanitizer/Manifest @@ -0,0 +1 @@ +DIST html_sanitizer-1.9.1.tar.gz 14449 BLAKE2B 34b47cd492b86aebd67279916ad1be7088facdb93ee829337eff0d0a6e6ffdfd53148693bf748bb4014328d1bf43f41cc907b2e61340721759e733032ac93d1b SHA512 f9a76733f87dc7642a63314202855d3e8639764f64ed29f8816f325faf67062c929e1edfc435b7d1071feb2ed00f31ca9c3e015c55650d95c42226a66ab1e6dd diff --git a/dev-python/html_sanitizer/html_sanitizer-1.9.1.ebuild b/dev-python/html_sanitizer/html_sanitizer-1.9.1.ebuild new file mode 100644 index 0000000..3981be7 --- /dev/null +++ b/dev-python/html_sanitizer/html_sanitizer-1.9.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Allowlist-based HTML cleaner" +HOMEPAGE="https://github.com/matthiask/html-sanitizer/ https://pypi.org/project/html-sanitizer/" +SRC_URI="https://github.com/matthiask/html-sanitizer/archive/"${PV}".tar.gz -> "${PN}"-"${PV}".tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/lxml-3.6.1 + dev-python/beautifulsoup:4 +" + +S=""${WORKDIR}"/html-sanitizer-"${PV}"" diff --git a/dev-python/html_sanitizer/metadata.xml b/dev-python/html_sanitizer/metadata.xml new file mode 100644 index 0000000..562a194 --- /dev/null +++ b/dev-python/html_sanitizer/metadata.xml @@ -0,0 +1,8 @@ + + + + + parona@protonmail.com + Alfred Wingate + +