* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-07-22 12:18 Alfredo Tupone
0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-07-22 12:18 UTC (permalink / raw
To: gentoo-commits
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>tupone@gentoo.org</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>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-07-22 12:26 Alfredo Tupone
0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-07-22 12:26 UTC (permalink / raw
To: gentoo-commits
commit: 7cc541baaa85c31b034f1949d15c1a8d1f2cb0b1
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 22 12:24:21 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 12:24:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc541ba
dev-python/confusable_homoglyphs: enable py3.10, py3.12, py3.9
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
index afa5c5dd4b82..0183ef44a3df 100644
--- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
+++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1
CommitId=14f43ddd74099520ddcda29fac557c27a28190e6
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-07-22 16:30 Alfredo Tupone
0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-07-22 16:30 UTC (permalink / raw
To: gentoo-commits
commit: 29b6fa21b252099d317993abcdd3d078cf7326f8
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 22 16:29:36 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 16:30:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b6fa21
dev-python/confusable_homoglyphs: disable py3.12
Closes: https://bugs.gentoo.org/910690
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
index 0183ef44a3df..1d87c393832b 100644
--- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
+++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
CommitId=14f43ddd74099520ddcda29fac557c27a28190e6
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-07-22 17:05 Alfredo Tupone
0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-07-22 17:05 UTC (permalink / raw
To: gentoo-commits
commit: c907a9efcaeb40535aa6b6d1ddf5daca6f3fb453
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 22 17:04:44 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 17:05:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c907a9ef
dev-python/confusable_homoglyphs: fix deps
Closes: https://bugs.gentoo.org/910691
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
...le_homoglyphs-3.2.0.ebuild => confusable_homoglyphs-3.2.0-r1.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
similarity index 93%
rename from dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
rename to dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
index 1d87c393832b..1b9de4f368a0 100644
--- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0.ebuild
+++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
@@ -21,6 +21,8 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
+
S="${WORKDIR}"/${PN}-${CommitId}
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-10-07 18:53 Alfredo Tupone
0 siblings, 0 replies; 7+ messages in thread
From: Alfredo Tupone @ 2023-10-07 18:53 UTC (permalink / raw
To: gentoo-commits
commit: 631c51df724c1f444365465961d9e53d2e805481
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 18:46:37 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 18:52:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631c51df
dev-python/confusable_homoglyphs: fix installed version
Closes: https://bugs.gentoo.org/915328
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
...yphs-3.2.0-r1.ebuild => confusable_homoglyphs-3.2.0-r2.ebuild} | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
similarity index 83%
rename from dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
rename to dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
index 1b9de4f368a0..a9190b96610a 100644
--- a/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r1.ebuild
+++ b/dev-python/confusable_homoglyphs/confusable_homoglyphs-3.2.0-r2.ebuild
@@ -26,3 +26,11 @@ 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
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-10-29 11:10 Michał Górny
0 siblings, 0 replies; 7+ messages in thread
From: Michał Górny @ 2023-10-29 11:10 UTC (permalink / raw
To: gentoo-commits
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
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/
@ 2023-10-29 11:10 Michał Górny
0 siblings, 0 replies; 7+ messages in thread
From: Michał Górny @ 2023-10-29 11:10 UTC (permalink / raw
To: gentoo-commits
commit: 3d911ec924f27c16e092f8d43cdf64a33c2c09f7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 11:05:34 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 11:10:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d911ec9
dev-python/confusable_homoglyphs: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../confusable_homoglyphs-3.2.0-r2.ebuild | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
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 6db3190be9cc..5d7ef0d9fa24 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,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
@@ -18,6 +18,17 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
+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
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-10-29 11:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22 12:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/confusable_homoglyphs/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2023-10-29 11:10 Michał Górny
2023-10-29 11:10 Michał Górny
2023-10-07 18:53 Alfredo Tupone
2023-07-22 17:05 Alfredo Tupone
2023-07-22 16:30 Alfredo Tupone
2023-07-22 12:18 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox