GNU bug report logs - #55409
[PATCH] gnu: Add python-murmurhash3

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>; Keywords: patch; dated Sat, 14 May 2022 09:02:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 May 2022 09:01:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 14 05:01:42 2022
Received: from localhost ([127.0.0.1]:45741 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1npnef-0000gS-Fw
	for submit <at> debbugs.gnu.org; Sat, 14 May 2022 05:01:42 -0400
Received: from lists.gnu.org ([209.51.188.17]:43016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <poptsov.artyom@HIDDEN>) id 1npneQ-0000g5-11
 for submit <at> debbugs.gnu.org; Sat, 14 May 2022 05:01:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52768)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1npneP-0007VY-Nq
 for guix-patches@HIDDEN; Sat, 14 May 2022 05:01:25 -0400
Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:33754)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1npneN-0005qK-Qu
 for guix-patches@HIDDEN; Sat, 14 May 2022 05:01:25 -0400
Received: by mail-lj1-x22b.google.com with SMTP id m23so12828638ljc.0
 for <guix-patches@HIDDEN>; Sat, 14 May 2022 02:01:23 -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=W/Q5iT4fW+SfrXXe36wlNf6c7lwzhu6ukhb2UIHwFmQ=;
 b=WNC7qDPuLak1xzfJHDBzAzUFplHy5AgqBRp8GNPLOvwILIAkLS4+n0zYPfmdVroT13
 13tWRVGxDyFEiX5Gy+wyra2N/SdkT52cS5Sxyp9hQlMXdCP0Jv5e9ZHI4gqMZsQ4PW2G
 wOcMPMd8r5IZwM3oFDQP0/cwTdxLdil/JxeeR6V+n2Js0CS8MmZeKqzWyYF/eAXNafIb
 tr7z8xf6VIWt3u9Ok1WtmJI6iG4V2+34otWR2JZqZ/x2pMAyZkHEXZL8tCA9qBhicLYc
 HUPlU2PTB+oMKKh6snGiDm8LCByzRSz9OQUTDxUEGlNyoUHbakKO8sHqM0CyhOdgDxbg
 2mnA==
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=W/Q5iT4fW+SfrXXe36wlNf6c7lwzhu6ukhb2UIHwFmQ=;
 b=g/qufsGf0WO4DYSGnSlkIgsvVCgnasM16t8GNX0LFJDc6uwqUnyUTE9oFkBmVlNFyq
 iO8q71mOueej6RFzbXTTSW3n3TxswfCu9elFVJXxzDBdMdvYA6ANP/cVTk6enC8tA6cZ
 dn3+chs/8VHB+ecnG//ZxNCfV57EhSxA36y4UE3fIiA9kCgiku75yCSbq57qgNxVajBN
 ND/PrHph7l/Du+VtDXg9u7GBn/nwFB5/KEs3jWHlQ9PyRsOLCbEWK5yudh3eh5jNd50C
 z68vBwMZKTIsezHySK25gCG6MS0B9XLPJCIhug0bok43cVC65nvtR0lmdFpTRF5SrEng
 h+cw==
X-Gm-Message-State: AOAM533dq+f6bLQ9JQouEvCOY1ZNcofv5J9+fv8r7Q6JBxdNIoKF14T0
 dAgXV9PzGs+SQy7X+C/rz9Q40d7OUAE=
X-Google-Smtp-Source: ABdhPJxBK/8Mhs988Ouw7ibhiegYS1TjYkad/Je6T1I6YHNwd2zETnaKuMQ+7Dx0lPcrJ/C7hel2nw==
X-Received: by 2002:a2e:980a:0:b0:24f:37c0:7ad9 with SMTP id
 a10-20020a2e980a000000b0024f37c07ad9mr5447491ljj.262.1652518881222; 
 Sat, 14 May 2022 02:01:21 -0700 (PDT)
Received: from elephant ([5.164.192.222]) by smtp.gmail.com with ESMTPSA id
 t6-20020a056512208600b0047255d211f8sm643689lfr.295.2022.05.14.02.01.20
 for <guix-patches@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 14 May 2022 02:01:20 -0700 (PDT)
From: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add python-murmurhash3
Date: Sat, 14 May 2022 12:01:15 +0300
Message-ID: <87bkw07ajo.fsf@HIDDEN>
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::22b;
 envelope-from=poptsov.artyom@HIDDEN; helo=mail-lj1-x22b.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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

Hello,

this patch adds a python module murmurhash3[1] under the name
'python-murmurhash3'.

- Artyom

1: https://pypi.org/project/murmurhash3/

--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename=0001-gnu-Add-python-murmurhash3.patch
Content-Transfer-Encoding: quoted-printable

From=20694a99cd88fa88c0bf420f9e6dd755187c91d037 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
Date: Sat, 14 May 2022 11:59:07 +0300
Subject: [PATCH] gnu: Add python-murmurhash3

* gnu/packages/python-xyz.scm (python-murmurhash3): New variable.
=2D--
 gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 020f078dee..94eedcb221 100644
=2D-- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -121,6 +121,7 @@
 ;;; Copyright =C2=A9 2022 Peter Polidoro <peter@HIDDEN>
 ;;; Copyright =C2=A9 2022 Wamm K. D. <jaft.r@HIDDEN>
 ;;; Copyright =C2=A9 2022 Jai Vetrivelan <jaivetrivelan@HIDDEN>
+;;; Copyright =C2=A9 2022 Artyom V. Poptsov <poptsov.artyom@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31150,3 +31151,45 @@ 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-murmurhash3
+  (package
+  (name "python-murmurhash3")
+  (version "2.3.5")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (pypi-uri "murmurhash3" version))
+     (sha256
+      (base32 "1gdzys1212dx70byz07ipknbw1awbqskh6aznlkm85js8b8qfczm"))))
+  (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/veegee/mmh3")
+  (synopsis "Python wrapper for MurmurHash (MurmurHash3)")
+  (description
+   "@code{murmurhash3} is a Python library for MurmurHash (MurmurHash3), a=
 set
+of fast and robust hash functions.  This library is a Python extension mod=
ule
+written in C.")
+  (license license:public-domain)))
=2D-=20
2.25.1


--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


=2D-=20
Artyom "avp" Poptsov <poptsov.artyom@HIDDEN>
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-----

iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmJ/b9sACgkQ6cWi2QiY
oC9Ojwf5ASIPA/EDjOBGYbfASdRavZcnxRiAaX7rZ0fDIzoE8ndbCXZek1lxvi6y
eRnUXOlNd9dVsVGrG61ZW+aSiCjEDra+17WcZh9yaLJ1lpRLrsMQ/1dQ6j35dNUf
vmTsrPPJA4Ea9HBY0VzNWtUWClOXJcnPlVxdWDN9B5VXTM190cvkGgEJAw6IdmxE
aphQlyTcCA8/j3ltDMVJg3F5CUpXo2DEiL/Fq+/Ifqn9uIip0fKbYqkQYh+vSCzm
CB//ig+stNYSCdnEJima/21Y+6ZR7RqJ+Z129tS/aueprlkBY5mFxsEEnNpRlykL
b9qRo6oG94oiiewq8mD8a5JCt3Ye4w==
=X1pm
-----END PGP SIGNATURE-----
--==-=-=--




Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#55409; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 14 May 2022 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.