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 SF/RMRwCgGIbjgAAbAwnHQ (envelope-from ) for ; Sat, 14 May 2022 21:25:16 +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 uEfKMBwCgGJIFgAAG6o9tA (envelope-from ) for ; Sat, 14 May 2022 21:25:16 +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 5E8B632C16 for ; Sat, 14 May 2022 21:25:16 +0200 (CEST) Received: from localhost ([::1]:39576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npxO7-0003ib-6g for larch@yhetil.org; Sat, 14 May 2022 15:25:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npxNw-0003iB-5l for guix-patches@gnu.org; Sat, 14 May 2022 15:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npxNu-0002XT-O1 for guix-patches@gnu.org; Sat, 14 May 2022 15:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npxNu-0002nY-Kl for guix-patches@gnu.org; Sat, 14 May 2022 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55409] [PATCH] gnu: Add python-murmurhash Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 May 2022 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55409 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55409@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165255628810728 (code B ref -1); Sat, 14 May 2022 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2022 19:24:48 +0000 Received: from localhost ([127.0.0.1]:47530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npxNg-0002mx-1n for submit@debbugs.gnu.org; Sat, 14 May 2022 15:24:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:48658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npxNe-0002mq-OM for submit@debbugs.gnu.org; Sat, 14 May 2022 15:24:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npxNe-0003hi-6b for guix-patches@gnu.org; Sat, 14 May 2022 15:24:46 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:45595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npxNc-0002WW-FA for guix-patches@gnu.org; Sat, 14 May 2022 15:24:45 -0400 Received: by mail-lf1-x12f.google.com with SMTP id f4so6887079lfu.12 for ; Sat, 14 May 2022 12:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=jhDjg20H4dLeUHLDwC9yY3Q6ntc2efFBNTYKZqIXq9U=; b=c14icXm83v3OYUHSyf+K5n/4il9q3lS0czeiGKeCxyL4gXGplTCFiBgEZ95rwB/tC8 o3dRles11Atxq0DEx1BlYr7N6sGDCQhFDs9rGX8MTdJLuxP0py+kH0DlgHV6X3pnobCA 2FGnuOxVL8R1MHiNvuI1qoa55I7GRTW0HAq+gKNGK8ImeL0na/ZYiGbxLBRjT84q5wBA YAWQFeeV43rFtKHSHpZrUT0JD8M9ds53/TK1wI65Yb2/DWJglMyVq10tSMsNIMnJMmQH Rccy8O5gV3HycioskPPme+vEGa1Idu4Ko/sA2pcnC8H6tFehH/eS0i7Tw0lxx2U2hRVg slTA== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jhDjg20H4dLeUHLDwC9yY3Q6ntc2efFBNTYKZqIXq9U=; b=5mrnu+lw/hHoNJG38Q37cdus+E3+vuW3JgBNfEbywqz0KJtXz/rXDiLvr3EfnN+aN0 Gq9wuJYMyubRHAQCBgLzw591iqgLVgENNumV7XXZLFAzF13aCJyMcBUDP7iXraUAuS4i IwWxn42UWvP86kRd/Jz61odG6o7SnT7Us5aCZxqSwMw24plsASONSSeiai9AN8hoWhZ0 uEz2rjKqdqMTAx+dsOJJFMLHXfcSflxkHN9VlwoOd8w9IVJfxQfntC6FvEK2QMkCX246 eU+FPUqZpSHzFpAKWYqi0rYhYy5KB2hWJJX4BxhLW/OwBQmQhVDLpwnEMhTkwKUi+wY6 dHOA== X-Gm-Message-State: AOAM532lQcN3RsiRfU+lmEM8lCwx1N8dNwdC/9JKOyYK/SENKM1x80Bj V/g5DbqzpJik97Ds/Pwp9xVzouJ6lWc= X-Google-Smtp-Source: ABdhPJzIPgcPRHLFrTo+IXiARm3nm1Yu1FS3LVUpE1YLRSWMZPMOgXJfUldehrfBH7ZXNg5F8Lc3Yw== X-Received: by 2002:ac2:530c:0:b0:471:f9b5:ddcc with SMTP id c12-20020ac2530c000000b00471f9b5ddccmr7746656lfh.156.1652556282364; Sat, 14 May 2022 12:24:42 -0700 (PDT) Received: from elephant ([5.164.192.222]) by smtp.gmail.com with ESMTPSA id z26-20020a2eb53a000000b002509c3290efsm903911ljm.105.2022.05.14.12.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 12:24:41 -0700 (PDT) From: "Artyom V. Poptsov" References: <87bkw07ajo.fsf@gmail.com> Date: Sat, 14 May 2022 22:24:36 +0300 In-Reply-To: <87bkw07ajo.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat, 14 May 2022 12:01:15 +0300") Message-ID: <877d6n7w97.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::12f; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12f.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=1652556316; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=jhDjg20H4dLeUHLDwC9yY3Q6ntc2efFBNTYKZqIXq9U=; b=tvI9tAogoj9d4e+0vM/jdRvulx6oEKBJrirYXXRwIHYObhwz/18+RlzNujLVARRmhslju2 GhxBniaLrd5YRUANYN5EA/qYlWwDK/Ua++Ak1Ldkg9afHB0+7KRKplJRtiItxOG1cJ775H 93QQa+lXay7svfsf9gt+J0zgegyvnxZxKLrPVy1S+xqWdRaHR2+AEqL+f9ITx/+nlt6eWI dPlv84BVVD/vF0z7iTCqXaetHEkypzfOb2s6qFFpwg1L678i3E2Q7y7wNRzxAhySv1nUCj yu/FBWFK4Zaovk1jQP7qywvHGN7ztkYzTowK3IhEpJwLL8DZJDCdLiy+1Bs7tA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652556316; a=rsa-sha256; cv=none; b=hDG52F1WGPdSvy5qG67KF+FjMZ/fhsVz09XV0MwCbQMiG1vlb9sCvQf2Gp3mGU0eDW3L3S kni8QANl5MVYKdaZxIE/MKP3VNSM0Q5uVaEZMEibqEMIiI5Ziq3LK5OUOt3TX169ZPNdQk 7I4mTmAKbO57Z0q2d6hI1AsD0iY7OAUU3JVK1FC9hTutRcyLCe6rqmLSvoTRc+NEBOqqzn nqtJMrZzTSPSeXY9Z8wjOyAko3NxUjA+ALVJal+2urQZ7YbXyTbQTYohh8X9Z2+sxcCNTI GT2yjm3+LmR4Owy0yWP9nY8wQ/26I3cMqA9LHuKjbk9kVmWoqLKOGB1i1QUp2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=c14icXm8; 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: 1.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=c14icXm8; 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: 5E8B632C16 X-Spam-Score: 1.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: QsOZHGKcoEqy --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds a Python module murmurhash[1] under the name 'python-murmurhash'. This patch depends on my previous patch with 'python-murmurhash3'. - Artyom References: 1. https://github.com/explosion/murmurhash --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-python-murmurhash.patch Content-Transfer-Encoding: quoted-printable From=202f564f0ef57ddb5f99473ce49923222f6fcfed67 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 14 May 2022 22:22:06 +0300 Subject: [PATCH] gnu: Add python-murmurhash * gnu/packages/python-xyz.scm (python-murmurhash): New variable. =2D-- gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 94eedcb221..5460fcebcf 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31193,3 +31193,44 @@ nested data structures in Python like lists and di= ctionaries.") of fast and robust hash functions. This library is a Python extension mod= ule written in C.") (license license:public-domain))) + +(define-public python-murmurhash + (package + (name "python-murmurhash") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "murmurhash" version)) + (sha256 + (base32 "0vwkn98c703nvsigl2nz99rax2pafkx3djjfkgc49jiipmp3j2k3")))) + (build-system python-build-system) + (native-inputs + (list python-cython + python-pytest)) + (inputs + (list python + python-murmurhash3)) + (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/murmurhash") + (synopsis "Cython bindings for MurmurHash2") + (description + "Cython bindings for MurmurHash2.") + (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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKAAfQACgkQ6cWi2QiY oC8x6wf/Sn7KbM15aEvHeVOoufbv+ZvqzmKViHtPWZaR4pkplVJKP/ROZ1L9qEXh sPjXQNnpVaewnxtrrK1Wugt0yGRsZDFsKFpHiic8b0yF/35esZ1Yhl172T9ycjiU MS2V6D/rX8q+g/QliN9Q0pSwnwe0cL6+x8l9puz+Fcj7nwoWA9XP7Gjst4IG8dHy +3mJ9ZQbYZR4j0oOHr0+crfqqoU0ZubbCKdr1r/M1TvdCrB2xs0d7rSajzyFd5ha C2ps1Rr1DD0pQnsjgEL1ZAtdzJn0z6SsBCYOdlAjaqjsmD7+LP9CVYVgxKSESEd2 M0+TkrFghgrwbT7Ib3a7EOQNLSgCEQ== =irWA -----END PGP SIGNATURE----- --==-=-=--