From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ULebJXBofWIe0AAAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 22:05:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6LaWJHBofWK7hAEAG6o9tA (envelope-from ) for ; Thu, 12 May 2022 22:05:04 +0200 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 254723C2BF for ; Thu, 12 May 2022 22:05:04 +0200 (CEST) Received: from localhost ([::1]:58150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npF3W-0004WN-U3 for larch@yhetil.org; Thu, 12 May 2022 16:05:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npEn4-0003ii-BL for guix-patches@gnu.org; Thu, 12 May 2022 15:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npEn4-0004DY-1n for guix-patches@gnu.org; Thu, 12 May 2022 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npEn3-0000zm-TW for guix-patches@gnu.org; Thu, 12 May 2022 15:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55390] [PATCH] gnu: Add python-cymem Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 May 2022 19:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55390@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16523848403621 (code B ref -1); Thu, 12 May 2022 19:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2022 19:47:20 +0000 Received: from localhost ([127.0.0.1]:42323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npEmK-0000wI-H6 for submit@debbugs.gnu.org; Thu, 12 May 2022 15:47:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:55580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npEmF-0000w5-M4 for submit@debbugs.gnu.org; Thu, 12 May 2022 15:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npEmF-0003EC-DA for guix-patches@gnu.org; Thu, 12 May 2022 15:47:11 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:45881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npEmD-0004BG-Bz for guix-patches@gnu.org; Thu, 12 May 2022 15:47:10 -0400 Received: by mail-lj1-x22f.google.com with SMTP id bx33so7769671ljb.12 for ; Thu, 12 May 2022 12:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=9r1IkvwKipJeJfbW/vYUNxr6Wz07ByN+XvcDzKCqSrY=; b=OreOfkSM7nUIEwxjwWEkBN7oyUcsDHoepd/eKyuwuXlW9p+S5FLLwBUIzKNa3wJ/1E Ts2Y6r6mP4F3JJnSYkdciTcetDiSuNg0TH+qNmNMEUJj9oROQ9oXDs3akETACu07JKuj E8RUQ5jkizFbFNdeML0kllzhG1kwJOrzmyDZVUqMy2tDGZ1FBQEkKVcBKe5brx/5u/5h LS/gmF13VVtF1OSslIcrncwiRuqR1euGT2uX7XiiVH3CQjsMpYEr4XQuoCl0XkjOeIRE ITSbzIBlWmBbC29FsU94ZplR8Tl+o8JMbf6xMXPWLItKhAUQWWWVtJ9Ed2ZlQ9dj2l4T K6AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=9r1IkvwKipJeJfbW/vYUNxr6Wz07ByN+XvcDzKCqSrY=; b=wzs5KCEuRxfZTj98A406AOHGgmbCu/QIVXPzUztqiQENKNT8pkW8FyC4CUskpFKMro eTsYI0ArNqE2pFfFgV7TjcsliGCLQ7kB7a/kXL6aidF1YQZlU7Q/Lq11fiYs7Ghw0+t0 h/m/P8HEf8RFbcfbkPdbydQzLJWIgEnW09RI8QyH2YNHzvWOzHx1alMI67YSzJZs1eV4 CWo9uaVpD4cLJAAkTzYVwFRe7G/XFsVOrVagusH5o7S+HZ4dvOr7OnwSFOIdrr8py/DS r5EDBD0wQc/K/9uP2DjR2ZPkZYdzUrd53FD5ffXyqJsatdFQbfMrjwI+892Cyj+v+7jy 49Fg== X-Gm-Message-State: AOAM530i0KRx+hkzTCJ6dnSLIyT8EoaSWDryrMWVxZdK1cuM8NUF9oWG bBCslNLjKK5cXWzHJMfBMsDtMWSn9WI= X-Google-Smtp-Source: ABdhPJxnfOsWuB6STB3NClI1qEwnnReLNRrSIQ30MwDGxIQ67OtoDS4eDvNdnkeFQO+2cyWJ9ccxYw== X-Received: by 2002:a2e:a806:0:b0:250:84e5:723f with SMTP id l6-20020a2ea806000000b0025084e5723fmr962378ljq.354.1652384827077; Thu, 12 May 2022 12:47:07 -0700 (PDT) Received: from elephant ([5.164.192.222]) by smtp.gmail.com with ESMTPSA id x30-20020a2e585e000000b0024f3d1daee8sm58931ljd.112.2022.05.12.12.47.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 12:47:06 -0700 (PDT) From: "Artyom V. Poptsov" Date: Thu, 12 May 2022 22:47:01 +0300 Message-ID: <87fsle7cui.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652385904; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=9r1IkvwKipJeJfbW/vYUNxr6Wz07ByN+XvcDzKCqSrY=; b=IliytwKHWksWRd7xryO4+EZ84M8CthtR0Bog3Odotd+Gum+1UcA5ulNsiDuKQ0Ja8dnYe0 2RxQKiMveBrUXTn6WWiFwDWfsRP6UsmBfMuOmTvxgyoUnrGtK2/JeUmyZ2uSnmOJo5wBvX hxYW7u4BsKrtj4xcveDK5wlm6BM9ukWbnotjtg7WhiipF/abGlDW/HHg/n5A/OQBoAidJD haZJUNXgxwhF7uXrJGmwpI3QgrBNKb9l43Kr+ceu/pEDPWEAgpkJWC1jfOScGwbsv496rP RKinpdoz43lCRMxvOuUPr7Jf3dUFnbtmzZ1DsKPpzPWV6ck4RZBLPOT8p32zig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652385904; a=rsa-sha256; cv=none; b=tSTYHxWxMb/i2j72ys0K4KKciHnfW/crjv9s34i7Jd1jnrH3UF9/Gj34yFAyprsqXibI/a XsDku/M+J565tg82ReIhk8bAGl4U21DuLTSaysKOLnC7r6Ftr58iYfRpAQIp+tgwoYJchN L1FevPucJb8G1vFFq7tA8+5xcVEb+sHIvQY95ztkXQOXtLmf5o2MD3dA/3SJMKlZXlCFA2 /43cs+JtsXjpGcaP4GP3JkVvJ1J9x2aufHl+ulPCMnU/pHywPVXjDzirb6tHPKbnVh+qEV Prc+4DUx9kLPDJf7jY5ohSA19O8wWNSPQDVcVUnMrF1YtSGSfwasrfdjlkfs0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OreOfkSM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OreOfkSM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" X-Migadu-Queue-Id: 254723C2BF X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ri7u6SpdaTeN --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds cymem[1] under the name 'python-cymem'. - Artyom 1: https://github.com/explosion/cymem --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-python-cymem.patch Content-Transfer-Encoding: quoted-printable From=204acef69146d41714e9912fb1576f6f64b267eaa2 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Thu, 12 May 2022 22:43:29 +0300 Subject: [PATCH] gnu: Add python-cymem * gnu/packages/python-xyz.scm (python-cymem): New variable. =2D-- gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fdfdd3fef3..421a298ccd 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -121,6 +121,7 @@ ;;; Copyright =C2=A9 2022 Peter Polidoro ;;; Copyright =C2=A9 2022 Wamm K. D. ;;; Copyright =C2=A9 2022 Jai Vetrivelan +;;; Copyright =C2=A9 2022 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -31150,3 +31151,46 @@ object, which can be useful if you want to force y= our objects into a table.") "The @code{deep-merge} Python library provides a toolset to deeply me= rge nested data structures in Python like lists and dictionaries.") (license license:expat))) + +(define-public python-cymem + (package + (name "python-cymem") + (version "2.0.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "cymem" version)) + (sha256 + (base32 + "0pkyy60zk9654sj991w111p1l0m8wvz36nslw96x6nb9h6sjb5qn")))) + (build-system python-build-system) + (native-inputs + (list python-cython + python-pytest)) + (inputs + (list python)) + (arguments + (list + #:modules '((ice-9 ftw) + (ice-9 match) + (guix build utils) + (guix build python-build-system)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-source-file-times-to-1980 + ;; XXX One of the tests uses a ZIP library to pack up some of the + ;; source tree, and fails with "ZIP does not support timestamps + ;; before 1980". Work around this by setting the file times in = the + ;; source tree to sometime in early 1980. + (lambda _ + (let ((circa-1980 (* 10 366 24 60 60))) + (ftw "." (lambda (file stat flag) + (utime file circa-1980 circa-1980) + #t)))))))) + (home-page "https://github.com/explosion/cymem") + (synopsis "Cython memory pool for RAII-style memory management") + (description + "Cymem provides two small memory-management helpers for Cython. They m= ake it +easy to tie memory to a Python object's life-cycle, so that the memory is = freed +when the object is garbage collected.") + (license license:expat))) + =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmJ9ZDUACgkQ6cWi2QiY oC+YPwf/TUfqfOeqxb+2RNeniqglnpkkqdq7Rg68R3mkPtw5qdqgz/Zt4LDrOmbI ofNCeEPmW3T7hAFwtvEnM93TYF1xs6zPDuF4fIJpg8X+IMVfEZWWFSR6ufeGCnft k8RtGUoPkLyjAdXcuAjvLBhEPj9Y0EfTPozmSzRZwPrLr2yXF92cjQoM69GWxP7g gsXHqFWH3vEbJro8qZ6folLL+Z4KUrtNh5RI01exj2Cm+R6IJUzjfjl6pO+bDTm/ CCFhey7zYmbywl54Y9qgBbwwYQbVPC8sW2JwMU2fMfoQeJJoW6PYELRUQTG85sfc b/LqGBaeN55eHNmKbo0ok5wKJyatPQ== =xPWm -----END PGP SIGNATURE----- --==-=-=--