From 66fb3a989f0d043127a20e472416661f8b5a7aad Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 30 Jan 2024 15:13:31 +0100 Subject: Move dev-python/{confusable_homoglyphs → confusable-homoglyphs} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/confusable-homoglyphs/Manifest | 1 + .../confusable-homoglyphs-3.2.0-r2.ebuild | 34 ++++++++++++++++++++++ dev-python/confusable-homoglyphs/metadata.xml | 12 ++++++++ dev-python/confusable_homoglyphs/Manifest | 1 - .../confusable_homoglyphs-3.2.0-r2.ebuild | 34 ---------------------- dev-python/confusable_homoglyphs/metadata.xml | 12 -------- .../django-registration-3.4-r1.ebuild | 4 +-- profiles/updates/1Q-2024 | 1 + 8 files changed, 50 insertions(+), 49 deletions(-) create mode 100644 dev-python/confusable-homoglyphs/Manifest create mode 100644 dev-python/confusable-homoglyphs/confusable-homoglyphs-3.2.0-r2.ebuild create mode 100644 dev-python/confusable-homoglyphs/metadata.xml delete mode 100644 dev-python/confusable_homoglyphs/Manifest delete mode 100644 dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild delete mode 100644 dev-python/confusable_homoglyphs/metadata.xml diff --git a/dev-python/confusable-homoglyphs/Manifest b/dev-python/confusable-homoglyphs/Manifest new file mode 100644 index 000000000000..e971c47f18f5 --- /dev/null +++ b/dev-python/confusable-homoglyphs/Manifest @@ -0,0 +1 @@ +DIST confusable_homoglyphs-3.2.0.tar.gz 161937 BLAKE2B ac2c66317b18dd73868b3cbe3b11162550597547da8ee3df5525362b79bd7f61a19bd7446839dfb477d5c2b27464fc88a120c5c6d496de8b86c9e88aabd8aeb0 SHA512 0a46a5bc94393592f6fa088bbe2f95cc301972c55de08231f3607828fcd3c5cb462514b80013283ef8cd8d76eaa3e14258ac8f3433c9c2cd1a89bcebca8fa7f6 diff --git a/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.2.0-r2.ebuild b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.2.0-r2.ebuild new file mode 100644 index 000000000000..3a56823cdf16 --- /dev/null +++ b/dev-python/confusable-homoglyphs/confusable-homoglyphs-3.2.0-r2.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://github.com/vhf/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 new file mode 100644 index 000000000000..1c67e1e89d60 --- /dev/null +++ b/dev-python/confusable-homoglyphs/metadata.xml @@ -0,0 +1,12 @@ + + + + + tupone@gentoo.org + Tupone Alfredo + + + confusable_homoglyphs + vhf/confusable_homoglyphs + + diff --git a/dev-python/confusable_homoglyphs/Manifest b/dev-python/confusable_homoglyphs/Manifest deleted file mode 100644 index e971c47f18f5..000000000000 --- a/dev-python/confusable_homoglyphs/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST confusable_homoglyphs-3.2.0.tar.gz 161937 BLAKE2B ac2c66317b18dd73868b3cbe3b11162550597547da8ee3df5525362b79bd7f61a19bd7446839dfb477d5c2b27464fc88a120c5c6d496de8b86c9e88aabd8aeb0 SHA512 0a46a5bc94393592f6fa088bbe2f95cc301972c55de08231f3607828fcd3c5cb462514b80013283ef8cd8d76eaa3e14258ac8f3433c9c2cd1a89bcebca8fa7f6 diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild deleted file mode 100644 index 5d7ef0d9fa24..000000000000 --- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2023 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://github.com/vhf/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 deleted file mode 100644 index 1c67e1e89d60..000000000000 --- a/dev-python/confusable_homoglyphs/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - tupone@gentoo.org - Tupone Alfredo - - - confusable_homoglyphs - vhf/confusable_homoglyphs - - diff --git a/dev-python/django-registration/django-registration-3.4-r1.ebuild b/dev-python/django-registration/django-registration-3.4-r1.ebuild index 32821af1079c..0771a5d0f02f 100644 --- a/dev-python/django-registration/django-registration-3.4-r1.ebuild +++ b/dev-python/django-registration/django-registration-3.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,8 +22,8 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" + dev-python/confusable-homoglyphs[${PYTHON_USEDEP}] dev-python/django[${PYTHON_USEDEP}] - dev-python/confusable_homoglyphs[${PYTHON_USEDEP}] " python_test() { diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024 index c041d1163c85..042990983c3f 100644 --- a/profiles/updates/1Q-2024 +++ b/profiles/updates/1Q-2024 @@ -70,3 +70,4 @@ move dev-util/systemtap dev-debug/systemtap move dev-util/scap-driver dev-debug/scap-driver move dev-util/icmake dev-build/icmake move sci-libs/scikit-image dev-python/scikit-image +move dev-python/confusable_homoglyphs dev-python/confusable-homoglyphs -- cgit v1.2.3-65-gdbad