diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/memory-allocator | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/memory-allocator')
| -rw-r--r-- | dev-python/memory-allocator/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/memory-allocator/memory-allocator-0.2.0.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/memory-allocator/metadata.xml | 34 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/memory-allocator/Manifest b/dev-python/memory-allocator/Manifest new file mode 100644 index 000000000000..3441e0e395f2 --- /dev/null +++ b/dev-python/memory-allocator/Manifest @@ -0,0 +1,2 @@ +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..16a5156fe2d2 --- /dev/null +++ b/dev-python/memory-allocator/memory-allocator-0.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021-2026 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_{13..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 +} diff --git a/dev-python/memory-allocator/metadata.xml b/dev-python/memory-allocator/metadata.xml new file mode 100644 index 000000000000..402080770fc8 --- /dev/null +++ b/dev-python/memory-allocator/metadata.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + + <maintainer type="person" proxied="yes"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + + <longdescription lang="en"> + This package provides a single MemoryAllocator class that makes + memory allocation easier in Cython. The class has familiar (cdef) + methods like malloc and realloc, and all allocated memory is freed + when the MemoryAllocator object is destroyed. + </longdescription> + + <upstream> + <remote-id type="pypi">memory-allocator</remote-id> + <remote-id type="github">sagemath/memory_allocator</remote-id> + </upstream> +</pkgmetadata> |
