From nobody Wed Jan 12 16:55:02 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA36F194A473; Wed, 12 Jan 2022 16:55:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYtw71x7xz4fWL; Wed, 12 Jan 2022 16:55:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D0CB110C3D; Wed, 12 Jan 2022 16:55:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20CGt2ok044519; Wed, 12 Jan 2022 16:55:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20CGt2u1044518; Wed, 12 Jan 2022 16:55:02 GMT (envelope-from git) Date: Wed, 12 Jan 2022 16:55:02 GMT Message-Id: <202201121655.20CGt2u1044518@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: f9bb2de919e4 - main - devel/py-memory-allocator: Adding an extension class to allocate memory easily with cython List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9bb2de919e47c48330b0f7ddcb6eab7cb1e8868 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642006503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EO6TN7gj0R6V9fmaVIvgyeiuSH/DOJrWr7TJMncpY/Q=; b=PAZKcrUHwndmYzRz+Auy+OVsT4CN+I86c0vwH415zZzn8T+PzGJ1qvzpZdesBqoImEXDbq cnbLwlhRUPvZf2ljmC8twyQusmJ0xVJFOAZgHxG8A4kerVF9aLWqo9J1E6VRWko0+lWGgw ZJBshPek44uM0k2ThlLPgfXxz+pDZeXcrbY3g7s6jz3c+Wrnec8Vxs1XnRJMFhd9TuIiGg kabPNo3oQKIg9FQxHxjn4D4nEKSjnzzOPqtdToDYsNWHNyJo9RoB0kNvbQOuY6zfONrHr8 Fc3wUL4/aU20vqy0AvF/JcFRIs3xoVE87qvZ4M9ISvbILnglF1ES/L1qcUSsSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642006503; a=rsa-sha256; cv=none; b=YkMhbi3qN7hXX3BTW4+4ez0xkTeGW2xTWRe5yGk0TZu/4RFN5k6jhTDNdgVxQdIy8ljAzf llbjBW6+tpQKn9sYXChLGjN9fZC5Cv/bAcdx1scqWUuDY3ChzjmkgAJ+6Y5Xgtfq8RH82F SQv0jF9WUPPt0sBgur6SpfG2X/hmejCRVru40gwlsC0tgn9EWbLMKR3HnSVZx+4G8n/nEJ cjmS/g/J6Vw6Qm5b0Rjki4lGyRyFPcNbYecj/3VyDAb22vtj9TWMTk2lzluMzmkIFkmzAI PHUhaOEg3ypErS6xwnWdRvIccuDYLrNtVhDk9JKX2pSFfrWUaapQAUVJueA2Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9bb2de919e47c48330b0f7ddcb6eab7cb1e8868 commit f9bb2de919e47c48330b0f7ddcb6eab7cb1e8868 Author: Thierry Thomas AuthorDate: 2022-01-12 15:29:01 +0000 Commit: Thierry Thomas 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 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