commit: 71e536f9f210883b981b4fcbb92dd83875d3696b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Oct 29 10:56:59 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Oct 29 11:10:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e536f9
dev-python/confusable_homoglyphs: Use pypi sdist Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/confusable_homoglyphs/Manifest | 2 +- .../confusable_homoglyphs-3.2.0-r2.ebuild | 17 ++--------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/dev-python/confusable_homoglyphs/Manifest b/dev-python/confusable_homoglyphs/Manifest index 5d11c1714abd..e971c47f18f5 100644 --- a/dev-python/confusable_homoglyphs/Manifest +++ b/dev-python/confusable_homoglyphs/Manifest @@ -1 +1 @@ -DIST confusable_homoglyphs-3.2.0.gh.tar.gz 338272 BLAKE2B b4697ad3997ecb2784653a47779ead7ded0e9af46125bc5868954cc8cf5064377a553c9b388be6a42634fa27880ef2fa57224e4b4bf9e357b3a9ff32a5db4993 SHA512 6e51cc4ec9a70246f4a871b8303834d0189d9d5056823b2f576e198cc3ced7154a0d57e945f3814bfa37da6015808bc1d6cdf44cfa17d637ded83ead8a6e4f5c +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 index a9190b96610a..6db3190be9cc 100644 --- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild +++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild @@ -4,18 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +PYTHON_COMPAT=( python3_{10..11} ) -CommitId=14f43ddd74099520ddcda29fac557c27a28190e6 +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/ " -SRC_URI="https://github.com/vhf/${PN}/archive/${CommitId}.tar.gz - -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -23,14 +20,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/click[${PYTHON_USEDEP}]" -S="${WORKDIR}"/${PN}-${CommitId} - distutils_enable_tests pytest - -python_prepare_all() { - sed -i \ - -e "s:versioneer.get_version():\"${PV}\":" \ - setup.py \ - || die - distutils-r1_python_prepare_all -}