commit: 4a31cd5dad81860195242d5ec057e5413843ab6d Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jul 22 12:16:05 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jul 22 12:17:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a31cd5d
dev-python/confusable_homoglyphs: new package, add 3.2.0 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-python/confusable_homoglyphs/Manifest | 1 + .../confusable_homoglyphs-3.2.0.ebuild | 26 ++++++++++++++++++++++ dev-python/confusable_homoglyphs/metadata.xml | 12 ++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/confusable_homoglyphs/Manifest b/dev-python/confusable_homoglyphs/Manifest new file mode 100644 index 000000000000..5d11c1714abd --- /dev/null +++ b/dev-python/confusable_homoglyphs/Manifest @@ -0,0 +1 @@ +DIST confusable_homoglyphs-3.2.0.gh.tar.gz 338272 BLAKE2B b4697ad3997ecb2784653a47779ead7ded0e9af46125bc5868954cc8cf5064377a553c9b388be6a42634fa27880ef2fa57224e4b4bf9e357b3a9ff32a5db4993 SHA512 6e51cc4ec9a70246f4a871b8303834d0189d9d5056823b2f576e198cc3ced7154a0d57e945f3814bfa37da6015808bc1d6cdf44cfa17d637ded83ead8a6e4f5c diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild new file mode 100644 index 000000000000..afa5c5dd4b82 --- /dev/null +++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_11 ) +inherit distutils-r1 + +CommitId=14f43ddd74099520ddcda29fac557c27a28190e6 + +DESCRIPTION="Detect confusable usage of unicode homoglyphs, prevent homograph attacks" +HOMEPAGE=" + https://github.com/vhf/confusable_homoglyphs/ + https://pypi.org/project/confusable_homoglyphs/ +" +SRC_URI="https://github.com/vhf/${PN}/archive/${CommitId}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}"/${PN}-${CommitId} + +distutils_enable_tests pytest diff --git a/dev-python/confusable_homoglyphs/metadata.xml b/dev-python/confusable_homoglyphs/metadata.xml new file mode 100644 index 000000000000..1c67e1e89d60 --- /dev/null +++ b/dev-python/confusable_homoglyphs/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="person"> + <email>[email protected]</email> + <name>Tupone Alfredo</name> + </maintainer> + <upstream> + <remote-id type="pypi">confusable_homoglyphs</remote-id> + <remote-id type="github">vhf/confusable_homoglyphs</remote-id> + </upstream> +</pkgmetadata>
