From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sF/6LB1+QmZmJgAAqHPOHw:P1 (envelope-from ) for ; Mon, 13 May 2024 22:54:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sF/6LB1+QmZmJgAAqHPOHw (envelope-from ) for ; Mon, 13 May 2024 22:54:53 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gUbp+PSx; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715633693; a=rsa-sha256; cv=none; b=U5SvVPMzkNoRTJOHNolybRcJ/y+viY6ZYVFuT5FkvKSiQFfmfwPXHdFYuIBfOa8KCc66Xz ptHxipn3wGmCCrbTNeP2I7ITbOnuu6Al6rjkArvPOpoE34d4e+orz9OCT7LaHEDgGBAfEx GHbwMomROq7Xgkq2XmVtX9e1ddQrghdyQucDa1WE2f23iOZAkFBT1byDRrFVVZQKFlumZl MBdCGo18VTDmg6hDCFVENTibhNWtrC7lRBEAvk974dKksm0v2va20VrxLy+AcH3PVLcu0I G/+xn9yYFYCznDBMrZfCgGnQBrkE8OIBI1Br1SWFPfX9lcU7gBj4XcvlXozYRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gUbp+PSx; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715633693; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L3WEM43mE3trLQVTHvXAbROXYuyNuK5fC3UQJ8rbuYo=; b=GkPPsWufnr6pi3Fc4NNZBPRbpalN8UbEdVy7PgoPudjCleIcMpHvBzUVO4uatwRTsAP7uW YVQ6zp3ZVGgzFgcMElQaTkqOwGQdaxXW2q0XpJjc+fVunkTG2xDOLiJTPDR6lBX9sPCcr0 Glx17w98oKlPD1YN/+kb1mYicCUO/h7ruy1S1kM2VDfalQVkNiX8422sdZyAQpX3FuxgDk sq+CcZwx6IyFiwVtaEXxx7PfD94RIAW82KQ2c/d/KCsqLBaVmF5S/vRuHtSAwb5sFruk86 CSuy6GwQ4KNUMeFLh5n1LSawyPhLFPK7VC8H99RJvx3MwW+YQD4c9v2g3xYYOg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8F7EE19092 for ; Mon, 13 May 2024 22:54:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6cgR-00016o-Gn; Mon, 13 May 2024 16:54:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6cgN-00013J-Mu for guix-patches@gnu.org; Mon, 13 May 2024 16:54:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6cgN-0000RN-EE for guix-patches@gnu.org; Mon, 13 May 2024 16:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6cgN-0000lu-2Q for guix-patches@gnu.org; Mon, 13 May 2024 16:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70924] [PATCH 01/10] gnu: Add python-memory-allocator. References: In-Reply-To: Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 May 2024 20:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70924@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70924-submit@debbugs.gnu.org id=B70924.17156336022856 (code B ref 70924); Mon, 13 May 2024 20:54:03 +0000 Received: (at 70924) by debbugs.gnu.org; 13 May 2024 20:53:22 +0000 Received: from localhost ([127.0.0.1]:34873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cfh-0000jv-My for submit@debbugs.gnu.org; Mon, 13 May 2024 16:53:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6cfW-0000jR-7z for 70924@debbugs.gnu.org; Mon, 13 May 2024 16:53:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BAFAE240029 for <70924@debbugs.gnu.org>; Mon, 13 May 2024 22:53:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715633583; bh=+EwGM9GrJST7xvwsnNRArOnWRs2MM368Sj7Icc2sjeM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=gUbp+PSxxlcUJWzznKTuObJEkdOiEfioZXdYQTzYgB6vbITBT8EKfieosuWdb617U VqMa/o+ZVk14Bs1UMXNv+/nztvUKovsqfDlIIPTQbav7rUNT6gEGso+F2yWuDrqjQJ fD82jyMhbXBF9VSO6g/pXlu1smA5lAzBfFNKiWo/qYPS0PWKKWAS6aFLJsDPilIFyw CigO0hLNldSIER1ZGXlyeCMiQlCHs9Oyr+2WPcFRul1y/xGz4D+NqrvTMp/FrckBQE VHkZycfilfPgaA60QUZH7VjV81o+KYX76oILA+BpY0pf77w6hdJW9H1i4F08t6/r54 CNwYV4zXNueBA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VdWsV4kbRz9rxG; Mon, 13 May 2024 22:53:02 +0200 (CEST) From: Vinicius Monego Date: Mon, 13 May 2024 20:52:06 +0000 Message-Id: <676c926b816fad99606d7803b3b43156fe4696a1.1715633288.git.monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8F7EE19092 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 3.43 X-Spam-Score: 3.43 X-TUID: 0fX3Ne5x5N3L * gnu/packages/sagemath.scm (python-memory-allocator): New variable. Change-Id: Ib914cc736fa16c2a7bb2919d94aaf102e3513a60 --- gnu/packages/sagemath.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 8d5d04ee93..9ccb7eb055 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2021 Efraim Flashner +;;; Copyright © 2024 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ (define-module (gnu packages sagemath) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix git-download) @@ -94,6 +96,35 @@ (define-public python-gmpy2 libraries GMO, MPFR and MPC.") (license license:lgpl3+))) +(define-public python-memory-allocator + (package + (name "python-memory-allocator") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "memory_allocator" version)) + (sha256 + (base32 "1r7g175ddbpn5kjgs6f09s7mfachzw94p02snki6f6830dmj22fn")))) + (build-system pyproject-build-system) + (native-inputs (list python-cython)) + (home-page "https://github.com/sagemath/memory_allocator") + (synopsis "Extension class to allocate memory easily with Cython") + (description "This package provides a single extension class + @code{MemoryAllocator} with @{cdef} methods + +@itemize +@item @code{malloc} +@item @code{calloc} +@item @code{allocarray} +@item @code{realloc} +@item @code{reallocarray} +@item @code{aligned_malloc} +@item @code{aligned_malloc} +@item @code{aligned_calloc} +@item @code{aligned_allocarray}") + (license license:gpl3+))) + (define-public cliquer (package (name "cliquer") base-commit: 89cd778f6a45cd9b43a4dc1f236dcd0a87af955c -- 2.39.2