git: f9bb2de919e4 - main - devel/py-memory-allocator: Adding an extension class to allocate memory easily with cython
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jan 2022 16:55:02 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9bb2de919e47c48330b0f7ddcb6eab7cb1e8868 commit f9bb2de919e47c48330b0f7ddcb6eab7cb1e8868 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-01-12 15:29:01 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-01-12 16:54:56 +0000 devel/py-memory-allocator: Adding an extension class to allocate memory easily with cython --- devel/Makefile | 1 + devel/py-memory-allocator/Makefile | 17 +++++++++++++++++ devel/py-memory-allocator/distinfo | 3 +++ devel/py-memory-allocator/pkg-descr | 11 +++++++++++ devel/py-memory-allocator/pkg-plist | 9 +++++++++ 5 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4e95ec36e18a..239c100c8051 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4772,6 +4772,7 @@ SUBDIR += py-mediafile SUBDIR += py-medikit SUBDIR += py-meliae + SUBDIR += py-memory-allocator SUBDIR += py-memory-profiler SUBDIR += py-mergedeep SUBDIR += py-microversion-parse diff --git a/devel/py-memory-allocator/Makefile b/devel/py-memory-allocator/Makefile new file mode 100644 index 000000000000..c002827f7167 --- /dev/null +++ b/devel/py-memory-allocator/Makefile @@ -0,0 +1,17 @@ +# Created by: thierry@pompo.net + +PORTNAME= memory_allocator +PORTVERSION= 0.1.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Allocate memory easily with cython + +LICENSE= GPLv3 + +USES= python:3.6+ +USE_PYTHON= cython distutils + +.include <bsd.port.mk> diff --git a/devel/py-memory-allocator/distinfo b/devel/py-memory-allocator/distinfo new file mode 100644 index 000000000000..d5ee7a64ce2f --- /dev/null +++ b/devel/py-memory-allocator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641999945 +SHA256 (memory_allocator-0.1.2.tar.gz) = ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9 +SIZE (memory_allocator-0.1.2.tar.gz) = 19611 diff --git a/devel/py-memory-allocator/pkg-descr b/devel/py-memory-allocator/pkg-descr new file mode 100644 index 000000000000..adcb8f3662e8 --- /dev/null +++ b/devel/py-memory-allocator/pkg-descr @@ -0,0 +1,11 @@ +An extension class to allocate memory easily with cython. + +This extension class started as part of the Sage software. + +It provides a single extension class MemoryAllocator with cdef methods. + +Memory is freed when the instance of MemoryAllocator is deallocated. On failure +to allocate the memory, a proper error is raised. + +WWW: https://github.com/kliem/memory_allocator +WWW: https://pypi.org/project/memory-allocator/ diff --git a/devel/py-memory-allocator/pkg-plist b/devel/py-memory-allocator/pkg-plist new file mode 100644 index 000000000000..8d8e64d8777e --- /dev/null +++ b/devel/py-memory-allocator/pkg-plist @@ -0,0 +1,9 @@ +%%PYTHON_SITELIBDIR%%/memory_allocator/__init__.pxd +%%PYTHON_SITELIBDIR%%/memory_allocator/__init__.py +%%PYTHON_SITELIBDIR%%/memory_allocator/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/memory_allocator/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/memory_allocator/memory.pxd +%%PYTHON_SITELIBDIR%%/memory_allocator/memory_allocator%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/memory_allocator/memory_allocator.pxd +%%PYTHON_SITELIBDIR%%/memory_allocator/signals.pxd +%%PYTHON_SITELIBDIR%%/memory_allocator/test%%PYTHON_EXT_SUFFIX%%.so