diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-30 15:16:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-30 15:19:15 +0100 |
commit | 0a7fd61d6cbf4d37018b192d0867c9e118ba5a23 (patch) | |
tree | 4011029a6991d00074f357e83d5cca07f7148507 /dev-python/confusable-homoglyphs | |
parent | Move dev-python/{confusable_homoglyphs → confusable-homoglyphs} (diff) | |
download | gentoo-0a7fd61d6cbf4d37018b192d0867c9e118ba5a23.tar.gz gentoo-0a7fd61d6cbf4d37018b192d0867c9e118ba5a23.tar.bz2 gentoo-0a7fd61d6cbf4d37018b192d0867c9e118ba5a23.zip |
dev-python/confusable-homoglyphs: Bump to 3.3.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/confusable-homoglyphs')
-rw-r--r-- | dev-python/confusable-homoglyphs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/confusable-homoglyphs/metadata.xml | 4 |
3 files changed, 37 insertions, 2 deletions
diff --git a/dev-python/confusable-homoglyphs/Manifest b/dev-python/confusable-homoglyphs/Manifest index e971c47f18f5..c0687835ca3f 100644 --- a/dev-python/confusable-homoglyphs/Manifest +++ b/dev-python/confusable-homoglyphs/Manifest @@ -1 +1,2 @@ DIST confusable_homoglyphs-3.2.0.tar.gz 161937 BLAKE2B ac2c66317b18dd73868b3cbe3b11162550597547da8ee3df5525362b79bd7f61a19bd7446839dfb477d5c2b27464fc88a120c5c6d496de8b86c9e88aabd8aeb0 SHA512 0a46a5bc94393592f6fa088bbe2f95cc301972c55de08231f3607828fcd3c5cb462514b80013283ef8cd8d76eaa3e14258ac8f3433c9c2cd1a89bcebca8fa7f6 +DIST confusable_homoglyphs-3.3.1.tar.gz 325480 BLAKE2B 74a18d442832197cd6371721269ef6389fe2e82e96131656e1ba4d49cb2be9431f715125640c330babe3bce1b2eb34aaf9097a29b6743d2b1c90b5aa53f5dee3 SHA512 c6032479025caa779c79761fc6b34e5b5adab3d784bfe03282b7f5edc7701366ee7897bd4e8a4c264e7a06a59f075ac876bd47fa328accfe981944e70092d40d diff --git a/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild new file mode 100644 index 000000000000..cc82b86b0e2e --- /dev/null +++ b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Detect confusable usage of unicode homoglyphs, prevent homograph attacks" +HOMEPAGE=" + https://git.sr.ht/~valhalla/confusable_homoglyphs/ + https://pypi.org/project/confusable-homoglyphs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # removed outdated bundled version (for py3.12 compat) + rm versioneer.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/confusable-homoglyphs/metadata.xml b/dev-python/confusable-homoglyphs/metadata.xml index 1c67e1e89d60..5a9134e4a049 100644 --- a/dev-python/confusable-homoglyphs/metadata.xml +++ b/dev-python/confusable-homoglyphs/metadata.xml @@ -6,7 +6,7 @@ <name>Tupone Alfredo</name> </maintainer> <upstream> - <remote-id type="pypi">confusable_homoglyphs</remote-id> - <remote-id type="github">vhf/confusable_homoglyphs</remote-id> + <remote-id type="pypi">confusable-homoglyphs</remote-id> + <remote-id type="sourcehut">~valhalla/confusable_homoglyphs</remote-id> </upstream> </pkgmetadata> |