From e53aa6b4fbe5a0c6db75d893829f7a6a37a14180 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Jan 2023 02:49:59 +0000 Subject: gentoo auto-resync : 28:01:2023 - 02:49:59 --- dev-python/blake3-py-c/Manifest | 5 -- dev-python/blake3-py-c/blake3-py-c-0.3.1.ebuild | 42 ------------- dev-python/blake3-py-c/blake3-py-c-0.3.2.ebuild | 38 ----------- .../files/blake3-py-c-0.3.1-backports.patch | 73 ---------------------- 4 files changed, 158 deletions(-) delete mode 100644 dev-python/blake3-py-c/blake3-py-c-0.3.1.ebuild delete mode 100644 dev-python/blake3-py-c/blake3-py-c-0.3.2.ebuild delete mode 100644 dev-python/blake3-py-c/files/blake3-py-c-0.3.1-backports.patch (limited to 'dev-python/blake3-py-c') diff --git a/dev-python/blake3-py-c/Manifest b/dev-python/blake3-py-c/Manifest index b0ca4cb5b14d..3e391afd7b19 100644 --- a/dev-python/blake3-py-c/Manifest +++ b/dev-python/blake3-py-c/Manifest @@ -1,8 +1,3 @@ -AUX blake3-py-c-0.3.1-backports.patch 2271 BLAKE2B 22fb38af9b13be8f729cf3f7ccb76e1ae5141f2a9d3ca75345854030a08f15f36ca4db42f3f4f8ddd9bd84604aa32bf61164fcf22ea729cc60d19206af69b7bc SHA512 acf5237b16a10ddb0223f75dad9d273041eb1879a8c78fddbf9ffbe109c8a4077f1747918bc55c7de97207a5a8506bec05a557af45c69d031658ff9cc6eb0b9a -DIST blake3-py-0.3.1.gh.tar.gz 131798 BLAKE2B 6c816bab8d1e432453d4d40f4acc4d33bb45d305a2ab8458dded72bfee6ffd687a016d257dad4c2d656ddd5d765e5ad450e18fdd4af084a51f1973ce56daea68 SHA512 d3901339df9dc3409f8c2407c6f4f02fb9e13e8e7a76d77c06d9f58c6cceea4829cedf71a687fdded8ad70897d3a4833f2b124f39837b0ffa5fb8b907b51fd56 -DIST blake3-py-0.3.2.gh.tar.gz 114679 BLAKE2B cf7b6013874c28f2df0ec8c9fb5dc46aa50f2962b80d4d57a087545c915fd490cd11592ca94784ec8a8b9e12380343c2dec1c64afe44eeb8de3f1471678f964b SHA512 695044b108225807eef3016dd8e744c39bff4911a3071e346a4b148a3ba0894f2feef59b7537925cd73acebf6744f3cf8d1161f8d1f801dfd47cb670241b9dea DIST blake3-py-0.3.3.gh.tar.gz 114409 BLAKE2B 7514697e2fe58623000dcf457ca5a197b98ca6606e5463b4afb455e36ada3a66865f297272f9e8cde49537442cf5491a7673d64696cba617e085222040b5af66 SHA512 155d8165792935176bf9484b42d6caa715b3c6ff36d266be4d8334fc17a2fdd4a85c5c2c3d53285f21166232a8e558fe9340a8db2bd98ef01d0358809ed28dfb -EBUILD blake3-py-c-0.3.1.ebuild 766 BLAKE2B 71eb00d93275c6faf5f10e42c96c7c3142990bafa9eb497e8964a1a9bde25467c0150078dc8e6f18c5bfef6b1670ae8dee496ab8762093e085fdb6307cabaeed SHA512 62333c8083d1eca1fc5aa90cba082354a584cd01dbc8d7d7be6919e764b5587f4ab12f67121147091b508eb75e62a992adba0fdc6a08af46e4abe327c3cab5ad -EBUILD blake3-py-c-0.3.2.ebuild 717 BLAKE2B 06d463a0570a87dc38998ad6f8274623c73f9441d6eff57f77325d82521b343b0550013f3ad9f0f68c4161e3335b3d1f405a3e6269406a98d2e23063ddc77f38 SHA512 6cb79c018067fd20084af437130b036ddb8fe87dfb9f74872df855142feb6703e7c2183e5e7a4c8526064e329c45dbc4584c56e945523dae396091346125855d EBUILD blake3-py-c-0.3.3.ebuild 717 BLAKE2B 06d463a0570a87dc38998ad6f8274623c73f9441d6eff57f77325d82521b343b0550013f3ad9f0f68c4161e3335b3d1f405a3e6269406a98d2e23063ddc77f38 SHA512 6cb79c018067fd20084af437130b036ddb8fe87dfb9f74872df855142feb6703e7c2183e5e7a4c8526064e329c45dbc4584c56e945523dae396091346125855d MISC metadata.xml 326 BLAKE2B 0f883faa7377c344baf1515844f711bc3c8c9e1fd0315311d382c50a065af4065accb592b79d152bf5110984cbe4d620f393db2ce2a43f7108b07690f5236d32 SHA512 18bc804d4f01849b61fc903e3d21d867d58e39a5e2fb9d2bfadb9b1299cc82ae57fd70416a1d457613a6dbf7393c8108ab45b91fec6b4ecb6a3f96228905046a diff --git a/dev-python/blake3-py-c/blake3-py-c-0.3.1.ebuild b/dev-python/blake3-py-c/blake3-py-c-0.3.1.ebuild deleted file mode 100644 index 5d53b58f317b..000000000000 --- a/dev-python/blake3-py-c/blake3-py-c-0.3.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -MY_P=${P/-c} -DESCRIPTION="Python bindings for the BLAKE3 cryptographic hash function" -HOMEPAGE="https://github.com/oconnor663/blake3-py/" -SRC_URI=" - https://github.com/oconnor663/blake3-py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/c_impl - -LICENSE="|| ( CC0-1.0 Apache-2.0 )" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - !dev-python/blake3-py[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-backports.patch -) - -python_test() { - cd .. || die - epytest -} diff --git a/dev-python/blake3-py-c/blake3-py-c-0.3.2.ebuild b/dev-python/blake3-py-c/blake3-py-c-0.3.2.ebuild deleted file mode 100644 index 860470324d40..000000000000 --- a/dev-python/blake3-py-c/blake3-py-c-0.3.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -MY_P=${P/-c} -DESCRIPTION="Python bindings for the BLAKE3 cryptographic hash function" -HOMEPAGE="https://github.com/oconnor663/blake3-py/" -SRC_URI=" - https://github.com/oconnor663/blake3-py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/c_impl - -LICENSE="|| ( CC0-1.0 Apache-2.0 )" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - !dev-python/blake3-py[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - cd .. || die - epytest -} diff --git a/dev-python/blake3-py-c/files/blake3-py-c-0.3.1-backports.patch b/dev-python/blake3-py-c/files/blake3-py-c-0.3.1-backports.patch deleted file mode 100644 index 0c36aaa5ff21..000000000000 --- a/dev-python/blake3-py-c/files/blake3-py-c-0.3.1-backports.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 0d7526621087fd016d4ab5d34abfb35c715ec0cd Mon Sep 17 00:00:00 2001 -From: Thomas Waldmann -Date: Tue, 29 Mar 2022 17:31:02 +0200 -Subject: [PATCH] c_impl: compatibility fix for python < 3.10 - ---- - blake3module.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/blake3module.c b/blake3module.c -index f4160fb..0fce6ad 100644 ---- a/blake3module.c -+++ b/blake3module.c -@@ -414,7 +414,8 @@ PyMODINIT_FUNC PyInit_blake3(void) { - goto exit; - } - -- if (PyModule_AddObjectRef(module, "blake3", (PyObject *)&Blake3Type) < 0) { -+ if (PyModule_AddObject(module, "blake3", (PyObject *)&Blake3Type) < 0) { -+ Py_DECREF((PyObject *)&Blake3Type); - goto exit; - } - -From 52676a355eccfb0050b372cd36a14ab49878e8b3 Mon Sep 17 00:00:00 2001 -From: Thomas Waldmann -Date: Tue, 29 Mar 2022 18:18:46 +0200 -Subject: [PATCH] c_impl: apple silicon build fix, fixes #31 - -On Apple Silicon (M1 CPU), the platform.machine() call returns "arm64". ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index a159d8b..863c7ea 100644 ---- a/setup.py -+++ b/setup.py -@@ -66,7 +66,7 @@ def targeting_x86_32(): - - - def is_aarch64(): -- return platform.machine().lower() == "aarch64" -+ return platform.machine().lower() in ("aarch64", "arm64") - - - def force_intrinsics(): -From 5eac8ae62d8f4e0a574164b73c42837ddc6ff356 Mon Sep 17 00:00:00 2001 -From: Thomas Waldmann -Date: Tue, 29 Mar 2022 20:30:30 +0200 -Subject: [PATCH] c_impl: fix usedforsecurity argument variable type, fixes #34 - -the python docs state that this must be int (not: bool). - -as seen in #34, using the wrong type here seems to overflow the variable -and leads to a wrong value in max_threads, which leads to that strange -test failure. ---- - blake3module.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/blake3module.c b/blake3module.c -index 0fce6ad..a9562cf 100644 ---- a/blake3module.c -+++ b/blake3module.c -@@ -53,7 +53,7 @@ static PyObject *Blake3_new(PyTypeObject *type, PyObject *args, - Py_buffer key = {0}; - const char *derive_key_context = NULL; - Py_ssize_t max_threads = 1; -- bool usedforsecurity = true; -+ int usedforsecurity = 1; - - PyObject *ret = NULL; - -- cgit v1.2.3