commit:     2f6cbcfe047ec2995ef9ad5659b1842be992cd1b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 31 07:18:58 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 31 07:27:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6cbcfe

dev-python/memory-allocator: Bump to 0.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/memory-allocator/Manifest               |  2 ++
 .../memory-allocator/memory-allocator-0.2.0.ebuild | 36 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/memory-allocator/Manifest 
b/dev-python/memory-allocator/Manifest
index 55b8884f8be1..2b280ecc4394 100644
--- a/dev-python/memory-allocator/Manifest
+++ b/dev-python/memory-allocator/Manifest
@@ -1 +1,3 @@
 DIST memory_allocator-0.1.4.tar.gz 19723 BLAKE2B 
22643aa32ac43f0e80e76b9d214c5decb70fbb83ddf4e116739bd257df1a2f2f02cf33c4a8925d0a38af2c59b90ee4fb6ccdfe2256fccae00ad98b2a9596e1db
 SHA512 
0cd8b4d5878fa86972f9aa91e1fef4c074c3a0afe25ac1e54a3ad5e3b1ec5e4907cdd067d790f4e2ab7706f5dc2ff44c43ca0bc8e03b1b4dc90d66d8aa49ba0f
+DIST memory_allocator-0.2.0.tar.gz 22165 BLAKE2B 
ae49ff6893f4202214823dd5b1bdb0dc14f7dd4a5750f5a537770c0ecb879b6abdcad9bd0c4b1e0ed460b9d17542d6d2bb38936632a3e0db683d7896179a9981
 SHA512 
5c7dcedc347027f4918763ba5312f7994f90aff61fd44f17f1850f86f3aa0bb08d49fddadfb6555c08c52ac9c346e10c140dde3653f9c17c85dbea436ebeec13
+DIST memory_allocator-0.2.0.tar.gz.provenance 9501 BLAKE2B 
0ef75267c5868b5b764a52d49b889772245bf276a32dfc4331f9f5efe70db703b964a0b6b2b504c32f76349ce40aaa64f99c466f79397e1aaa0bed9dbe348434
 SHA512 
15e92d597015c33ed093cfa4b21445d59aeac8e7321162f89975fd45f6d6dbceb721aa11203bc1f5db4b9609f7e83bacc02676249b19672ff5ab8987628e94f4

diff --git a/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild 
b/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild
new file mode 100644
index 000000000000..cd87824c2785
--- /dev/null
+++ b/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYPI_VERIFY_REPO=https://github.com/sagemath/memory_allocator
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="An extension class for memory allocation in cython"
+HOMEPAGE="
+       https://pypi.org/project/memory-allocator/
+       https://github.com/sagemath/memory_allocator/
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+"
+
+python_test() {
+       # The test script tries to "import memory_allocator.test" which, so
+       # long as a memory_allocator directory exists inside CWD, will look
+       # for a memory_allocator/test.py there. But there is no such file;
+       # the "test" module is a compiled extension. To let the search fall
+       # back to the correct location, we temporarily rename the directory
+       # that misleads it.
+       rm -rf memory_allocator || die
+       "${EPYTHON}" test.py || die
+}

Reply via email to